‎2011 Jan 20 6:23 PM
Hi I have created a ZZ fiield in a Z append structrue of vbap. And then added it to the item overview table control in screen 4900. But when I enter data into this field on the sales order item grid the data gets lost as soon as I press return. So it does not save to VBAP. What have i missed?
‎2011 Jan 20 7:27 PM
Force the field transport. Did you add the field to the PAI loop processing for the table control flow logic or just on the screen layout itself?
‎2011 Jan 20 7:41 PM
Just the screen layout. I thought since it was just an extension fo vbap I wouldn;t need to modify any PBO/PAI logic. So any advice on where about in the PAI I should change?
‎2011 Jan 20 8:44 PM
Enter the value and then throw the transaction into debug immediately from the overview screen. You'll probably find that yuor screen field value gets dropped because it isn't transported to the program. You would want to do this in one of the big CHAINs before VBAP_BEARBEITEN is called, which is where the final validation occurs and where XVBAP gets appended.
‎2011 Jan 20 8:02 PM
You would need to write logic in Sales order exit (MV45AFZZ ) .
Thanks
Seshu
‎2011 Jan 20 9:18 PM
I needed to add the new field to the chain statements as per OSS note 862228. Once in here the user exit MV45AFZZ was getting called and I could pass the data to xvbap.