SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

BAPI_BUPA_CREATE_FROM_DATA



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> SD
View previous topic :: View next topic  
Author Message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1639

PostPosted: Thu Sep 20, 2007 10:40 am    Post subject: BAPI_BUPA_CREATE_FROM_DATA Reply with quote

BAPI_BUPA_CREATE_FROM_DATA - SAP BP, BAPI: Create Business Partner

Functionality
You use this function module to create a business partner, whereby you can also create an address with related communication types.

The data entered in the interface is checked for consistency and for Customizing settings.

If this check reveals in one or more errors, the errors are logged in the RETURN table, and the business partner is not created.

Code:
data: t_bp like BAPIBUS1006_CENTRAL,
rif like BAPIBUS1006_HEAD-BPARTNER,
t_bp2 like BAPIBUS1006_HEAD,
t_bp3 like BAPIBUS1006_ADDRESS.

t_bp-PARTNERLANGUAGEISO = 'ES'.
t_bp-SEARCHTERM1 = '17259765'.
t_bp2-PARTN_GRP = 'GPIN'.
t_bp2-PARTNROLE = '000000'.
* t_bp2-GROUPTYPE = '0001'.
t_bp3-STREET = 'calle 23'.
t_bp3-CITY = 'barquisimeto'.
t_bp3-COUNTRY = 'VE'.
t_bp3-REGION = 'LAR'.

clear rif.

CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
EXPORTING
* BUSINESSPARTNEREXTERN =
PARTNERCATEGORY = '1'
PARTNERGROUP = t_bp2
CENTRALDATA = t_bp
* CENTRALDATAPERSON =
* CENTRALDATAORGANIZATION =
* CENTRALDATAGROUP = t_bp2
ADDRESSDATA = t_bp3
* DUPLICATE_MESSAGE_TYPE =
* ACCEPT_ERROR = ' '
IMPORTING
BUSINESSPARTNER = rif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> SD All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.