on 09-05-2009 12:48 PM
We had created custom fields (VBAP-ZZxxx) in additional data B tab for an Inquiry doc type, Quotation doc type, sales order doc type. They are created while append in VBAP.
My problem is:
While copying from
Inquiry doc type to sales order doc type &
Inquiry doc type to Quotation doc type
the data maintained in additional data B fields is not getting copied into target document.
I understand that this can be achieved by copying the routine ( standard) of copy control of line-items (VBAP) into the new routine, 9xx.
As this is the regular affair to meet custom needs, has anyone done this successfully before? Which routine shall I consider for modification?
Suggestions and opinions are welcome.
Prashant
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to Write a Data Transfer Routine for this.
We had a requirement for copying the additional data B fields from Quot to Order.
I created a new Routine 9** by copying the Routine 101 ( Bus Header data) for the header values .
VBAK-ZZLDATE = CVBAK-ZZLDATE.
Passing the values from CVBAK to VBAK will do the required work.
Assigned the same routine in the procedure.
Rgds,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We have done a similar requirement of adding additional fields in Quotation doc type at header and item level .
Also we have got the Reference data of the order being created to flow in to Additional Data B .
This is purely Abaper's Coding .when you add Additional Fields there is screen logic also to be coded for these screens .
to get the Reference order data logic has to be written in PBO of the screen which u have added additional fields .
the reference data will be validated with "VGBEL" field in VBAK table .If VGBEL is not initial then Query the VBAK table for this data in VGBEL into Internal table or work area and update the screen fields in additional data with these fields .
I have done the same and it is Working Wonderful .
Try this and Let me know Further. All the Best.
Thanks,
DevendraP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to modify copying control routine 151 in VOFM (program FV45C151 in SE38) adding following line at the end of the form:
vbap-zzxxx = cvbap-zzxxx.
Kind regards,
Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The copying control routine should be sufficient. It is exaclty correct place for transfer of custom fields. Any selects in MV45AFZZ user-exits have usually impact on performance of order creation (very important i.e. when using CRM).
Are you sure you have the modified routine assinged to all item categories in VTAA?
Kind regards,
Marcin
Hi,
Yes, this is related to copy control problem i belive, for this you can try with Data Transfer routine - "151" in VTAA (Sales document to sales document ) item level.
Try and post your Feed back
Regards,
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.