Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
1) The call transaction command is a real-time BDC. E.g.: DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE, dismode LIKE ctu_params-dismode, updmode LIKE ctu_params-updmode. Then populate bdcdata with whatever you need (probably use SHDB to record it) and use it: CALL TRANSACTION 'VA01' USING bdcdata MODE dismode UPDATE updmode. A warning based on years of experience: there are so many unexpected things happening in VA01, that it's Probably easier to use the BAPI_SALESORDER_CREATEFROMDAT2. 2) Use BAPI_SALESORDER_CHANGE (always followed by BAPI_TRANSACTION_COMMIT, otherwise the data is not saved). Hope this helps Adrian Zehnder www.b2b2dot0.com ---------------Original Message--------------- From: sapsd73 Sent: Friday, September 03, 2010 9:24 AM Subject: Z program calling a sales order > I am a functional consultant, I need to give certain inputs and also need to know certain technical things. Our abapers are not super experienced and hence the need. > > 1) How is the call Transaction command is used. For instance if i need to call VA01, I need to use the call transaction VA01 statement but then after that What ? Do i need to record a BDC first for VA01 and then put that BDC with the call transaction statement to fill in the fields of sales order creation ? > > > 2) This question is independent of 1st question above. We want to develop a Z program and this Z program will check certain things from a z table and if the condition is satisfied, this Z program will call already created sales orders in VA02 mode and do field changes in requested delivery date and do re pricing in sales document. > > How can we achieve the same. some technical inputs pls. i.e. what to use. BAPI, Call transaction etc. > > regds | __.____._ Copyright © 2010 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Related Content White Papers In the Spotlight _.____.__ |