cancel
Showing results for 
Search instead for 
Did you mean: 

Post PO

Former Member
0 Kudos

Hi,

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.

Thank you

Joe Vellaiparambil

joevellaip@gmail.com

Accepted Solutions (1)

Accepted Solutions (1)

former_member195032
Active Contributor
0 Kudos

Hi Jose,

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.

Best regards,nishant

please reward points if this helps

Message was edited by:

Nishant Rajan

Former Member
0 Kudos

Ho do I enable frint end debugging in SRM

Answers (3)

Answers (3)

former_member195032
Active Contributor
0 Kudos

Yes this is possible.

Please create PO with buyer role & fix a break-point in the BADI.Ask to provide developer role to the buyer id as this will give debugging access to this role.

Set break-point in the backend and this will start debugging in a new session.

regards,nishant

Former Member
0 Kudos

Hi

<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.

Regards

- Atul

Former Member
0 Kudos

Atul,

I create a PO in the portal and want to debug the backend for the BAPI Call.

Is this possible

Jose

former_member195032
Active Contributor
0 Kudos

Hi Jose,

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.

Another way.

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.

regards,nishant

<b>please reward points if this helps</b>