cancel
Showing results for 
Search instead for 
Did you mean: 

Copy 'Confirmation Name' from SRM Confirmation to R/3 Documents

Former Member
0 Kudos

We're using EBP 4.0 with R/3 4.7, ext. classic scenario.

When confirmations are posted in EBP we want the information entered in the 'Confirmation name' field to be copied to the material document 'Header txt' field and to the service entry sheet 'Doc. text' field (for confirmations to service orders).

We can do it for confirmations to standard orders, using an event to trigger a function module to check for the existence of the matl. doc. and update the field (with MB02).

We're stuck on confirmations to service orders, as the transaction available (ML81) does not allow the 'Doc. text' to be changed.

Any ideas please ?

Thanks,

Tim

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I had same requirement and went through many posts on SDN but didnt find a solution. So after some hours of debuggin found following.

This question was asked long back but the information may be helpful for someone like me in future

So ---

·         The Function module      META_SUSCF_SEND is responsible for

1.       Mapping values from SRM (SUS) internal structures to external structures used in back end ECC(R3)  system

2.       Call the driver function(BBP_SOAXML1_SUSCF_SEND) to deliver the SUS confirmation data to ECC(R3) system [ havent gone through this module but assumin it does ]

·         During the process of creating confirmation supplier will enter a custom text in confirmation field

·         In standard scenario the SRM system generated number is available in IS_HEADER-OBJECT_ID and the custom text added by supplier is present in IS_HEADER-REF_DOC_NO.

·         the OBJECT_ID field is taken to back end ECC(R3) system as ‘External Number’ in service entry sheet.

·         Hence by using an implicit enhancement option in function module ‘BBP_DOCUMENT_TO_EXT_MAPV’ transfer IS_HEADER-REF_DOC_NO to IS_HEADER-OBJECT_ID.

·         The enhancement should be restricted to confirmations only so following condition should be checked before data transfer

Ø       IS_HEADER-PROCESS_TYPE = ‘SUCF’ AND IS_HEADER-SUBTYPE = ‘CF’