I am new to SRM. Any help is appreciated.
1. How do I debug the PO creation function. It is done from the portal. Is there a corresponding BSP application that I can execute in SAP.
2. The PO is actually created in R3. If I want to pass more values do i have to manipulate the IDOC to add more data.
3. Any guides or documentation that you can send will help too.
PO creation from SRM happen via function module BAPI_POEC_CREATE rather BAPI.
This is a remotely enabled FM.
You can set break-point in this FM and can enable debugging from front end,it can start debuging in SRM Easy access menu.Please take help from Basis on this.
There is no idoc involved in this process.
please reward points if this helps
Message was edited by:
<b>Refer to follwoing OSS notes to add custom fields in SRM system.</b>
Note 672960 - User-defined fields 2
Note 458591 - User-defined fields: Preparation and use
Note 953700 - Customer fields are not mapped in BBP_TARGET_OBJECTS BADI
Note 954135 - Instructions for debugging workflow activities
The fields which you want to add to the Purchase order in back-end involves custom development both at SRM system as well as R/3 system.
Can you please brief, when exactly you want to do PO debugging ?
Hope this will help.
Please rewards suitable points.
Basis has applied one note in my SRM system,I donot have that note details with me,you can find that.
Then for user that you are using,suppose operation purchaser role in my case BUYER99 has given ABAP Developer Roles so that he could see code and he should have authorization to set break point.
Open any object where you want to set up break-point with BUYER99 ID and after opening code go to Utilities->Setting->ABAP Editor->
Make Front End Editor radio button on.
This will start debugging.
Get Operation Purchaser role to an ID
Suppose BUYER99,he should have developer role also as this is needed for debugging.
Go to SE38 in SRM Easy Access Menu.
For PO type transaction code as /nbbp_poc
It will start PO transaction.
The screen will look very bad in looks and you can browse left and right and you can start debugging from here also...you have to be very patient as this is very awkward way to do.
<b>please reward points if this helps</b>