on 07-27-2005 4:41 PM
Hi all,
Could anyone offer some advice to a struggling graduate who, for his first assignment, has been thorwn in the CRM deep-end...
I'm developing a 'credit report' portal component which allows business partners to view their credit information for a given date range via a portal. The intention is to emmulate transaction FBL5 on R/3.
The best solution i could come up with invoves essentially calling function module 'BAPI_AR_ACC_GETSTATEMENT' (which compiles the line item info for the statement) on R/3 via a function mudule in CRM.
Theoretically, this setup should work, however it requires a customer number / business partner number in order to invoke the Funcion Module on R/3; which is fair enough... however, the only user information available in the portal (from what i know) is the users login ID.
Is there a standard means of deriving the customer number/business partner number using the portal login ID in either the Portal or CRM?
Hi Marisa,
Thanks for your response. The 'BP_CENTRALPERSON_GET' FM could prove useful... Taking this a step furthur, is it possible to retrieve the customer number for a given EV_BU_PARTNER_GUID? (the R/3 kunnr equivilent - 10 character customer identifier)
i.e. For IV_USERNAME say 145736711D1, FM 'BP_CENTRALPERSON_GET' returnes 42CAFC7DB0DE00C7000000000A8C8248 as the EV_BU_PARTNER_GUID value. Unfortunatley this doesnt resemble the customer number (0000000682) im looking for.
Sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
With FM BAPI_BUPA_GET_NUMBERS you can get the numbers.
the number can be the same as in R/3 (kunnr)
depends how you set in chapter <b>Defining Number Assignment Strategy for Business Partners</b>
in file http://help.sap.com/bp_crmv340/BBLibrary/Documentation/B09_BB_ConfigGuide_EN_US.doc
Hi Sergio,
Try using FM 'BP_CENTRALPERSON_GET', with import parameter IV_USERNAME = the name of user. Then you have in EV_BU_PARTNER_GUID the guid of BP.
Regards,
Marisa
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.