Application Development and Automation 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: 
Read only

(exit problem) regarding adding a new field in XVBAK structure in orders

Former Member
0 Likes
565

Hi all,

I am working on user exit and it works like it takes data from orders IDOC and creates sales order using fucntion module IDOC_INPUT_ORDERS.

My problem is i am unable to populate the payment method data into sales order as there is no payment method field defined in XVBAK structure.

i need to to define payment method field (VBKD-ZLSCH) in XVBAK and i have one segment E1EDK01-ABRVW_BEZ

which carries the data for payment method.So i can just assign the segment to the declared payment method field in XVBAK.

Frnds i want to know can we declare payment method field in XVBAK because when i tried its asking for access key.

i have found exit also but need some guidance to work on this 'EXIT_SAPLVEDA_001'.

Thanks,

sanjay

Hi all,

I am working on user exit and it works like it takes data from orders IDOC and creates sales order using fucntion module IDOC_INPUT_ORDERS.

My problem is i am unable to populate the payment method data into sales order as there is no payment method field defined in XVBAK structure.

i need to to define payment method field (VBKD-ZLSCH) in XVBAK and i have one segment E1EDK01-ABRVW_BEZ

which carries the data for payment method.So i can just assign the segment to the declared payment method field in XVBAK.

Frnds i want to know can we declare payment method field in XVBAK because when i tried its asking for access key.

i have found exit also but need some guidance to work on this 'EXIT_SAPLVEDA_001'.

Thanks,

sanjay

1 REPLY 1
Read only

Former Member
0 Likes
410

Hi

XVBAK is the internal table of typ VBAK.

If u want add any field in XVBAK,then u need to append structure to table VBAK.

Regards,

Raghu.