cancel
Showing results for 
Search instead for 
Did you mean: 

HI SRM experts...

Former Member
0 Kudos

Hi all,

We are in SRM 4.0 classic scenario,

i created a custom field in shopping cart and i want to map that custom field to a standard field in R/3,

i have implemented CREATE_PO_BACK_BADI and have populated the custom fields in the CT_PO_EXTENSIONS,

and i have mapped that custom field to a R/3 field using the table BBP_CUFMAP,

but my custom field value is not getting populated in R/3 field..

do i need to do anything else other than this?

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member195032
Active Contributor
0 Kudos

Hi Gerad,

I think,you have picked wrong structure.

Look at parameter in BADI ,IS_CUF_HEADER,IT_CUF_ITEM,IT_CUF_ACC.

There is SAP note for your release ,it is very helpful.

Note 672960 - User-defined fields 2

Note 458591 - User-defined fields: Preparation and use

Regards,Nishant

Give points if this helps

Message was edited by:

Nishant Rajan

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi gerad,

Extending Ramki's comment:

Steps to follow:

1) Go to BBP_FUNCTION_MAP and check for the function module used for your verison of R/3.(it is specific to the version).

2) Copy that function module to a Zfunction Module ex ZB46C_PO_CREATE.

3) enchance the function module with the standard extension under tables:

BAPI_PO_CREATE1

Tables:

extension = po_extensionin

4) Update the table BBP_FUNCTION_MAP with ur Z function module against ur R/3 version.

5) Implement a user exit in R/3 to transfer values from BAPI to PO.

I hope this will help you solve your problems..

Mail me (prabap@gmail.com) if u want more details.

Regards

Rakesh Palle

Former Member
0 Kudos

Hi

<b>We have done similar requirements in our earlier SRM Implementations. As far as I understand, the custom field of the Purchase order in R/3 back-end is not getting populated.

Please ensure that the custom field in the Shopping cart from SRM is getting correctly populated inside the BBP_DOC_CHANGE_BADI and the same values gets transferred to the BBP_CREATE_PO_BACK BADI, before the custom field is mapped to thecorrect structure of the BAPI. Then only you can ensure from SRM the field values are getting transferred from SRM side to the R/3 system.

Then after this, you need to ensure that the BAPI - BAPI_PO_CREATE / BAPI_PO_CREATE1 is mapped correctly.

Also in R/3 system, you need to ensure that you should have a custom sub-screen area of the Purchase Order (ME21 Transaction) at the item / header level and is correctly populated with correct values. This will involve custom R/3 development at R/3 side.</b>

Incase you need more detials, you can share your code and screen shots of the problems where you are facing problems. My email id is atul.kant@gmail.com

I will try to help you out.

Hope this will help.

Please reward suitable points, incase it suits your requirements.

Regards

- Atul

Ramki
Active Contributor
0 Kudos

Hi Gerad Kallen

As Nishant mentioned IT_CUF_ITEM, IS_CUF_HEADER are the ones to be used.

In BBP_FUNCTION_MAP, you will find the interface FM to create PO in the backend depending upon your R/3 version.

e.g. B46C_PO_CREATE (check for BUS2012)

You can check how these are mapped to BAPI.

Best regards

Ramki

Former Member
0 Kudos

I think you need to populate your custom fields in these structures:

BBPS_CUF_ACC

BBPS_CUF_ITEM

Thanks,

Santosh