‎2006 Dec 15 1:42 PM
HELLO,
I NEED TO APPEND THREE NEW FIELDS TO TABLE VBAP AN THEN POPULATE THESE FIELDS FROM THE VA01 TRANSACTION,WHERE I HAV CREATED THE FIELDS USING A SCREEN EXIT.
I NEED TO KNOW THE PREDEFINED BAPI FOR THE SAME.KINDLY LET ME KNOW THE PROCESS IN DETAIL FOR THE USUAGE OF BAPI ENHANCEMENTS.
POINTS ASSURED!!!!!!!!THANKING U IN ANTICIPATION.
REGARDS,
SUPRIYA MANIK.
‎2006 Dec 15 1:45 PM
Hi,
I guess you should use BAPI_SALESORDER_CREATEFROMDAT2 and use the 'EXTENSIONIN' structure for your custom fields.
Hope this helps,
Erwan
‎2006 Dec 15 3:01 PM
hi Supriya,
Here is the way to find the standard bapi's for the standard tcode
One way of finding out is..go the main program of that Transaction. Give a find on 'BAPI' and select main program...
It will list out the BAPI's used/called in the transaction.
Other way, is to put a break-point at Command 'BAPI'..and proceed further...
try out...
here is the list of bapi's in SD may be useful for you check the documentation if u need.......
Basic functions -
BAPI_CUSTMATINFO_GETDETAILM
BAPI_CUSTMATINFO_GETLIST
BAPI_INQUIRY_CREATEFROMDATA
BAPI_QUOTATION_CREATEFROMDATA
Sales -
BAPI_SALESORDER_CHANGE
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALESDOCU_CREATEWITHDIA
BAPI_SALESORDER_GETLIST
Billing -
BAPI_BILLINGDOC_CREATEFROMDATA
BAPI_BILLINGDOC_GETDETAIL
BAPI_BILLINGDOC_EDIT
and below i am giving the links to add the extra fields to VA01 may be useful for you......
User Exits In Sales Document Processing
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
you have to get the access key from the basis guys for the program SAPMV45A(i think this is the corresponding program) and try to add those fileds in a subscreen and try to call that subscreen in the main screen.... i think number is 8309.
call subscreen s2 including 'SAPMV45A' '9002'.
checkout the below links also for your reference, all the links related to addition of fileds to VA01.......
Regards,
SRI.