Quantcast
Channel: SCN: Message List - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 2464 articles
Browse latest View live

Re: SUM error (EHP6) KX_CHANGE_PUPG

$
0
0

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

In the phase KX_CHANGE_KRNPATH_PUPG

The new value for the DIR_EXECUTABLE was assigned. But incredible the log say SUCESSFULLY, but its wrong.

3 ETQ399 Retrieved profile value 'DIR_EXECUTABLE' as 'E:\usr\sap\\DVEBMGS00\exe'.

 

Looks like the process of sappfpar corrupted the process in the file *.PPR  with a symbol ASCII . Is required to make a validation of the profile path. The wrong value is storage is in some place in the memory. Please your help to change the wrong value.

 

### BEGIN Phase MAIN_PROFEND/KX_CHANGE_KRNPATH_PUPG

205_"E:\\usr\\sap\\\\DVEBMGS00\\exe" is the new kernel directory:oV    HERES BEGIN the trouble

 

 

3 ETQ399 Arg[0] = 'GETNEWKERNPATH'

3 ETQ399 Calling sappfpar.exe in 'E:\usr\sap\QE6\SUM\abap\exe' with profile 'E:\usr\sap\QE6\SYS\profile\QE6_DVEBMGS00_XXXQASEHP' to retrieve profile parameters.

3 ETQ399 20130627145547: PID 54540 execute 'E:\usr\sap\QE6\SUM\abap\exe\sappfpar.exe all pf=E:\usr\sap\QE6\SYS\profile\QE6_DVEBMGS00_XXXQASEHP' , output written to 'E:\usr\sap\QE6\SUM\abap\log\QE6_DVEBMGS00_XXXQASEHP.PPR'.

3 ETQ399 20130627145547: PID 54540 exited with status 0

3 ETQ399 Reading profile parameters from 'E:\usr\sap\QE6\SUM\abap\log\QE6_DVEBMGS00_XXXQASEHP.PPR'.

3 ETQ399 Retrieved profile value 'DIR_EXECUTABLE' as 'E:\usr\sap\\DVEBMGS00\exe'.

1 ETQ207 Executing post-phase DB specific actions.

4 ETQ010 Date & Time: 20130627145547 

1 ETQ202 Upgrade phase "KX_CHANGE_KRNPATH_PUPG" completed sucessfully ("20130627145547")

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =


Disabled dates and hours in VT02N

$
0
0

Hello guys!!!

 

     I would like to know if there is a possibility to disable the dates and hours in Execution part of the VT02N, for example fields VTTK-DTDIS and VTTK-UZDIS. The idea is when the button is pressed the fields of dates and hours must take the current date and hour and not allow further modifications. Would like to know if is there a configuration i can use or i should take the ABAP path in this case?

 

     Thanks in advanced.

Is there a way to pass earmaked fund to incoming_invoice_create?

$
0
0

I need to inform earmarked fund to incoming_invoice_create. Can not see a glaccount table field to pass this parameter. Could you guys please help me?

Re: Enhancement implementation and Composite Enhancement implementation

$
0
0

An "Enhancement Implementation" can only contain one type of "Enhancement Implementation Element" (for example, only Interface Enhancements, or Enhancement Point/Sections). Therefore, for a project where you must implement enhancements to both an Enhancement Point, and a Function Module Interface, you cannot group them in the same Enhancement Implementation. Instead, you must create two separate Enhancement Implementations, and in turn group those in a "Composite Enhancement Implementaion".

Create new functionality where there is none

$
0
0

Hello,

 

I must add a new functionality to transaction EG30. I found the user exists but it seems that none of them help me.

 

Is there any way that i could add some sort of a trigger on a transaction (something like: on finish of eg30 do that) ?

 

Thank you.

Re: Additional Data C tab  in VA01/VA02/VA03 & VA11/VA12/VA13

$
0
0

Hi Shravani,

 

Can you please let me know what are the steps to create a custom screen in SAPMV45A and also what are the configuration level pre-requisites, if any? Actually I am now having quite a asimilar requirement for my client.

 

I can add a custom button in Addl Data B tab.

 

With Regards,

 

Ritwik

Re: Additional Data C tab  in VA01/VA02/VA03 & VA11/VA12/VA13

$
0
0

Hi Ritwik,

 

You can see there will is wiki on this how to add.Please check once.

 

Regards,

Madhu.

Re: Additional Data C tab  in VA01/VA02/VA03 & VA11/VA12/VA13

$
0
0

Hi Ritwik,

 

If you want to add the new custom screen by adding button, create new screen in program  SAPMV45A.

 

On Use Command in Screen of 8459 for (Item level) or 8309 ( Header level) call the custom screen created.

 

For adding the new fields to this custom screen , first add the fields in standard tables ( using append structure) similar to Additional Data A & B .

 

Please check below link to add Additional Tabs A & B

http://www.****************/Tutorials/ExitsBADIs/VF01/Index.htm

 

I do not think there is any setting required. Let me know if you face any issues.

 

Regards,

SK


Re: How to add custom tab for sale order at item level?

$
0
0

Hi Ravi,

 

my recommandation is to use the additional data tab 1 (dynpro 4459) or 2 (dynpro 8459) for adding customer field for the sales document. I have never add an additional tab, I have to admit, but it seems very tricky. I was able to check on one of the system where I usually develop and I saw there is an implementation of the BADI_SD_TAB_CUST_I for the additional tab. To be able to edit this BADI you need to be SAP certified partner.

 

Moreover there are quite a lot of customizing setting from what I have also seen - here check the configuration in the transaction VFBS and the function module SCREEN_SEQUENCE_CONTROL.

For additional data for item level I have seen that the module pool SAPMV45B is queried for these settings.

 

Best regards!

Florin

Re: Issue with CRM_STATUS_CHANGE_EXTERN - Not updating user status immediately

$
0
0

After call of CRM_STATUS_CHANGE_EXTERN you need to call BAPI_TRANSACTION_COMMIT.

 

callfunction'CRM_STATUS_CHANGE_EXTERN'

    exporting

        objnr               = iv_guid

        user_status         = iv_status

    exceptions

        OBJECT_NOT_FOUND    =1

        STATUS_INCONSISTENT =2

        STATUS_NOT_ALLOWED  =3

        OTHERS              =4

.

if(sy-subrc=0).

    callfunction'BAPI_TRANSACTION_COMMIT'

        exporting

            wait  =ABAP_TRUE

    .

else.

    "!+ Handle error

endif.

 

Best regards,

Tomas.


Checking my Understanding on Switches, Packages, and Enhancement Implementations

$
0
0

Hi All,

 

I'm in the middle of an upgrade from ECC5 to ECC6 (EhP2) and I'm studying up on the "new" Enhancement Framework. I don't currently have access to a sandbox or prototype ECC6 environment, so I can't experiment as I usually would. There's a specific complication I see in my employer's envoronment and I wanted to check with the community to see if I understand the consequences right.

 

For the past 10 years we've been doing all of our custom development in just a couple different packages (one for each transport path). This concerns me because as I understand it we won't be able to use switches for any enhancements we create (if we did, the switch would apply to all of our enhancements). From what i've read, switches are the only way to deactivate enhancement implementations. Going into it, I expected there to be an "Enhancement is Active" flag similar to what BAdIs have. We currently get a lot of use out of the BAdI deactivation function when debugging issues, and I'm a little scared to go without it for other enhancements. Am I correct that there is no way other than using a switch to "Deactivate" an Enhancement Implementation? Or is there any way to apply a switch to a subset of the objects in a package?

 

Thanks,

Alex

Re: SMS triggering after sales order creation

$
0
0

Hi,

1. Very first step is to get the URL from your service provider.

2. Set the configuration in SCOT.

3. Write code in User Exit to send the SMS.

 

I Past here the configuration step in SCOT.

I shall update later the code as well.

 

SCOT

You must create and configure an HTTP node. To do this, you:

i. Ensure you are in the Node view.

ii. Choose Node  Create.

      A wizard then guides you through the creation procedure.

iii.   Enter a node name and description.

iv.   Select HTTP Node.

v.   Enter the URL specified by the provider and tested previously. Use the pushbuttons for assistance entering the parameters.

vi.   Enter your confidential provider password, if applicable.

vii.  Enter the values supplied by your provider. If the provider has not supplied any values, try 160 for Maximum Length and leave Character Set and Code as default.

Enter the texts supplied by your provider for messages upon successful transfer and error in transfer.

Enter the address area for which this HTTP node is to be responsible. This is generally *.

Specify the maximum waiting time for the repeat send procedure in the event of errors.

Select Node is ready for use.

Child age validation on HRBEN0001

$
0
0

Hi Guru's,

 

We want add  validation on Child age - HRBEN0001 t code.

On click of offer plan and  from plan when 'Dependent child'(BPLAN - DPCH) is selected and when try to open the coverage plan ,if child age is greater then 26 then it should display error message.Our SAP system with enhancement package EHP4.

Please let me know any user exit or badi or any enhancement available or how to do it .

Its urgent

 

Moderator message - What is urgent for you, may not be urgent for other members. Please read the forum Rules of Engagement before posting!

 

Message was edited by: Suhas Saha

call XK02 user-exit before entering vendor

$
0
0

Dear Experts,

 

is there any user-exit or enhancement, where i can check something before entering vendor (after starting transaction XK02 and input vendor number)? Before saving is too late, i need one before entering. Or is there any other possibilty to check the several checkboxes in the starting dynpro of XK02, for example Payment transaction or Sccounting info...

 

Thanks for each idea!

BR

Re: Enhancement in Tcode-QA32 , Program-RQEEAL10


Re: Add field in QA32 ALV

$
0
0

Hi Sakar,

 

1. Append the structure qals_d02 in se11 with the field you want to display..

2. Append the same field in QALS table in se11. (to save you from dump on running QA32)

 

(e.g. you want to add material group matkl in the alv of QA32. go to se11, append 'zzmatkl' in the qals_d02 structure, then goto se11 again and append 'zzmatkl' in QALS table. activate both. )

 

3. in subroutine CALL_LISTVIEWER_F14 , implement an implicit enhancement with the code at the beginning to modify object_tab internal table which displays data. Activate the enhancement.

 

(e.g.

 

ENHANCEMENT ZPP_MAT_GRP_1.    "active version

*

   DATA: lv_matkl TYPE matkl.

 

   IF SY-TCODE EQ 'QA33' OR SY-TCODE EQ 'QA32'.

     LOOP AT OBJECT_TAB INTO object_tab.

       SELECT SINGLE matkl FROM mara INTO lv_matkl WHERE matnr = object_tab-matnr.

         object_tab-zzmatkl = lv_matkl.

         MODIFY object_tab FROM object_tab TRANSPORTING zzmatkl .

     ENDLOOP.

ENDIF.

ENDENHANCEMENT.

 

)

 

4. in subroutine aktualisieren_f14 , also implement the same code as implicit enhancement just before statement ENDFORM. Activate the enhancement.

 

Done....

 

Run QA32 :

 

in alv, select the desired field from layout option(in our case: material group). save the layout as per your need.

Re: access key issue in explicite enhancement - share your experience

$
0
0

Hi All,

 

Creation of enhancement point is useful in cases for example you are an SAP Partner who creates SAP Add-ons and sell it. Now the SAP Customer who buys the add-on from you can use the enhancement points provided by you in the add-on program to include the customer's own logic.Simple as that.

 

So if you're not somebody who creates add-on programs or one who doesn't work in SAP Product development, forget about creating enhancement points. Your role is then limited to implementing enhancement points provided in the programs.

 

Cheers,

Mahesh

Re: call XK02 user-exit before entering vendor

$
0
0

Hi

 

If BTE 00001421 doesn't work for your requirements, I believe you'd need to do it with implicit enhancement in a PERFORM during the PAI for this screen.

 

I hope this helps you

 

Regards

 

Eduardo

Re: call XK02 user-exit before entering vendor

$
0
0

I don't know any such exit/BAdI, you may have to look for an implicit enhancement in one of the PAI modules.

 

Else you could manage method IF_EX_VENDOR_ADD_DATA~CHECK_ALL_DATA of BAdI VENDOR_ADD_DATA or one of the old customer-exits.

 

Regards,

Raymond

Re: call XK02 user-exit before entering vendor

$
0
0

Hi,

 

We had a similar requirement and did this with a development in an implicit enhancement in include

MF02KI00 - main program SAPMF02K

 

Regards

Ankit

Viewing all 2464 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>