on 03-24-2009 9:26 AM
Hi,
We are using SRM5.0 classic Scenario, I have tried ME_PROCESS_PO_CUST,BBP_INBOUND_PO_BADI, ECS_PO_BACK BAdis but was not able to replicate/ perform modification to the data passed to the ECC PO.even simple changes to volume field or any other fields are not occuring.
Request you to guide me.
In ME_PROCESS_PO_CUST badi I have written following code under PROCESS_ITEM
ls_mepoitem = im_item->get_data( ).
ls_mepoitem-txz01 = 'Reached'.
im_item->set_data( ls_mepoitem ).
Even this is not working.Pls Guide me.
Thanks,
SV
Hi Swarim,
These BADI will not help in your case as number 2 and 3 below are for Extended classic scenario,please see documentation for these BADI's.
BADI no 1 will be used only if you are using backend R/3 system as posting happens for SRM PO by different route.
1.ME_PROCESS_PO_CUST,
2.BBP_INBOUND_PO_BADI,
3.ECS_PO_BACK
Changing data in SRM system can be one of option and you can explore that using BADI BBP_DOC_CHANGE_BADI,please see documentation for this BADI.
There is another BADI available BBP_ECS_PO_OUT_BADI,which is only used for Extended classic scenario,please see documentaion for this BADI as well.
There is another BADI on SRM side which kicks in before moving data into backend system.
BBP_CREATE_BE_PO_NEW....there are two method in this BADI
1.FILL_PO_INTERFACE- Interface for Purchase Order Creation BAPI_PO_CREATE
2.FILL_PO_INTERFACE1-Interface for Purchase Order Creation BAPI_PO_CREATE1
so use appropriate method based on R/3 release,see documentation for details.
Regards,Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishant,
Thanks for your guidance. I can not use BBP_CREATE_PO_NEW BAdi because the field which I want to update is not available in any of these methods' Structures.
Hence I need to pass these values in some unused field say X and then at the ECC end I need to fetch this value from this field X and assign to the desired field Y.
Please suggest some BAdi and its method at ECC end which can be used.
I can suggest you to use enhancement framework on ECC side and use BAPI
BAPI_PO_CREATE1 and use subroutine PERFORM move_data_in and manipuate data
as per your need.
You can see a standard SAP enhancement implemntation from SAP at the same place.
ENHANCEMENT 1 /NFM/MM_SAPL2012. "active version
/NFM/ processing - C5007732
docu: pre_processing (renumber items)
call function '/NFM/2012_PO_PREPROCESSING'
I hope,this method can solve your issue.
Regards,nishant
Actually posting happen through BAPI so these exits will not work . I am talking about enhancement framework using which you can modify SAP standard BAPI and fulfill your need.
I am asking open BAPI_PO_CREATE1 and modify that using new SAP concept of Enhancement framework in one of subroutine previously mentioned.
Ask some developer,he might help.
Regards,Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.