cancel
Showing results for 
Search instead for 
Did you mean: 

Long text for line item appears twice in my PO form...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

I am wondering why my long text for my 1st line item is appearing twice. In my PO, I only

maintained a long text for my 1st PO line item appeards twice. below is my code:

/E ITEM_LINE_1

IZ &EKPO-EBELP&,,&EKPO-TXZ01&

IZ ,,&EKPO-EMATN&,,&EKPO-MENGE&,,&EKPO-MEINS&,,&EKPO-UMREZ&,,&EKPO-NETPR&,,

= &EKPO-NETWR&

/*

/: DEFINE &LV_TEXTNAME& = ''

/: PERFORM GET_LONGTEXT_ITEM IN PROGRAM ZMMRP0008

/: USING &EKPO-EBELN&

/: USING &EKPO-EBELP&

/: CHANGING &LV_TEXTNAME&

/: ENDPERFORM

/*

/: INCLUDE &LV_TEXTNAME& OBJECT 'EKPO' ID 'F01'

The element 'ITEM_LINE_1' is called per line item. So in my case, 3 times. The INCLUDE statement

at the end of the element is for the longtext. I am now confused as to why it appears twice for the 1st line item.

Thank you guys and take care!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can debug and check whats happening there.

Regards,

Ram

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Put a comment for text element ITEM_LINE_1