cancel
Showing results for 
Search instead for 
Did you mean: 

GR posting clarification

rajesh_rajendran2
Participant
0 Kudos

Hi All,

Can anyone provide me a flow of how the Goods receipt flows from SRM to SAP in a classic scenario? We are in SRM 4.0.

Is there anyway to debug the flow - from Goods receipt in SRM to the point of posting in SAP?

What are the BAPI's/BADI's involved?

In our case all the GR is being created by the RFC user even though the same is entered by the user in SRM. Is this a standard functionality?

Regards,

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Rajesh

In the backend the creater of the goods recipt is the user which runs the batch job.

It seems this is the standard functionality of the system.

See link below to get an overview on the document flow.

http://help.sap.com/saphelp_srm40/helpdata/en/e9/d0fc3729b5db48e10000009b38f842/frameset.htm

Regards

Lauren

rajesh_rajendran2
Participant
0 Kudos

Thanks for the information.

I have given points to both of you for helpful answers.

Regards,

Rajesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rajesh,

GR's are craeted the same way for classic and extended classic.

The general Process by entering a confirmation is following:

EBP confirmation => Idoc is sent to the backend => entry in BBP_DOCUMENT

_TAB created

Clean_reqreq_up runs over the entries in BBP_DOCUMENT_TAB => looks

whether the backend documents are created => if yes, delete the entry

out of the table and update the status and reference of the EBP-document

The report reads the BBP_DOCUMENT_TAB and makes a RFC

(remote function call) per META_GOODSMVT_UPDATECHECK to check the

posting of inbound IDoc

If the IDoc is posted successfully (status 53), the SRM confirmation

receives status I1018 - "Transmit to Backend System".In addition,the

entry is deleted in BBP_DOCUMENT_TAB.

If the case is that the Idoc has not been successfully processed, then

we should have an entry in table BBP_DOCUMENT_TAB for this confirmation.

Please check also note for further information and useful also to

clean the bbp_document_tab table:

338985 BBPCF & IV: incorrect IDocs in backend system

Inorder to check the corresponding inbound IDoc in R/3 which

posted this material document please do the following steps

1) Display the material document number in MB03.

2) After clicking on the Overview button, follow the menu

path "System" -> "Services for object".

3) A small pop-up window appears with some icons on the top.

4) Click on the icon for the "Display relationships" (the icon

that it is normally used for the "Where-used list": a small

square with three arrows going out of it).

In WE19 check what Function module will be used to post the data,

you can see it when you go to 'standard inbound'. Then you can

debug it when you click to the button 'inbound function module',

here enter the function module and click 'call in debugging mode'

and 'in foreground', then press the button 'enter'. Now you are

in the debugger and can check why the error occurs and what

should be filled.

You could use the following BAdIs

BBP_DOC_CHANGE_BADI

BBP_DOC_CHECK_BADI

BBP_DOC_SAVE_BADI

Hope this helps,

Kind Regards,

Matthew