Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling BAPI_SALESORDER_CREATEFROMDAT1 to create SO

former_member205703
Participant
0 Kudos

Hi,

I am calling the BAPI 'BAPI_SALESORDER_CREATEFROMDAT1' to create the sales order , but i also want to update the data of the append structure created in the table VBAK for the addition fields added in the transaction VA01 through the screen exit. How can i attain this?

Regards

Amol

2 REPLIES 2

Former Member
0 Kudos

Transaction Code - VA01 Create Sales Order

Exit Name Description

SDTRM001 Reschedule schedule lines without a new ATP check

V45A0001 Determine alternative materials for product selection

V45A0002 Predefine sold-to party in sales document

V45A0003 Collector for customer function modulpool MV45A

V45A0004 Copy packing proposal

V45E0001 Update the purchase order from the sales order

V45E0002 Data transfer in procurement elements (PRreq., assembly)

V45L0001 SD component supplier processing (customer enhancements)

V45P0001 SD customer function for cross-company code sales

V45S0001 Update sales document from configuration

V45S0003 MRP-relevance for incomplete configuration

V45S0004 Effectivity type in sales order

V45W0001 SD Service Management: Forward Contract Data to Item

V46H0001 SD Customer functions for resource-related billing

V60F0001 SD Billing plan (customer enhancement) diff. to billing plan

No of Exits: 15

USER EXIT

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sapgenie.com/abap/code/abap26.htm

http://www.sap-img.com/abap/what-is-user-exits.htm

http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

http://www.easymarketplace.de/userexit.php

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sappoint.com/abap/userexit.pdfUser-Exit

http://www.sap-img.com/ab038.htm

http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sap-img.com/abap/what-is-user-exits.htm

http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html

Rewards if useful.........

Minal

gopi_narendra
Active Contributor
0 Kudos

If you are using a version above 4.6B is suggest to use the BAPI BAPI_SALESORDER_CREATEFROMDAT2 since the BAPI which u mentioned is obsolete as of 4.6C.

Coming to the appended structure which have appened in VBAK table. You can make use of the BAPI Extensions which is available in BAPI_SALESORDER_CREATEFROMDAT2 but NOT in BAPI_SALESORDER_CREATEFROMDAT<b>1</b>

Under the BAPI BAPI_SALESORDER_CREATEFROMDAT2 in the tables tab you have a parameter as below

EXTENSIONIN LIKE BAPIPAREX Customer Enhancement for VBAK, VBAP, VBEP

You should be able to extend the BAPI BAPI_SALESORDER_CREATEFROMDAT2 using this extension.

For more help do a search on BAPI extensions in SDN.

Regards

Gopi

Regards

Gopi