Skip to Content
avatar image
Former Member


Hi, I´m new creating infosets, the transactions and tools as sqvi are new to me but I have some knowledge about the tables in CRM, the thing is that I need I need to know the partner from but000 related to the orders, know I get this design and it retrieves me some data so it´s pefect.



I get all the bp´s related in the orders, the thing is that I want to link CRMD_PARTNER through PARTNER_NO to BUT000-PARTNER_GUID but it marks that something is incorrect, I think the type is not equal but the data related, and the guids makes a perfect mach if I check it manually in se11, is there any way to link the CRMD_PARTNER-PARTNER_NO to the BUT000-PARTNER_GUID. !!?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 01, 2011 at 05:48 AM

    CRMD_PARTNER-PARTNER_NO is of type CRMT_PARTNER_NO that is defined as CHAR 32.

    On other hand BUT000-PARTNER_GUID is of type BU_PARTNER_GUID which is defined as RAW 16.

    On sql you can't make selection id datatypes are not equal. Sou in your case you must make one additional step to convert the guid to correct format. Something like...



    And then ZGUID to select from BUT000.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Robert,

      which section of the infoset do you pass Zguid to select from BUT000..

      will apreciate

  • avatar image
    Former Member
    Aug 15, 2016 at 10:34 AM


    This join IS possible using the SQL HEX command.

    The HEX function returns the hex value of a character string.

    so something like this works.

    select a.partner_no,a.partner_guid,b.partner_guid from sapccd.crmd_partner a,sapccd.but000 b where a.partner_no = hex(b.partner_guid)

    Add comment
    10|10000 characters needed characters exceeded