on 09-29-2009 11:34 AM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.