on 01-20-2008 2:10 PM
HI Guys
Could you please explain how to get BP number (sold-to-party) from contract header table. we are doing some development in ABAP, as i would like to know the logic for this to get right BP from it.
full points would be awarded for quick solution
thank you
shankar
Hi Shankar,
All the partner details of contract will be stored in DB table CRMD_PARTNER, you can use following query to find out sold to party:
SELECT partner_no
fFROM crmd_partner
INTO ls_bpguid
WHERE guid = <contractheader_guid> AND
partner_fct = '00000001'.
By using BP guid get BP number from BUT000 or use FM :BAPI_BUPA_GET_NUMBERS
hope this will help.
Regards,
Arjun
Pl do reward points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use the function module BAPI_BUSPROCESSND_GETDETAILMUL
CALL FUNCTION 'BAPI_BUSPROCESSND_GETDETAILMUL'
TABLES
guid = lt_msg_guid
partner = lt_partner
return = lt_return.
lt_msg_guid is the list of guid ,
lt_partner is list of partner
-
the table of lt_partner is TABLE OF bapibus20001_partner_dis,
in the lt_partner , choose partner function with the id
'00000001'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.