cancel
Showing results for 
Search instead for 
Did you mean: 

how to give data + include text + data - everything on same line

Former Member
0 Kudos

hi experts,

based on the customer code, i need to insert the picture (chinese character) which i have converted to text inbetween the values as shown.

if &likp-kunnr& = 'xxxxx'
 IL  ,,&VBDPL-POSNR+03(03)&,,&ZPRN_MTRL&,,
/ :   INCLUDE ZHEX-MACRO-ZCUSTPN_CHINESE_V1 OBJECT TEXT ID ST
=    ,,&VBDPL-BSTNK&,,&VBDPL-LFIMG(I10.0)&
else.
IL  ,,&VBDPL-POSNR+03(03)&,,&ZPRN_MTRL&,,
=   & VBDPL-INDKD&
=    ,,&VBDPL-BSTNK&,,&VBDPL-LFIMG(I10.0)&
endif.

ie., the output should be

if customer  = XXXX

10          M234234234                ( here i need to use include )      7000002             600

else.

10(posnr)   M345222434 (material no.)     GK5109 (cust. part no. )     7000001 (PO no.)          640 (qty).

endif.

this comes in the main window.

so if the customer = XXXXX, how to give the values + include (picture) + values in the same line.

Plz help me.

Thanks and Regards,

Satkhi Sri.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Satkhi Sri,

Have you sorted out your problem?

If so how, I am also facing pretty much similar problem.

Thanks

K

Former Member
0 Kudos

HI

Use subroutines PERFORM ENDPERFORM and pass ur values and use FM READ_TEXT and get the text into a local variable and use this variable

,,&VBDPL-POSNR+03(03)&,,&ZPRN_MTRL&,,&lv_text&....

surya..

Former Member
0 Kudos

if &likp-kunnr& = 'xxxxx'
 IL  ,,&VBDPL-POSNR+03(03)&,,&ZPRN_MTRL+*08(L)*& ,,
/ :   INCLUDE ZHEX-MACRO-ZCUSTPN_CHINESE_V1 OBJECT TEXT ID ST
=    ,,&VBDPL-BSTNK*+70(L)*&,,&VBDPL-LFIMG(I10.0)&
endif.

Hi,

Try adjusting the data needed by adjusting the spacing between them. Check the baove piece of code which i have modified in Bold.

  • L - Stands for he length of the field

Former Member
0 Kudos

Hi varna,

when i give as per ur code also,

if &likp-kunnr& = 'xxxxx'
 IL  ,,&VBDPL-POSNR+03(03)&,,&ZPRN_MTRL+*08(L)*& ,,
/ :   INCLUDE ZHEX-MACRO-ZCUSTPN_CHINESE_V1 OBJECT TEXT ID ST
=    ,,&VBDPL-BSTNK*+70(L)*&,,&VBDPL-LFIMG(I10.0)&
endif.

the /: takes the text to the next line.

can v able to adjust the include text length?

does anybody have idea in this issue?

thanks.

Edited by: sakthi sri on Oct 1, 2009 9:41 AM