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

Define table values in include

Former Member
0 Likes
323

I am working on include LV09CF70 to block users for modifiying customer address for a sales order type.

My problem is that it seems that the values for table VBAK are not being updated when executing the program.

How should I define the data from that table in order to make the second row of the IF condition to work?

Here is the code:

IF ( sy-tcode EQ 'VA01' or sy-tcode EQ 'VA02' )
       AND ( vbak-auart EQ 'PDIR' ).
        lv_display_only = 'X'.
    ENDIF.

Thank you and Merry Christmas.

Carlos

Edited by: Carlos Salazar on Dec 23, 2010 3:37 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
282

Hi ,

I think it should work, otherwise modularize second line with in if condition.

2 REPLIES 2
Read only

Former Member
0 Likes
283

Hi ,

I think it should work, otherwise modularize second line with in if condition.

Read only

Former Member
0 Likes
282

I export-import the data from another user exit.