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

Enhancement or user-exits for VK11 and VK12

$
0
0

Hello Friends,

 

My requirement is to implement user-exit or Badi enhancement for transaction VK11 and VK12 when the user tries to create or change condition record prices.

The exit/enhancement is to throw a warning popup message to the user when he/she choose the key combination i.e., the access sequence is on selecting the key combination.

 

For example to understand the requirement better: PFA the scn help.jpg image.

 

Please let me know your valuable solutions.

 

Thanks & Regards.


Enhancing Cost center master KS01/KS02 screen

$
0
0

Hi Experts,

 

I have a requirement to add one custom field in cost master create/change transaction as shown below.

 

KS01_ENH1.png

for achieving this, I have checked standard program various screen and found that there is no sub screen provided where I can attach my custom fields.

 

please suggest me any alternative or in case any SAP provided exit is available for this.

 

Thanks & Regards,

Jagesh

Re: Enhancing Cost center master KS01/KS02 screen

$
0
0

Look again there is no customer subscreen in those subscreens, but there is an available tab to display your own subscreen (SMOD/CMOD with Enhancement COOMKS01) You could also find it with SE80 displaying the package of the transaction.

 

Regards;

Raymond

BAdI ME_COMMTMNT_PO_REL_C was activated and commitment is not working

$
0
0

Hello All:

We are implementing PS and we found out that there is a BAdI we can activate in order to avoid Purchases Orders changing the Commitment calculations.

 

We activated it and implement the changes on the ABAP to increase commitment only when PO is released. The implementation works, but only for the Projects generated before the activation, for the new Projects generated after the activation no AC Commitment Documents were generated; therefore, Commitment is not being controlled.

 

We have applied several notes regarding not Commitment generating like the following note but we have not made it work. Note 47992 - No commitment is displayed in reporting

 

Could anyone help us on this?

 

Thank you very much.

Re: Error while creating a overwrite method in class

$
0
0

Hi Rosen,

 

PFA image.

 

I have faced the same issue while creating a overwrite-exit, i fixed that by using your inputs and i added enhancement code in it .Here one more problem i am facing  while activating the method.

Saying my enhancement name( ZSET_FOCUS_VIEW_ID) TYPE is unknown.Could you please look into this and help me out.

 

 

Error.PNG

 

 

Regards,

Anand.

Re: While Posting MIGO Getting error

$
0
0

Hi Srinivasan ,

 

The ST22 Short dump because of Duplicate number Insertion .

So please check the number ranges of Material document ..!

Re: Enhancing Cost center master KS01/KS02 screen

$
0
0

Hi Raymond,

 

you are correct, I tried my best for this but could not get desire one.

at last I used the SAP given customer exit COOMKS01 and have added the additional fields and it is working fine.

 

Thank you,

 

Regards,

Jagesh

User exit for WBS search

$
0
0

Dear all,

 

I am now writing a program exit for WBS searching. My scenario is that when user click the searching help button in transaction CJI3, the exit will be called to filter out some WBS from the result set according to the authorization of the user.

 

I have searched some the forum and find some information about the user exits. I have created a user exit with reference from SAP function VS_HP_POSID_EDIT_SEARCH and filter the result successfully.

I face a problem that how can I return the user choose item back to the screen.

 

My coding for return is as below

 

  ELSEIF callcontrol-step = 'RETURN'.

CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
EXPORTING
parameter         = 'POSID'
TABLES
shlp_tab         
= shlp_tab
record_tab       
= record_tab
results_tab      
= results_tab
CHANGING
shlp             
= shlp
callcontrol      
= callcontrol
EXCEPTIONS
parameter_unknown
= 1
OTHERS            = 2.

READ TABLE results_tab INDEX 1.
SET PARAMETER ID 'PRO' FIELD results_tab.

 

I find that ‘set parameter ID‘ seems not work in my user exit. Do anyone have any ideas?

 

Many thanks for your help!

Thanks

Sunny


Programatically finding all related objects for an Enhancement spot

$
0
0

Given an BAdI Enhancement Spot, I would like to be able to find all of the associated BAdI elements, classes, interfaces and Ehnancement Implementations, programatically. i.e. by use of a call to a class method or function module.

 

Iv'e spent a bit of time debugging and analysing what the SAP standard code does when you click on an Enhancement Spot in SE84, but have yet to find one class or method that would do what I want; seems there's a lot of complicated stuff going on under the hood.

 

Much obliged if somebody could help me with this!

Re: MIRO - User Exit during SAVE: Read items & Update header

$
0
0

Do someone Know how can I change the field ZUONR and BKTXT that are placed on the "Details field" in tx MIRO????

 

I´m trying to avoid the use of a BAPI for posting Invoces, I'm using a simple LSMW but this field "asignación & header text" I would like to fill it with a user exit.

 

I hope that someone can help me, thanks.

MIRO details

$
0
0

Do someone Know how can I change the field ZUONR and BKTXT that are placed on the "Details field" in tx MIRO???? I´m trying to avoid the use of a BAPI for posting Invoces, I'm using a simple LSMW but those fields "asignación & header text" I would like to fill it with a user exit. I hope that someone can help me, thanks.

Standard MARA field (CUOBF) not showing in MM01/MM02/MM03 after request transport

$
0
0

Hello,

 

I've searched the forum but couldn't find an anwser to my problem.

 

I've added a new field in MM01/02/03 - in this case CUOBF - and it's showing in my development environment.

I've transported the requests to the quality environment but when I go to MM01/02/03 the field doesn't show.

 

Checked that the program name changed in OMT3B, the function group is also created but still no field on MM01/02/03.

 

omt3b_1.png

omt3b_2.png

 

 

Any thoughts?

Thank you!

Display Extra Fields in Administrative section of Header in Appraisal Template

$
0
0

Hi All,

 

We have a requirement to display Employee ID in Administrative section of Appraisal Template in Header.

 

We implemented BADI HRHAP00_ADD_HEADER but data is displaying only when user clicks on INFO link. But we want to display fields in Administrative section in Header itself.

 

Please let me know how to add that field.

 

Thanks,

Ravi.

Re: Standard MARA field (CUOBF) not showing in MM01/MM02/MM03 after request transport

Re: MIRO details


Re: Standard MARA field (CUOBF) not showing in MM01/MM02/MM03 after request transport

$
0
0

I've gone through that note and several others but to no success.

 

Checked the tables and they all have the same entries in dev and quality.

 

Debugged the program and the field is there when creating the screen but it just doesn't show.

 

Can't figure out what is it that I'm missing! I'm running out of ideas......

 

TY!

Re: Add field to Billing Plan tab (Item level)

$
0
0

Hello Orit,

 

I also have the same problem, Did you manage to find any solution for this?

 

If there is a solution do let us know.

 

Thanks

Abhishek Jain

Re: tell the code for alv report having checkboxes,pushbuttons,EXIT.

$
0
0

What were you unable to perform (select data or management of buttons/fonction codes on a classical or ALV list?

 

Regards,

Raymond

Re: tell the code for alv report having checkboxes,pushbuttons,EXIT.

$
0
0

Sheesh Raymond -you do like giving yourself work!! 

Implementing ES_BADI_MAT_CUST_SCR_PS

$
0
0

Dear Experts,

 

I need to add a custom tab at the 'material component' level in CJ20N. I went through a lot of posts on SCN regarding implementing 'BADI_MAT_CUST_SCR'.

I did not get the steps properly.

 

As of now, I have done this -

1. Created enhancement implementation of 'ES_BADI_MAT_CUST_SCR_PS'.

2. Implemented 'BADI_MAT_CUST_SCR' and created an implementation class.

 

In the parameters of the method 'GET_SCREEN_DETAILS', I can see 'PRG_NAME' and 'SCR_NUM'.

I created a Z program with a sub-screen. How am I supposed to pass it to this method?

 

Regards,

Sid.

Viewing all 2464 articles
Browse latest View live