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: 

code in the exit_saplv56u_004

Former Member
0 Kudos

here i have to make the code in exit_saplv56u_004 in include zxv56u11.

there are tables defined initself.

my confusion is as i have to take the shptyp from vttp table,how i can define it.

how to code the read statement?

look at the code how the tables are deifned,soi have to just read it and how???

FUNCTION EXIT_SAPLV56U_004.

*"----


""Lokale Schnittstelle:

*" TABLES

*" I_XVTTK STRUCTURE VTTKVB

*" I_YVTTK STRUCTURE VTTKVB

*" I_XVTTP STRUCTURE VTTPVB

1 ACCEPTED SOLUTION

Former Member
0 Kudos

How about:

DATA:

zls_vttp TYPE vttpvb.

READ TABLE i_xvttp INTO zls_vttp INDEX 1.

Regards,

John.

2 REPLIES 2

Former Member
0 Kudos

How about:

DATA:

zls_vttp TYPE vttpvb.

READ TABLE i_xvttp INTO zls_vttp INDEX 1.

Regards,

John.

Former Member
0 Kudos

hello,

I_XVTTK STRUCTURE VTTKVB

*" I_YVTTK STRUCTURE VTTKVB

*" I_XVTTP STRUCTURE VTTPVB

In this tables you will find the data when the exit is triggred.

You have to use it for fetching, looping and reading.

With this table only you will do modifications.