cancel
Showing results for 
Search instead for 
Did you mean: 

How SRM decides confirmation transfer via RFC/IDoc?

Former Member
0 Kudos

Hi Experts,

I created single PO for both Goods and Service items in SRM ECS. I cannot confirm both PRODUCT_TYPE items (01 and 02) together in one document, can only be confirmed separately.

To create confirmation, SRM takes PO data from ECC, not from SRM (I guess its standard behavior), so I would like to know which FM separates and groups the Goods and Service items when we are inside CREATE CONFIRMATION page and we will find either Goods OR Service items?

Once confirmation is created, somewhere in the call stack starting from BBP_PD_CONF_TRANSFER, the field I_BE_OBJECT_TYPE gains value BUS2017 if its a Goods confirmation and BUS2091 for Service. According to this system creates IDoc for Goods and transfers confirmation via RFC for Service items.

Thanks!

Regards

Karthik

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

please, check this message:

Re: Know if a GR is created from SRM or ECC

Regards.

Laurent.

Former Member
0 Kudos

Thanks Laurent.

I am trying to understand the below.

I SAVED a Goods confirmation in SRM, I can find value BUS2017 at Header level, hence if I hit confirm then it will be transferred to ECC via IDoc. So confirmation transfer via IDoc or RFC is decided when system taking PO lines from ECC for confirmation.

So I would like to know which FM is taking PO lines from ECC for confirmation, also organizes the lines as Goods and Services separately?

Thanks!

Regards

Karthik

Answers (1)

Answers (1)

wendy_xu
Active Participant
0 Kudos

Hi Karthik,

The key function module here is BBP_PD_CONF_TRANSFER_V2 which gets called in a update task during the transfer.

If you go into this FM as below, you'll find where the system separates GR and SES.


FM BBP_PD_CONF_TRANSFER_V2

FM BBP_PROCDOC_TRANSFER

Form procdoc_transfer

Form transfer_grse

CASE i_be_object_type.

...
   
WHEN c_b_se.

...

    WHEN c_b_gr.


Hope this could help you with your query.

Regards,
Wendy

Former Member
0 Kudos

Thanks Wendy for your analysis.

SRM gets PO lines for open qty from ECC using FM BAPI_PO_GETDETAIL. I want to know what supplies values for c_b_se, c_b_gr as BUS2091, BUS2017 respectively.

Regards

Karthik