cancel
Showing results for 
Search instead for 
Did you mean: 

Company code Change

Former Member
0 Kudos

Hi All.

I created a custom company code field in CI_BBP_ITEM_SC structure in

the service cart.

Right now I am defaulting this with the value from Original Company Code in the

"Default setting for items" Extended Details".

Requirement:

So when the user changes the custom field then the Original company code also should change to the value as in custom field.

Please let me know how to do this.

Thanks in Advance,

Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Sorry wrong message

Message was edited by:

SCM Supply Chain Management

Former Member
0 Kudos

Hi

Which SRM version are you using ?

In this case you need to implement the BADI (Business - AddIn) using SE18 Transaction.Take help of ABAP person here.

<u>The BADI which will help in this case is</u>

<u><b>BBP_DOC_CHANGE_BADI</b></u> (P.S. Read the relevant standard SAP documentation as a reference)

<b>You can find some related sample coding in SRM BADI Repository.</b>

https://wiki.sdn.sap.com/wiki/display/SRM/SRMBADIRepository

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Hi Atul,

I am using that BADI - BBP_DOC_CHANGE_BADI but couldnt get it.

We are on version BBPCRM 4.0.

Regards,

Kumar

Former Member
0 Kudos

Hi

Do you mean BBP_DOC_CHANGE_BADI is not available in the system using SE18 Transaction ?

If yes, then you can go for BBP_ITEM_CHANGE_BADI / BBP_APPEND_ITEM BADI ?

What custom field names are you using here ?

Please paste your code in the next reply. Seems like problem with your code.

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Hi Atul,

We do have BBP_DOC_CHANGE_BADI in our system.

I guess the problem with the code.

The custom field name is ZCOCODE in structure CI_BBP_ITEM_SC.

This custom field was for the service cart.

Method if_ex_bbp_doc_change_badi~bbp_sc_change.

Sent the code to ur email: atulkant.srm@gmail.com.

Thanks,

Kumar