Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8735

BAPI_BUPA_GET_NUMBERS not working

$
0
0

I have some troubles trying to get the function BAPI_BUPA_GET_NUMBERS  to work.

 

CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
        IT_HEADER_GUID                    = lt_par_exp
       IMPORTING
        ET_PARTNER                        = lt_pd_imp.


   LOOP AT lt_pd_imp into ls_pd_imp.

       IF ls_pd_imp-ref_partner_fct EQ '00000004'.

         PGUID = ls_pd_imp-bp_partner_guid.

        ENDIF.

CALL FUNCTION 'BAPI_BUPA_GET_NUMBERS'
  EXPORTING

    BUSINESSPARTNERGUID               = pguid

  IMPORTING
    BUSINESSPARTNEROUT                = bpout.

  

endloop.

The function won't give a value to the output parameter bpout. Any ideas ? I think the problem may be related to the datatype of the pguid variable, but i've tried to give it all the possibile dt and it's still not working. note that if, for debut reason, if manually enter as BUSINESSPARTNERGUID a fixed value like '55931CB9BE62D411917408000627B381' the output variable bpout is correctly set.


Viewing all articles
Browse latest Browse all 8735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>