‎2007 Mar 08 2:31 PM
I have in a report that i made an SAPGUI_PROGRESS_INDICATOR .
i have the following problem : I can't write the sentence below
999999 date:08/03/2007 . The problem is that i can't pass the space character and i have to use the _ character always between the words .
my code is :
SY-DATUM CONCATENATE 'No of Billing Doc:_' VBRK-VBELN '_'
VBRK-FKDAT6(2) '/' VBRK-FKDAT4(2) '/' VBRK-FKDAT(4) INTO INFO1.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = SY-TABIX
TEXT = INFO1.
‎2007 Mar 08 2:33 PM
Try with :
CONCATENATE txt1 txt2 txt3 INTO txt SEPARATED BY SPACE.
‎2007 Mar 08 2:33 PM
Try with :
CONCATENATE txt1 txt2 txt3 INTO txt SEPARATED BY SPACE.
‎2007 Mar 08 2:34 PM
Use the separated by space addition for the concatenate statement.
Regards,
Ravi
‎2007 Mar 08 2:37 PM
I understand why you are trying to do this, he is an addtional tip, keep the '_' and simly translate the INFO1 after the CONCATENATE.
CONCATENATE 'No of Billing Doc:_' VBRK-VBELN '_'
VBRK-FKDAT+6(2) '/' VBRK-FKDAT+4(2) '/' VBRK-FKDAT(4) INTO INFO1.
translate info1 using '_ '.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = SY-TABIX
TEXT = INFO1.
Regards,
RIch Heilman
‎2007 Mar 08 2:39 PM
Hi,
Please try this.
DATA: WA_DATE(10).
WA_DATE(2) = VBRK-FKDAT+6(2).
WA_DATE+2(1) = '/'.
WA_DATE+3(2) = VBRK-FKDAT+4(2)
WA_DATE+5(1) = '/'.
WA_DATE+7(4) = VBRK-FKDAT(4).
CONCATENATE 'No of Billing Doc: ' VBRK-VBELN WA_DATE INTO INFO1 SEPERATED BY SPACE.
Regards,
Ferry Lianto