on 10-04-2007 10:33 AM
i ncopy controls i want to copy qt to or , how do i do it and what are the setting i hav eto do in tcose VTAA , PLS GUIDE
hi sunnia,
standard settings arer there for qt to or in STD SAP.just follow those settings
unless u want to really change something.
reward points if u think this useful.
Best regards,
R.Srinivasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sunaina,
VTAA is the t-code to do it. there is already a copy ctrl defined from order type QT to OR. if you want to do it for custom sales docs----open it in change mode and and copy the header level copy control from qt to or.....change teh names of the doc types and choose copy all optin in the next step. save it. plz also cchek that item lvel and schedule lines are also copied. if some is missing do it yourself again by copying an standard entity.
saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai
In copy controls you can copy the data from one doc to other document. If your requirement is to copy data from one sales doc (qt) to other doc(or) you have to use the tc vtaa
Then it will ask for the data to be copied
i.e Header level data, item level or schedule line
You have to key in the from and to fields and also you can specify copying requirements in copy controls, Copying requirements act as a precursor when you need certain data to be copied only when the data satisfies the requirement eg if you want the data in quotation to be copied to order, you can specify the requirement as sold -to - party shld be same before copying
regards
kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunaina
In your header structure, set like this:
hdr-REF_DOC = i_order-vbeln. "assign quotation # to sales order
hdr-REFDOC_CAT = 'B'. "assign Quotation to VBTYP_N.
For each line item, set as follows:
Assigning ref doc to create line item entries in VBFA.
itm-REF_DOC = i_order-vbeln. "quote number
itm-REF_DOC_IT = i_vbap-posnr. "quote line item #
itm-REF_DOC_CA = 'B'.
data: ret_text type BAPIRET2.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
ORDER_HEADER_IN = hdr
convert = 'X'
IMPORTING
SALESDOCUMENT = salesdoc
TABLES
return = ret_tbl
ORDER_ITEMS_IN = itm
ORDER_PARTNERS = prtnr
ORDER_ITEMS_inx = itmx
ORDER_CONDITIONS_IN = conds
ORDER_CONDITIONS_INX = condsx
order_schedules_in = schd_lin.
Reward if useful to u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
dear sunaina
yes Tcode VTAA will resolve your issue
rewards if it helps
siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.