cancel
Showing results for 
Search instead for 
Did you mean: 

FM to be used to set the breakpoint for SHC

Former Member
0 Kudos

Dear Experts,

Can you please let me know which FM to be used to set the breakpoint and debug the dataflow during shopping cart creation.

Thanks and Regards,

Sathya Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to create SHC, then put it on hold.

Then call FM BBP_REQREQ_TRANSFER with SHC number. Then you can debug.

Former Member
0 Kudos

Could you elaborate how are you creating the SC( from PR or directly in SRM). Also which release of SRM are you on?

peter_novoth
Employee
Employee
0 Kudos

Hi,

for starting, please see the following modules:

BBP_PD_SC_CHECK

Makes all checks for the document

BBP_PD_SC_CREATE

Creates the document (to be called before the first UPDATE)

BBP_PD_SC_DB_DELETE

Deletes the document from the database

BBP_PD_SC_GETDETAIL

Reads the document and it's sets

BBP_PD_SC_ITEM_GETDETAIL

Reads an item and it's sets

BBP_PD_SC_GETLIST

Gives back a list of documents

BBP_PD_SC_LOCK

Locks the document

BBP_PD_SC_RESET_BUFFER

Resets all buffers (to be called between SAVE and CREATE/UPDATE of two different documents

BBP_PD_SC_SAVE

Saves the document to the database (in UPDATE TASK) After the call of the Save-FM it is nessecarry to call a

COMMIT to get the data to the database.

BBP_PD_SC_SET_BE_REF

Fills only the Backend-reference fields of the document (not all documents)

BBP_PD_SC_STATUS_CHANGE

Changes the status of the document

BBP_PD_SC_UNLOCK

Unlocks the document

BBP_PD_SC_UPDATE

Makes an update of the document (should be called after user action to check the data and save it in internal tables)

Please let me know when you need more specific breakpoints, and tell aslo what you would like to debug.

Regards,

Peter

Former Member
0 Kudos

Hi Peter,

Thank you for the information given , but the actual issue is that cost centre search data is blank when a user tried to create the shopping cart, however with the same profile another test user has the cost centre search successful.Hence would like to debug the cost centre search and check it during shopping cart creation.Please let me know which specific module needs to be used for find the data flow of cost centre during shopping cart creation.

Best Regards,

Sathya Kumar.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sathya Kumar

In order to compare different behavior when search account category, you can set a BP as below to start.

Main Program SAPLBBP_PDH_ACC

Source code of LBBP_PDH_ACCI03

MODULE f4_search_acc_attr INPUT.

PERFORM f4_search_acc_attr -->here

Regards

Lauren

peter_novoth
Employee
Employee
0 Kudos

Hi Sathya,

please refine what step exactly you would like to debug: some step during the SC creation, or the SC transfer?

Regards,

Peter

laurent_burtaire
Active Contributor
0 Kudos

Hello Sathya,

For SRM 5.0 release and classic scenario, have a look at below wiki:

[Shopping cart transfer|http://wiki.sdn.sap.com/wiki/display/SRM/Shoppingcarttransfer]

Regards.

Laurent.