cancel
Showing results for 
Search instead for 
Did you mean: 

getting data from the table interface in smart forms

Former Member
0 Kudos

Hi All,

I copied the standard smart form and modified it. I want to print the shipping route from the interace.this field is in the table interface L_XKOMK,which is a structure.

Please help me out.

Thanks in Advance,

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Create a Text Node.

Press the Insert Field button and enter &L_XKOMK-ROUTE&

Be sure that the print program passes the structure to the Smartform.

Former Member
0 Kudos

Hi,

Thanks for the responses,

here in this smart form, the print program is not passing this structure.

Regards,

Praveen

Former Member
0 Kudos

What is this Smart Form for? orders? deliveries?

Does the interface have structures VBDKL or VBDPA?

You may have to insert a Program Lines node to Select for the Route.

Former Member
0 Kudos

This is RFQ in MM.

it contains EKKO AND PEKKO.and I have to get the data from the structure KOMK.

Thanks.

Former Member
0 Kudos

Have a look at table EKPV.

You can select on this table matching the PO Number and Item Number to get the Route.

Former Member
0 Kudos

Thanks so much,

It worked.

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

HI Praveen,

The L_XKOMK will be an internal table without header when it is defined in the tables section of the interface.

In the Global definitions part, declare a structure of type xkomk(Or the underlying structure for the internal table l_xkomk).

Then, in the initialization section.

write this code.

read table l_xkomk into x_xkomk index 1.

Then create a text element in the main window,

GIve the variable name as

P1: &x_xkomk-<field for shipping route>&

where P1 is a paragraph format.

Save and activate.

regards,

Ravi