Application Development 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: 

VA01 creation of new feild in Additional data tab B and populating values

Former Member
0 Kudos

Hi All ,

I had created a new field zzordqty in VA01 item level -> additional Data Tab B SE51 -> SAPMV45A-> 8459.

The values while creating a sales order are coming from Inbound FM Idoc_input_orders . for this particular field the value is stored in segment E1EDP35 when QUALZ is 011 the value of CUSADD is to be shown of the screen of VA01.

For this I had tried to create a enhancement point in FM Idoc_input_orders , and tried to capture the value of CUSADD into XVAP-ZZORDQTY .

But as soon as i come out of the enhancment point the value of XVBAP-ZZORDQTY BECOMES 0 .

And at the screen level of SAPMV45A i had created a PBO and transfered the values from XVBAP TO VBAP .

But since the values are getting cleared , the value of zzordqty is zero and also niether it s getting updated at table level .

I request to let me know , how should i proceed further , either to use exists or badi's

Thanks & Regards,

Kavitha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

you can do it in include MV45AOZZ. the method should be for module in PBO of subscreen 8459.

and ifyou are not able to pass it to any standard structures( like xvap, or vbap or some thing like that) you can export it from PBO or PAI module) and catch it in the save exits (user exits)

Edited by: Soumyaprakash Mishra on Oct 2, 2009 11:08 AM

5 REPLIES 5

Former Member
0 Kudos

Hi

This is standard behavior, values can't be assign at PBO.

Assign those values in USEREXIT_SAVE_DOCUMENT or USEREXIT_MOVE_FIELD_TO_VBAP under MV45AFZZ.

this will solve your problem.

venkatesan_nagiah
Active Participant
0 Kudos

Hi,

You can also set value inside the CALL CUSTOMER-FUNCTION '011'

ie. include ZXVEDU13.

I think, it will work for you.

Venkat

Former Member
0 Kudos

hi,

you can do it in include MV45AOZZ. the method should be for module in PBO of subscreen 8459.

and ifyou are not able to pass it to any standard structures( like xvap, or vbap or some thing like that) you can export it from PBO or PAI module) and catch it in the save exits (user exits)

Edited by: Soumyaprakash Mishra on Oct 2, 2009 11:08 AM

Former Member
0 Kudos

just a thought: Have you checked that, Is there any FLAGS need to be populated, like UPDKZ

thanq

Former Member
0 Kudos

Hi ,

Thank you for sharing .

But there is nothing to do with the flags .

Regards,

Kavitha