Skip to Content
0
Former Member
Apr 03, 2013 at 08:04 AM

Long text from Bom(latest version) needed?

329 Views

hi abap experts,

I have been meddling with a smartform for weeks, and recently i resolved(with help from scn) but now i have found another mistake in the existing report
the report, the long text which gets printed in the smartform is taken from stpo table, the long text that is maintained in cs01 for a material is also eventually stored in stpo-potx1,potx2...the report takes it from there, but the functional people have many versions of long text maintained for the same material, and while the report fetches the first long text available from the stpo table, i couldn't think of any idea to resolve this problem,(when i opened cs03 and displayed the the concerned line item ...it had 4 long texts maintained for it, while the report fetches the first one, the functional people wan the last one they maintained for it)

in the report:

wa_final-text1 = wa_stpo-potx1.

wa_final-text2 = wa_stpo-potx2.

is there any simple way to achieve printing only the required long text by giving condition in smartform ? or can i change something in the report?

Thanks and regards,
Vivian.