cancel
Showing results for 
Search instead for 
Did you mean: 

get purch_group id from function 'BBP_PD_PO_GETDETAIL'

Former Member
0 Kudos

Hello,

i want to retrieve the purchasing group id .

For that, i am calling the function ' BBP_PD_PO_GETDETAIL' and using table result  E_ORGDATA and retrieving the purch_gp from field  PROC_GROUP_ID.

But, i noticed that sometimes table E_ORGDATA is empty.

Do anyone has an idea about the root cause of this issue?

thanks,

Meriem.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello all,

thank you for your help.

Issue was resolved.

It was my mistake.

thanks,

Meriem.

former_member228602
Contributor
0 Kudos

Hello Meriem,

          Generally in SRM the FM's will not return data due to variety of reason of inconsistent/incorrect use of flags for the GET function modules. If your intention is to only get the Purchasing Group i suggest you can select the content from the view BBP_PDVIEW_ORG

with

GUID_HI - Header Guid of O

OBJTYPE_HI - 05 for PO header

The get details also read from here and used for cross reference.

Thanks and Regards,

Veera

former_member190689
Contributor
0 Kudos

Hello Meriem ,

Check in PPOSA_BBP , are there any Purchaser group assigned to vacant or blank.

Thanks

Gaurav Gautam

ivy_li
Active Contributor
0 Kudos

Hi Meriem,

If you make sure that PO has correct organization data, I suggest you debug the FM to see why this table is empty. It is difficult to guess the reason this without an problematic PO.

You may set breakpoint at

/SAPSRM/CL_PDO_BORF_WRAPPER

GET_HEADER_ORG_DATA

Best regards,

Ivy