Skip to Content
avatar image
Former Member

get purch_group id from function 'BBP_PD_PO_GETDETAIL'

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 13, 2015 at 02:10 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14, 2015 at 05:56 AM

    Hello Meriem ,

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

    Thanks

    Gaurav Gautam

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16, 2015 at 06:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 19, 2015 at 10:45 AM

    Hello all,

    thank you for your help.

    Issue was resolved.

    It was my mistake.

    thanks,

    Meriem.

    Add comment
    10|10000 characters needed characters exceeded