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

code for reading header and item text dynamically

Former Member
0 Likes
342

hi

iam trying to read text from stxh ,stxl , vbak,vbap and display code in report(tcode va01).

iam unable to do the coding using read_text function module dynamically header and line item text.

i want some code or help on it.

iam in urgent.

thanks and reagards

1 REPLY 1
Read only

Former Member
0 Likes
292

Hi,

I hav the code for Purchase Order header and Item.

By using this code you can write for Sales Order.

data : v_tdname(15).

For Item Text:

concatenate p_ebeln wa_ekpo-ebelp into v_tdname.

INCLUDE &V_TDNAME& OBJECT 'EKPO' ID 'F01' LANGUAGE 'EN'

For Header Text:

INCLUDE &WA_EKKO-EBELN& OBJECT 'EKKO' ID 'F01' LANGUAGE 'EN'

The same logic you can use.

But you need to search for Object ID.

Regards

Sandeep Reddy