cancel
Showing results for 
Search instead for 
Did you mean: 

Link PO item and Confirmation item when create the confirmation

0 Kudos

Hello,

we need to check a field PO item when we are creating a new confirmation. Do you know how can we link the PO item to the Confirmation Item that is being created in a BADI BBP_DOC_CHECK_BADI implementation?

Thank you.

Best regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can call BBP_PD_CONF_GETDETAIL in BBP_DOC_CHECK_BADI.

Use the GUID as input parameter for the function module.

You can get all the PO details in the the function module.

Please let me know if this resolved your problem.

Regards,

Zubair.

0 Kudos

Hello Zubair Ahmed,

yes, but in these data we cannot find any field that link the PO item with the Confirmation item that we are creating.

Thank you.

Best regards.

Former Member
0 Kudos

Hi Victoria,

Call the Function Module: BBP_PD_CONF_GETDETAIL.

Pass the confirmation number and you will get the PO Item-GUID in E_ITEM table , SRC_GUID field.

Now pass this SRC_GUID value in FM BBP_PD_PO_ITEM_GETDETAIL.

Here in the table E_ITEM you can get the PO item number in the field NUMBER_INT.

Hope this helps.

Thanks,

Pradeep

0 Kudos

Hello,

the field SRC_GUID is still empty in the BBP_DOC_CHECK_BADI implementation when the confirmation is being created.

Thank you.

Best regards.

Former Member
0 Kudos

Confirmation need to be created first and then related tables will get populated with the values to establish the link (like GUID, PO#, Conf#, etc) .

You may not get the link while the Confirmation is being created. At that point of time PO is still open and confirmation doc yet to be created. You will get the link once you save the Confirmation against a PO.

Regards,

Jagadish

0 Kudos

Hello,

in that case, how does the system link confirmation item and PO item during the confirmation creation? We need to check for every confirmation item if the corresponding PO item has filled a customer field.

Thank you.

Best regards.

Former Member
0 Kudos

You may use DOC_CHECK_BADI to check the customer field validations on the confirmation screen.

Regards,

Jagadish

0 Kudos

Hello,

yes, I am using that BADI, but we need to link the item confirmation that is being created with the corresponding PO item by some field and we cannot find it.

Thank you.

Best regards.