There was a issues on my PO print out which unable to find solution using sap forum also.

  • Issue is in address field contain values but not shown in the printout.

          There I have set tabs in paragraph format. Then write scripts like below to get address.

               &LFA1-NAME1& ,, &W_BUDNO& ,,&EKKO-EBELN&

               &LFA1-NAME2&  ,, ,,

               &LFA1-NAME3& ,,&W_ANGNR& ,, &EKKO-BEDAT&

            In here for some fields have values and when i debug the script also i can see the value but when print preview shown that value not display.

            As identified this happen when value is a single word.

          Solution


I found two ways to solve the problem.


     1.   Introduce control command ADDRESS ENDADDRESS to the script. And then all values are shown correctly.

         

                        

/: ADDRESS PARAGRAPH V1
/*   TITLE    &LFA1-ANRED&
/:   NAME     &LFA1-NAME1&, &LFA1-NAME2&,&LFA1-NAME3&, &LFA1-NAME4&
/:   STREET   &LFA1-STRAS&
/:   POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
/:   CITY     &LFA1-ORT01&, &LFA1-ORT02&
/:   POSTCODE &LFA1-PSTLZ&
/:   COUNTRY  &T005T-LANDX&
/:   REGION   &LFA1-REGIO&
/:   FROMCOUNTRY &T001-LAND1&
/: ENDADDRESS

     2. Remove tabs and keep &SPACE(10)& to get output.

Hope this will help u.

Thank u.       

Pavithra

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply