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: 

Table Control Issue

Former Member
0 Kudos

My exact requirement is :

Through QM02 (Notifications) create a Credit Memo.

I have an enhancement point in program : FV45PFAP_XVBAP_LESEN

I created a Zenhancement here and added the logic as below:

====

get parameter to get Notification Number.

Select MAterial and Quantity from table QMEL.

then I modified the VBAP structure data as below:

vbap-matnr = l_qmel-matnr.

vbap-zmeng = l_qmel-zmeng.

====

Nothing more than this.

This enhancement point is available in the PBO of SAPMV45A and screen : 4902

Now, when the control goes from QM02 to VA01 (Notification ->functions -> sales order -> create sales order)

my material and quantity could be seen on VA01 screen in the first row of table control.

When I hit enter button - nothing happens.

When I save - credit memo is created with No line item.

Ideally, when I press enter key - the line item is confirmed and the relevent information like desctiption, UOM etc comes automatically. This is not happening.

ANy idea??

2 REPLIES 2

alex_m
Active Contributor
0 Kudos

Can you change the table XVBAP instead of VBAP and try..

Former Member
0 Kudos

Hello Alex,

I tried that but no solution.

In the PAI, I have also tried to read screen fields by DYNP_READ* FM.

no values coming htere either.

I am not sure what am I missing.

Thanks