cancel
Showing results for 
Search instead for 
Did you mean: 

product guid from header guid?

surekha_rao
Participant
0 Kudos

Hi,

How to get the product guid from header guid?

Thanks in advance,

Cheers'

Surekha.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sureka,

Use FM CRM_ORDER_READ by passing HEADER GUID to IT_HEADER_GUID as input parameter and then you can obtain PRODUCT GUIDs associated to that Order from the output structure ET_ORDERADM_I.

Hope this helps you.

Siva

Reward if this helps you.

Former Member
0 Kudos

Hi Sureka,

Instead of IT_ITEM_GUID pass IT_HEADER_GUID as input parameter and then you collect product guid in table type field ET_ORDERADM_I-PRODUCT.

Best Regards,

Pratik Patel

<b>Reward with Points!</b>

surekha_rao
Participant
0 Kudos

Hi,

If I pass header guid, am getting only header related details...i.e. I have got et_orderadm_h and not et_orderadm_i...Any FM to get item_guid from header_guid.So that I can pass that...

Former Member
0 Kudos

Hi Surekha,

Actually once you read the Order using CRM_ORDER_READ

you will get the ORDERADM_I tables which will give u all the item guids associated to that Order.

It you are not getting any ORDERADM_I values means the header guid doesnt have items. U will get the ET_ORDERADM_I directly if header has items.

Please check

Siva

<b>Reward points if its helps</b>

former_member184067
Active Contributor
0 Kudos

hi Surekha,

i think Shivakumar answer is right

you can get it through function modul 'CRM_ORDER_READ' by passing document guid.

in out parameter, you can get product guid in ET_ORDERADM_I field PRODUCT.

hopes it helps

eddhie