PC User-Prints Strange Text in Word

Hi All,
I am using Pages-iwork08 and exported a resume to a Word file. I have sent the file to a friend possibly using XP or Vista but when they print the document....instead of fonts...they are all music notes....lol. Now it seems like they are having trouble opening the file. Any suggestions?
Thanks,
JP

Hello
Which is the name of your musical font?
Maybe there is a bug in the way the export code grabs informations about font names (a list may be indexed starting at 0, or starting at 1).
The other track may be that the destination machine is unable to read correctly the UNICODE characters. If so, it may pick wrong characters in an UNICODE one (I met this oddity when corresponding with my brother which is Windows's addict) [nobody's perfect].
Yvan KOENIG (from FRANCE jeudi 22 novembre 2007 15:07:03)

Similar Messages

  • Printing hidden text in a PDF form

    I have created a form to be filled in by a large customer base. Some boxes have the ability to type in more copy than the box will fit creating a scroll bar.
    My problem is then how does the user print the text that is hidden I just get the copy that can be seen and nothing else.
    Here's hoping for a reply.

    Select the whole text.
    Copy the text in a text editor.
    Print the text.

  • Printer reduces size of text taken from internet; printer expands margins Microsoft Word 2007

    1)  HP Officejet J6480 All-in-one
    2)  Windows 7 64-bit
    No error message, no changes to system.
    Recently, and I'm not sure why, my printer began shrinking the text which it prints from the internet.  It does not have this problem printing a pdf file or from Microsoft Word or the like.  I'm not sure if this only occurs when i print selected text as opposed to printing what the screen sees.  The shrunk text appears to be approximately 5.25 by 7 inches.  If I print double sided, the problem still persists.  Please let me know what I can do; I have gone through the printer options and verified that I had selected letter sized paper to print on.  
    In addition, one smaller issue;  I frequently print from Microsoft Word in which I always set my paper margins to 1" all around the paper.  On the top margin only, the printer expands it to 1.25 inches and compresses the entire text.  (I have held up printed papers to my computer screen to be sure).  All of the other margins are correctly formatted.  Thank you for your assistance.  I use Microsoft Word 2007

    hi there,
    could you provide the community with a little more information to help narrow troubleshooting? What browser is this under?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How can I reverse or mirror print text? Word 2008, OSX10.6.8;

    Where can I find the option to print mirror text? Used to be easy in Word but I can't find a way to do it there, nor can I find in in my print options.  This is basic and should be easier to do, seems like.

    Thanks for the link Jeff. Couldn't find any links on the Adobe site.
    Even with that link though, I was still left puzzled as it didn't give multiple versions, just a 32 bit and 64 bit version.
    I tried the 64 bit and it didn't work, so I assumed that was what had already been installed in the update.
    Now installed the 32 bit version, and fingers crossed. At least it starts up now!
    Cheers Russell F

  • MX432 printing "shadow/double" letters, words, sentences, etc... making the text unreadable.

    My MX 432 started printing "shadow/double" letters, words, sentences, etc from all programs making the text unreadable. Is this fixable or do I have to replace it?

    Hi, gpglinton!
    To ensure the most accurate information is provided, we will need to know the printer model you are using and the version of Windows or Mac in use.
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

  • Printing to windows printer via SMB - Printing garbled text

    Hi all.
    I have been working on this issue for around 3 hrs this morning and finally figured it out. Thought I'd post what I did to help others with similar issues.
    Here's my set up:
    I have a PC with HP photosmart printer connected to it. I've a Macbook Pro that I connect to the PC via SMB protocol for file sharing. If I wanted to print from the mac to the printer I had to disconnect the printer form the PC and directly connect it to the mac. I wanted to be able to print from the Mac to the printer via the PC. Should be that hard right as I have already successfully file shared via SMB.
    Well it was a little difficult. I did many a search on here and the web and eventually found the following article:
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh2231.html
    So, following these steps i tried to print a single page word (office 2008 for mac) doc from the mac. Hey presto! The printer kicked into life and started...
    ...problem was it spewed out around 20 pages of Garbled text! I tought it might have been print jobs stacked up from the last unsuccessful attemt at doing this but no, no jobs there. Thought it might have been Word/office for mac, etc. so tried to print from Text Edit but same thing.
    After hrs of screaming, F'ing & Blinding I finally figured out it was to do with what printer I had it set up on. I went into Print & Fax in System Preferences, highlighted the printer and clicked printer setup tab. In the drop down tab I selected printer model. It was set on Generic.
    In the drop down list there it shows a huge selection of printers. my particular model was not there so I chose the closest thing and selected that.
    After exiting all that and trying again it worked.
    I'm very happy.
    Adam

    Hi iVirtual, what Mac OS are you running, Leopard (10.5.4) or Tiger (10.4.11)? Also, is your printer directly attached to your pc or is it a network printer directly on the local area network? One last question, do you have a firewall (like Trend Micro or Norton Internet Security) on your PC?
    From my Mac running Leopard, I have no problem printing to a printer directly attached to my WindowsXP machine. However, I don't have the same luck from my Tiger Machines.
    When I print to any networked printer (by that I mean printers directly attached to the network) from the WindowsXP machine with SP3, I always have to use the IP address. The printer.local name no longer works since I installed SP3.
    simonparker, If your printer is directly attached to your PC using a USB cable, I don't think you'll be able to see it with the Bonjour Printer Wizard application. Since your printer is shared, you might check your WORKGROUP name on your PC. Something you might check is this:
    Do you have a password on your user account on the PC? You'll probably need a password on your PC account. I don't think you can share anything if you don't have a password (I could be wrong, but it has never worked for me without a password).
    On leopard, when I added the printer to the Mac I did this:
    1) bring up System Preferences/Print&Fax
    2) Press the + sign under the printer list, when the add window pops up, choose the "Windows" icon and you should see your workgroup name in the left list.
    3) Choose the workgroup and it should populate with your machine name.
    4) Select the machine name in the middle list and you should get a login and password dialog box.
    5) Enter your PC's Username and Password.
    6) You should see a list of shared printers in the right most list.
    7) Select the printer and then select the driver.
    Your printer should now be configured on the Mac. I know that I had to enter my PC's user name and password several times before I could print.

  • Issue with printing Standard Text in Production Environment.

    Hi Peers,
    In my smartform,
    The Std Text  on back of page in Production System is getting truncated.But in Development system it is fully printed.
    I checked for the printers & language that are used in both the systems it is the same.
    Could you please let me know your views as to what might be the problem.
    Is it a basis issue or is there anything that  we can do on development side.
    Thanks in advance!
    Daniel

    Hi Phani,
    Thanks for your reply. In fact both me and user are doing the same. For user some times this text is not showing and some times it is. This is very strange.
    I can do this by keeping it in text element. But for some texts we need to add some other text in between dynamically.
    for example : for BE10 we need to show like,
    CONCATENATE 'This text is prepared on behalf of  (' <vendor name> ') ' some text' INTO w_title_text.
    In this case: I have tried preparing this text in the program lines node. Here the problem is I can able to mention single quote in prepare the text. In the above example it is bold.
    Basically I don't what's happening when printing report texts. But if there is a way to show single quote while prepare text that should be fine.
    Thank you
    Surya

  • Issue with printing report texts in Smartform

    Hi ,
    I developed a smartform and a print program. In the title of the smartform I need print a text depend on the company code. For this I prepared this text in the print program like the following.
    case rbkp-bukrs.
      when 'IT10'
        smartform_struct-title = text-010.
    endcase.
    The problem is some times these texts are not printing on the form output. User are mad at this. when they complines me and I go and look at it, it is fine. I don't think this is printer issue. Any clues please let me know.
    Thank you,
    Surya

    Hi Phani,
    Thanks for your reply. In fact both me and user are doing the same. For user some times this text is not showing and some times it is. This is very strange.
    I can do this by keeping it in text element. But for some texts we need to add some other text in between dynamically.
    for example : for BE10 we need to show like,
    CONCATENATE 'This text is prepared on behalf of  (' <vendor name> ') ' some text' INTO w_title_text.
    In this case: I have tried preparing this text in the program lines node. Here the problem is I can able to mention single quote in prepare the text. In the above example it is bold.
    Basically I don't what's happening when printing report texts. But if there is a way to show single quote while prepare text that should be fine.
    Thank you
    Surya

  • Strange text display in pdf using adobe reader exported by Indesign CS5

    Hi there,
    I have export an interactive pdf from indesign CS5 PC version with version 7 update, and it looks fine in most of the PC and Mac Adobe reader.
    But 2 of the computer had strange text display. One is the iMAC with latest version of Adobe Reader
    <== you can see the text "78" and "454" are abnormal
    But with the same computer using Safari with perview plugin is showing following result:
    <==you can see the text are normal.
    The pdf is embedded with following fonts and property:
    Another Windows XP with Adobe Acrobat 9 will had same display as the iMac.
    I ensure the Windows XP don't have the font installed with HelveticaNeue and the Mac is using OS Lion Bundle with that font.
    Now the customer blame it is the problem of the pdf created by me and I had no idea how to explain to my customer and find out solution.
    I had a trial version of CC but same result and no error during the export.
    Any idea is highly appreciate. The customer hotline and the live chat is hopeless as they send me to this community to ask since I use CS5 not the latest version.
    Regards,
    Ichi

    Thanks Willi,
    I had the fonts of Helvetica Neue bold light etc which created by Adobe and the font was created in 1993,shown in font property.
    my PDF output is set to interactive not the print one. Other settings are default.
    the purpose of this PDF is for user to print out and read on website. The funny thing is print out had no problem at all with HP and Ricoh printer using PCL 6 driver.
    Despite Safari, the strange font happened in only Adobe product, other PDF reader had no problem such as foxit reader, xchange reader.
    I tried to not embed the font but not able to do indesign, search in Google, it said it always embedded. Also that font family is preloaded in Mac OS.
    I can try any test if there is a way to find out the solution.
    or what should I do so the PDF should display correctly in all computer
    thanks a lot.

  • Exporting highligted text to Word (Acrobat 8)

    I am trying to capture highlighted text from a PDF file and then export them into Word or Excel. I basically have an "index card software" where I capture relevant text, add a few keywords, and then keep them so I can find parts of literature later on.
    I just recently got Adobe Acrobat Professional 8.
    I found this post about using Summarize Comments to transfer highlighted text.http://forums.adobe.com/thread/619957
    A few questions
    - can I transfer it to a Word document instead of PDF?
    - can it NOT create a separate page for each page of the document? I'd rather all the highlighted text be on as few pages as possible.
    That post also talked about a way to go back to previous PDF files highlighted before choosing that setting. However, I could not figure out how to do this method on files that have ALREADY been highlighted, some in previous versions of Acrobat.
    Thanks for your help

    These AUC threads may be useful re: smaller page count of the summarize comments report —
    http://acrobatusers.com/forum/collaboration-commenting/printing-comments-one-page
    http://acrobatusers.com/forum/collaboration-commenting/q-how-end-user-extract-marked-text- out-pdf
    http://acrobatusers.com/forum/collaboration-commenting/summarize-comments-single-page
    "gkaiseril" and "try67" discuss the possibility of using Acrobat JavaScript to condense comment reports' page count.
    A summarize comments report can be sent to a Word file.
    Create a Batch Sequence that uses the "Summarize Comments" sequence.
    Select this sequence for the new Batch Sequence.
    In the Edit Sequence dialog, click the Edit button and edit as appropriate.
    Back in the Edit Batch Sequence - <the name of the new batch sequence> dialog -
    Configure items 2 and 3 as desired.
    Click on the Output Options button.
    The Output Options dialog has two panes (File Naming and Output Format).
    In the Output Format pane open the drop-down menu associated with "Save File(s) As".
    Select RTF or Microsoft Word Document.
    (n.b., The save as or export to MS Word document actually gives you an RTF but changes the file extension. If you experience problems with the "doc" then try "rtf" and open that with Word.)
    You could add in javascript sequence(s) to the Batch Sequence.
    You may have to play with it in regards to the output to DOC or RTF.
    Be well...

  • Print Change Text in PO

    Hi All,
             I have replaced standard script(MEDRUCK) with Zsmart form for PO printing. when user change in any line of PO, like he have changed quantity. for this change a text message as **PO quantity changed** print in standard script. Now I want print this text message in my smart form . I know this is the message field T166T-CHTXT but i cant find any relation between this text messege and PO line item. So plz tell me how can i print it my smart form. I am sending u the programe where i have put my smart form.
      INCLUDE FM06PE02                                                   *
    form entry_neu using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
    ***to get the data not given by the above function module
    ***as, on some std conditions some data may be deleted by the same.
      SELECT * FROM EKPO INTO TABLE l_doc-XEKPO
               WHERE EBELN EQ l_doc-XEKKO-EBELN AND
                     LOEKZ NE 'L'.
      IF l_doc-XTKOMV IS INITIAL.
        SELECT * FROM KONV INTO TABLE l_doc-XTKOMV
                 WHERE KNUMV EQ l_doc-XEKKO-KNUMV.
      ENDIF.
       call function 'ME_PRINT_PO'
          exporting
               ix_nast        = l_nast
               ix_druvo       = l_druvo
               doc            = l_doc
               ix_screen      = ent_screen
               ix_from_memory = l_from_memory
               ix_toa_dara    = toa_dara
               ix_arc_params  = arc_params
               ix_fonam       = tnapr-fonam          "HW 214570
          importing
               ex_retco       = ent_retco.
      data: l_komk type komk occurs 0 with header line.
      DATA: lf_fm_name            TYPE rs38l_fnam.
      TYPES: BEGIN OF TP_RECORD,
              EBELP TYPE EKPO-EBELP,
              KNUMH TYPE KONP-KNUMH,
              END OF TP_RECORD.
      data: CD_record type TP_RECORD OCCURS 0 WITH HEADER LINE.
      TYPES: BEGIN OF TP_TAX,
             EBELP TYPE EKPO-EBELP,
             KSCHL TYPE KONP-KSCHL,
             KBETR TYPE KONP-KBETR,
             KONWA TYPE KONP-KONWA,
             VTEXT type T685T-VTEXT,
             END OF TP_TAX.
      DATA: TAB_TAX TYPE TP_TAX OCCURS 0 WITH HEADER LINE.
      data: wa_ekpo  type ekpo,
            wa_komv  type komv,
            wa_pekpo type pekpo.
      DATA: T_ITEM TYPE STANDARD TABLE OF ZMM_PO_ITEM WITH HEADER LINE.
      data: l_VAKEY type KONH-VAKEY,
            l_KNUMH type KONH-KNUMH.
      DATA: ls_control_param      TYPE ssfctrlop.
      DATA: ls_composer_param     TYPE ssfcompop.
      DATA: ls_recipient          TYPE swotobjid.
      DATA: ls_sender             TYPE swotobjid.
      DATA: lf_formname           TYPE tdsfname.
      DATA: ls_addr_key           LIKE addr_key.
      DATA: ls_job_info           TYPE ssfcrescl.
      DATA: ls_arc_params         TYPE ARC_PARAMS.
      DATA: ls_MAIL_APPL_OBJ      TYPE swotobjid.
      DATA: INPUT                 TYPE SSFCOMPIN.
      DATA: RESULT                TYPE SSFCRESOP.
      DATA: SECESS                TYPE KONP-KBETR .
      loop at l_doc-XEKPO into wa_ekpo.
        refresh CD_RECORD.
    *****GET TAXES FOR MATERIAL *************************
        if wa_ekpo-matnr is not initial.
          select knumh from A363 into corresponding fields of CD_RECORD
                 WHERE KAPPL = 'TX' AND
                       WERKS = WA_EKPO-WERKS     AND
                       LIFNR = l_doc-XEKKO-LIFNR AND
                       MATNR = WA_EKPO-MATNR     AND
                       DATBI GE l_doc-XEKKO-BEDAT.
            CD_RECORD-EBELP = wa_ekpo-EBELP.
            append CD_RECORD.
          endselect.
          if CD_RECORD[] is not initial.
            SELECT KSCHL KBETR KONWA FROM KONP INTO CORRESPONDING FIELDS OF TAB_TAX
                   FOR ALL ENTRIES IN CD_RECORD
                   WHERE KNUMH    =  CD_RECORD-KNUMH AND
                         LOEVM_KO NE 'X'.
              TAB_TAX-EBELP = wa_ekpo-EBELP.
              if TAB_TAX-KONWA = '%'.
                TAB_TAX-KBETR = TAB_TAX-KBETR / 10.
              endif.
              SELECT SINGLE VTEXT FROM T685T INTO TAB_TAX-VTEXT
                     WHERE SPRAS = 'EN' AND
                           KAPPL = 'TX' AND
                           KSCHL = TAB_TAX-KSCHL.
              APPEND TAB_TAX.
            ENDSELECT.
          endif.
        endif.
    ****GET TAXES FOR MATERIAL GROUP************************
        refresh CD_RECORD.
        if wa_ekpo-matkl is not initial.
          if wa_ekpo-knttp eq 'K' .
          select knumh from A700 into corresponding fields of CD_RECORD
                 WHERE KAPPL = 'TX' AND
                       WERKS = WA_EKPO-WERKS AND
                       MATKL = WA_EKPO-MATKL AND
                       DATBI GE l_doc-XEKKO-BEDAT AND
                       LIFNR EQ L_DOC-XEKKO-LIFNR .
            CD_RECORD-EBELP = wa_ekpo-EBELP.
            append CD_RECORD.
          endselect.
          if CD_RECORD[] is not initial.
            SELECT KSCHL KBETR KONWA FROM KONP INTO CORRESPONDING FIELDS OF TAB_TAX
                   FOR ALL ENTRIES IN CD_RECORD
                   WHERE KNUMH = CD_RECORD-KNUMH AND
                         LOEVM_KO NE 'X'.
              TAB_TAX-EBELP = wa_ekpo-EBELP.
              if TAB_TAX-KONWA = '%'.
                TAB_TAX-KBETR = TAB_TAX-KBETR / 10.
              endif.
              SELECT SINGLE VTEXT FROM T685T INTO TAB_TAX-VTEXT
                     WHERE SPRAS = 'EN' AND
                           KAPPL = 'TX' AND
                           KSCHL = TAB_TAX-KSCHL.
              APPEND TAB_TAX.
            ENDSELECT.
          endif.
        endif.
        endif.
      endloop.
    ******Fill T_ITEM***************
      loop at l_doc-XEKPO into wa_ekpo.
        CLEAR T_ITEM.
        MOVE-CORRESPONDING wa_ekpo TO T_ITEM.
        MOVE WA_EKPO-EMATN TO T_ITEM-MATNR.
    ********Field NETPR (net price) used for Gross price per piece**
       SELECT SINGLE KBETR FROM KONV
              INTO   T_ITEM-NETPR
                     WHERE KNUMV EQ l_doc-XEKKO-KNUMV AND
                           KPOSN EQ wa_ekpo-EBELP     AND
                           KSCHL EQ 'P000'.
        LOOP AT l_doc-xtkomv INTO WA_KOMV
                where KPOSN = T_ITEM-EBELP AND
                      ( ( KSCHL = 'P000' AND KBETR IS NOT INITIAL ) OR
                        ( KSCHL = 'P001' AND KBETR IS NOT INITIAL ) OR
                        ( KSCHL = 'PB00' AND KBETR IS NOT INITIAL ) OR
                        ( KSCHL = 'PBXX' AND KBETR IS NOT INITIAL ) ).
          MOVE WA_KOMV-KBETR TO T_ITEM-NETPR.
        ENDLOOP.
    *******Get Discount************************
        LOOP AT l_doc-xtkomv INTO WA_KOMV
                where KPOSN = T_ITEM-EBELP AND
                      ( ( KSCHL = 'R000' AND KBETR IS NOT INITIAL ) OR
                        ( KSCHL = 'R001' AND KBETR IS NOT INITIAL ) OR
                        ( KSCHL = 'R002' AND KBETR IS NOT INITIAL ) ).
          T_ITEM-C_DSCNT = WA_KOMV-WAERS.
          T_ITEM-DSCNT   = WA_KOMV-KBETR.
          IF T_ITEM-C_DSCNT NE 'INR'.
            T_ITEM-DSCNT   = T_ITEM-DSCNT / 10.
          ENDIF.
        ENDLOOP.
    *******Get Taxes**************************
        LOOP AT TAB_TAX
                WHERE EBELP = T_ITEM-EBELP.
          CASE TAB_TAX-KSCHL.
            WHEN 'JMOP' OR 'JMOQ' OR 'JSRT'.
              IF TAB_TAX-KBETR IS NOT INITIAL.
                T_ITEM-EXCSE   = TAB_TAX-KBETR.
                T_ITEM-C_EXCSE = TAB_TAX-KONWA.
                T_ITEM-KSCHL   = TAB_TAX-KSCHL .
              ENDIF.
            WHEN 'JEC1' OR 'JEC3'.
              IF TAB_TAX-KBETR IS NOT INITIAL.
                T_ITEM-CESS   = TAB_TAX-KBETR.
                T_ITEM-C_CESS = TAB_TAX-KONWA.
                T_ITEM-KSCHL   = TAB_TAX-KSCHL .
              ENDIF.
            WHEN 'JVRD' OR 'JIPC'.
              IF TAB_TAX-KBETR IS NOT INITIAL.
                T_ITEM-VAT_CST   = TAB_TAX-KBETR.
                T_ITEM-C_VAT_CST = TAB_TAX-KONWA.
                T_ITEM-KSCHL   = TAB_TAX-KSCHL .
              ENDIF.
            WHEN 'JES1' .
              IF TAB_TAX-KBETR IS NOT INITIAL.
                SECESS          = TAB_TAX-KBETR.
                T_ITEM-C_SECESS = TAB_TAX-KONWA.
                T_ITEM-KSCHL    = TAB_TAX-KSCHL .
              ENDIF.
          ENDCASE.
        ENDLOOP.
    ********Get Delivery Date*****************
        read table l_doc-XPEKPO into wa_pekpo with key ebelp = WA_EKPO-EBELP.
        T_ITEM-EINDT = WA_PEKPO-EINDT.
        if l_doc-XEKKO-BSTYP = 'L'.
    Get Price Per Unit For Scheduling agreement********
          concatenate T_ITEM-EBELN T_ITEM-EBELP INTO l_VAKEY.
          SELECT SINGLE KNUMH FROM KONH INTO L_KNUMH
                 WHERE  VAKEY = l_VAKEY.
          SELECT SINGLE KBETR FROM KONP INTO T_ITEM-NETPR
                 WHERE  KNUMH = L_KNUMH AND
                        KSCHL = 'P000'.
    Get Discount For Scheduling agreement  ********
          SELECT SINGLE KBETR KONWA FROM KONP INTO (T_ITEM-DSCNT,T_ITEM-C_DSCNT)
                 WHERE  KNUMH = L_KNUMH AND
                        KSCHL = 'R000'.
          if sy-subrc <> 0.
            SELECT SINGLE KBETR KONWA FROM KONP INTO (T_ITEM-DSCNT,T_ITEM-C_DSCNT)
                   WHERE  KNUMH = L_KNUMH AND
                          KSCHL = 'R001'.
            if sy-subrc <> 0.
              SELECT SINGLE KBETR KONWA FROM KONP INTO (T_ITEM-DSCNT,T_ITEM-C_DSCNT)
                     WHERE  KNUMH = L_KNUMH AND
                            KSCHL = 'R002'.
            endif.
          endif.
          if T_ITEM-DSCNT is not initial.
            T_ITEM-DSCNT = T_ITEM-DSCNT / 10.
          endif.
        endif.
        APPEND T_ITEM.
      endloop.
      IF TNAPR-SFORM IS NOT INITIAL.
    SmartForm from customizing table TNAPR
        lf_formname = tnapr-sform.
    determine smartform function module for PO
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
             IMPORTING  fm_name            = lf_fm_name
             EXCEPTIONS no_form            = 1
                        no_function_module = 2
                        OTHERS             = 3.
       IF sy-subrc <> 0.
      error handling
         cf_retcode = sy-subrc.
         PERFORM protocol_update.
       ENDIF.
    ENDIF.
        CALL FUNCTION 'SSF_CREATE_COMPOSER_INPUT'
          EXPORTING
            ARCHIVE_PARAMETERS = ls_arc_params
            USER_SETTINGS      = 'X'
            MAIL_SENDER        = ls_sender
            MAIL_RECIPIENT     = ls_recipient
            MAIL_APPL_OBJ      = ls_MAIL_APPL_OBJ
            OUTPUT_OPTIONS     = ls_composer_param
            CONTROL_PARAMETERS = ls_control_param
          IMPORTING
            INPUT              = input.
        CALL FUNCTION 'SSFCOMP_OPEN'
          EXPORTING
            INPUT  = input
          IMPORTING
            RESULT = RESULT
          EXCEPTIONS
            ERROR  = 1
            OTHERS = 2.
        IF SY-SUBRC EQ 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
          ls_control_param-no_open  = 'X'.
          ls_control_param-no_close = 'X'.
          CALL FUNCTION lf_fm_name
            EXPORTING
           ARCHIVE_INDEX              =
           ARCHIVE_INDEX_TAB          =
              ARCHIVE_PARAMETERS         = ls_arc_params
              CONTROL_PARAMETERS         = ls_control_param
              MAIL_APPL_OBJ              = ls_MAIL_APPL_OBJ
              MAIL_RECIPIENT             = ls_recipient
              MAIL_SENDER                = ls_sender
              OUTPUT_OPTIONS             = ls_composer_param
              USER_SETTINGS              = 'X'
              ZXEKKO                     = l_doc-XEKKO
              ZXPEKKO                    = l_doc-XPEKKO
              SECESS                     = SECESS
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
            TABLES
              L_XEKPO                    = l_doc-XEKPO
              L_XEKPA                    = l_doc-XEKPA
              L_XPEKPO                   = l_doc-XPEKPO
              L_XEKET                    = l_doc-XEKET
              L_XTKOMV                   = l_doc-xtkomv
              L_XEKKN                    = l_doc-Xekkn
              L_XEKEK                    = l_doc-Xekek
              L_XKOMK                    = l_komk
              T_ITEM                     = T_ITEM
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CALL FUNCTION 'SSFCOMP_CLOSE'
            IMPORTING
              RESULT        =
            EXCEPTIONS
              ERROR         = 1
              OTHERS        = 2
          IF SY-SUBRC <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDIF.
      ELSE.
        call function 'ME_PRINT_PO'
          EXPORTING
            ix_nast        = l_nast
            ix_druvo       = l_druvo
            doc            = l_doc
            ix_screen      = ent_screen
            ix_from_memory = l_from_memory
            ix_toa_dara    = toa_dara
            ix_arc_params  = arc_params
            ix_fonam       = tnapr-fonam                        "HW 214570
          IMPORTING
            ex_retco       = ent_retco.
      ENDIF.
    endform.                    "entry_neu
    *eject
    Umlagerungsbestellung,  Hinweis 670912                               *
    form entry_neu_sto using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print,
            F_STO.                                              "670912
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      F_STO = 'X'.                                              "670912
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
          ix_sto         = F_STO                                "670912
        IMPORTING
          ex_retco       = ent_retco.
    endform.                    "entry_neu_sto
    *eject
    Mahnung
    form entry_mahn using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '3'.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
        IMPORTING
          ex_retco       = ent_retco.
    endform.                    "entry_mahn
    *eject
    Auftragsbestätigungsmahnung
    form entry_aufb using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '7'.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
        IMPORTING
          ex_retco       = ent_retco.
    endform.                    "entry_aufb
    *eject
    Lieferabrufdruck für Formular MEDRUCK mit Fortschrittszahlen
    form entry_lphe using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_xfz,
            l_doc   type meein_purchase_doc_print.
      data: l_komk type komk occurs 0 with header line.
      DATA: lf_fm_name            TYPE rs38l_fnam.
      DATA: T_EKET      TYPE TABLE OF EKET WITH HEADER LINE,
            T_EKET_NEW  TYPE TABLE OF EKET WITH HEADER LINE.
      DATA: WA_EKET     TYPE EKET,
            WA_EKET_NEW TYPE EKET.
      DATA: L_DATE    TYPE RM06B-EEIND,
            MAX_ABRUF TYPE EKEK-ABRUF.
      DATA: T_DEL_SCH TYPE TABLE OF ZSTR_DEL_SCH WITH HEADER LINE.
      DATA: WA_EKPO   TYPE EKPO,
            WA_EKEK   TYPE EKEK.
      DATA: TEMP_DATE       LIKE SY-DATUM,
            TEMP_MONTH      TYPE SPMON,
            THIS_MONTH      TYPE SPMON,
            NEXT_MONTH      TYPE SPMON,
            NEXT_NEXT_MONTH TYPE SPMON,
            L_DAY(2)        TYPE N.
      DATA: QTY_TEMP TYPE I.
      DATA: MDPAX TYPE MDPA,
            MDPMX TYPE TABLE OF MDPM WITH HEADER LINE,
            MDSBX TYPE TABLE OF MDSB WITH HEADER LINE.
      DATA: lf_formname           TYPE tdsfname.
      clear ent_retco.
      l_druvo = '9'.
      l_xfz = 'X'.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
    call function 'ME_PRINT_PO'
          exporting
               ix_nast        = l_nast
               ix_druvo       = l_druvo
               doc            = l_doc
               ix_xfz         = l_xfz
               ix_screen      = ent_screen
               ix_from_memory = l_from_memory
               ix_toa_dara    = toa_dara
               ix_arc_params  = arc_params
               ix_fonam       = tnapr-fonam          "HW 214570
          importing
               ex_retco       = ent_retco.
    *T_EKET[] = l_doc-XEKET[].
      LOOP AT l_doc-XEKET INTO WA_EKET.
        CLEAR: WA_EKET_NEW,
               T_EKET_NEW.
        CASE WA_EKET-LPEIN.
          WHEN '2'.
            T_EKET_NEW = WA_EKET.
            WA_EKET_NEW = WA_EKET.
            T_EKET_NEW-MENGE = WA_EKET-MENGE DIV 2.
           QTY_TEMP = WA_EKET-MENGE DIV 2.
           T_EKET_NEW-MENGE =  QTY_TEMP.
            CALL FUNCTION 'COS6_QUANTITY_ROUND'
              EXPORTING
                I_QUANTITY             = T_EKET_NEW-MENGE
                I_UNIT                 = 'EA'
              IMPORTING
                E_QUANTITY             = T_EKET_NEW-MENGE
            EXCEPTIONS
              UNIT_NOT_DEFINED       = 1
              OTHERS                 = 2
            IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
            APPEND T_EKET_NEW.
            WRITE WA_EKET-EINDT TO L_DATE USING EDIT MASK '__.__.____'.
            CALL FUNCTION 'DATE_IN_FUTURE'
              EXPORTING
                ANZAHL_TAGE                   = '6'
                IMPORT_DATUM                  = L_DATE
              IMPORTING
              EXPORT_DATUM_EXT_FORMAT       = WA_EKET_NEW-EINDT
                EXPORT_DATUM_INT_FORMAT       = WA_EKET_NEW-EINDT
            WA_EKET_NEW-MENGE = WA_EKET-MENGE - T_EKET_NEW-MENGE.
            APPEND WA_EKET_NEW TO T_EKET_NEW.
          WHEN '3'.
            T_EKET_NEW = WA_EKET.
            WA_EKET_NEW = WA_EKET.
            T_EKET_NEW-MENGE = WA_EKET-MENGE DIV 2.
            APPEND T_EKET_NEW.
            CALL FUNCTION 'MM_ARRANG_GET_END_OF_MONTH'
              EXPORTING
                I_DATUM = WA_EKET-EINDT
              IMPORTING
                E_DATUM = WA_EKET_NEW-EINDT.
            WA_EKET_NEW-MENGE = WA_EKET-MENGE - T_EKET_NEW-MENGE.
            APPEND WA_EKET_NEW TO T_EKET_NEW.
          WHEN OTHERS.
            APPEND WA_EKET TO T_EKET_NEW.
        ENDCASE.
      ENDLOOP.
      THIS_MONTH = SY-DATUM+(6).
      CALL FUNCTION 'HR_BR_ADD_MONTH_TO_DATE'
        EXPORTING
          DMM_DATIN       = SY-DATUM
          DMM_COUNT       = '1'
          DMM_OPER        = '+'
          DMM_POS         = '1'
        IMPORTING
          DMM_DAOUT       = TEMP_DATE
    EXCEPTIONS
      UNKNOWN         = 1
      OTHERS          = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      NEXT_MONTH = TEMP_DATE+(6).
      CLEAR TEMP_DATE.
      CALL FUNCTION 'HR_BR_ADD_MONTH_TO_DATE'
        EXPORTING
          DMM_DATIN       = SY-DATUM
          DMM_COUNT       = '2'
          DMM_OPER        = '+'
          DMM_POS         = '1'
        IMPORTING
          DMM_DAOUT       = TEMP_DATE
    EXCEPTIONS
      UNKNOWN         = 1
      OTHERS          = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      NEXT_NEXT_MONTH = TEMP_DATE+(6).
      LOOP AT l_doc-XEKPO INTO WA_EKPO.
        CLEAR: T_DEL_SCH,
               WA_EKEK.
        MOVE-CORRESPONDING WA_EKPO TO T_DEL_SCH.
        CLEAR MAX_ABRUF.
        LOOP AT l_doc-Xekek INTO WA_EKEK.
          IF WA_EKEK-ABRUF GT MAX_ABRUF.
            MAX_ABRUF = WA_EKEK-ABRUF.
          ENDIF.
        ENDLOOP.
        CLEAR WA_EKEK.
        READ TABLE l_doc-Xekek INTO WA_EKEK
             WITH KEY EBELN = WA_EKPO-EBELN
                      EBELP = WA_EKPO-EBELP
                      ABRUF = MAX_ABRUF.
        T_DEL_SCH-LFNKD = WA_EKEK-LFNKD.
        LOOP AT T_EKET_NEW
             WHERE EBELN = WA_EKPO-EBELN AND
                   EBELP = WA_EKPO-EBELP.
    ****GET COMPONENTS***********************
          REFRESH: mdpmx, mdsbx.
          CLEAR: mdpmx, mdsbx.
          on change of t_eket_new-rsnum.
            mdpax-rsnum = t_eket_new-rsnum.
            mdpax-matnr = wa_ekpo-matnr.
            mdpax-pwwrk = wa_ekpo-werks.
            CALL FUNCTION 'MD_LESEN_KOMPONENTEN'
              EXPORTING
                emdpa = mdpax
              IMPORTING
                imdpa = mdpax
              TABLES
                mdpmx = mdpmx
                mdsbx = mdsbx.
          endon.
          TEMP_MONTH = T_EKET_NEW-EINDT+(6).
          CASE TEMP_MONTH.
            WHEN THIS_MONTH.
              L_DAY = T_EKET_NEW-EINDT+6(2).
              IF L_DAY BETWEEN '01' AND '07'.
                T_DEL_SCH-QTYW1 = T_DEL_SCH-QTYW1 + T_EKET_NEW-MENGE.
              ELSEIF L_DAY BETWEEN '08' AND '14'.
                T_DEL_SCH-QTYW2 = T_DEL_SCH-QTYW2 + T_EKET_NEW-MENGE.
              ELSEIF L_DAY BETWEEN '15' AND '22'.
                T_DEL_SCH-QTYW3 = T_DEL_SCH-QTYW3 + T_EKET_NEW-MENGE.
              ELSE.
                T_DEL_SCH-QTYW4 = T_DEL_SCH-QTYW4 + T_EKET_NEW-MENGE.
              ENDIF.
              T_DEL_SCH-C_QTYM1 = T_DEL_SCH-C_QTYM1 + mdpmx-erfmg.
            WHEN NEXT_MONTH.
              T_DEL_SCH-QTYM2 = T_DEL_SCH-QTYM2 + T_EKET_NEW-MENGE.
              T_DEL_SCH-C_QTYM2 = T_DEL_SCH-C_QTYM2 + mdpmx-erfmg.
            WHEN NEXT_NEXT_MONTH.
              T_DEL_SCH-QTYM3 = T_DEL_SCH-QTYM3 + T_EKET_NEW-MENGE.
              T_DEL_SCH-C_QTYM3 = T_DEL_SCH-C_QTYM3 + mdpmx-erfmg.
          ENDCASE.
          if mdpmx-matnr is not initial.
            T_DEL_SCH-C_MATNR = mdpmx-matnr.
            T_DEL_SCH-C_TXZ01 = mdpmx-maktx.
            T_DEL_SCH-PSTYP = WA_EKPO-PSTYP.
          endif.
        ENDLOOP.
        T_DEL_SCH-QTYTO = T_DEL_SCH-QTYW1 + T_DEL_SCH-QTYW2 + T_DEL_SCH-QTYW3 + T_DEL_SCH-QTYW4.
        APPEND T_DEL_SCH.
        CLEAR T_DEL_SCH.
      ENDLOOP.
    SmartForm from customizing table TNAPR
      lf_formname = tnapr-sform.
    determine smartform function module for PO
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           IMPORTING  fm_name            = lf_fm_name
           EXCEPTIONS no_form            = 1
                      no_function_module = 2
                      OTHERS             = 3.
       IF sy-subrc <> 0.
      error handling
         cf_retcode = sy-subrc.
         PERFORM protocol_update.
       ENDIF.
    ENDIF.
      CALL FUNCTION lf_fm_name
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
         USER_SETTINGS              = space
          ZXEKKO                     = l_doc-XEKKO
          ZXPEKKO                    = l_doc-XPEKKO
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          L_XEKPO                    = l_doc-XEKPO
          L_XEKPA                    = l_doc-XEKPA
          L_XPEKPO                   = l_doc-XPEKPO
          L_XEKET                    = T_EKET_NEW
          L_XTKOMV                   = l_doc-xtkomv
          L_XEKKN                    = l_doc-Xekkn
          L_XEKEK                    = l_doc-Xekek
          T_DEL_SCH                  = T_DEL_SCH
       EXCEPTIONS
         FORMATTING_ERROR           = 1
         INTERNAL_ERROR             = 2
         SEND_ERROR                 = 3
         USER_CANCELED              = 4
         OTHERS                     = 5
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
    *- nast-sndex wird als Kennzeichen für Probedruck verwendet
        IF l_nast-kappl  EQ 'EL'    AND ent_screen  IS INITIAL AND
           l_from_memory IS INITIAL AND l_nast-sndex IS INITIAL.
    missing environment for limiting update print dependend data
          IF sy-ucomm NE '9ANZ' AND sy-ucomm NE '9DPR'.
            PERFORM update_release TABLES l_doc-xekpo l_doc-xekek l_doc-xekeh
                                                USING  l_druvo l_nast-kschl.
          ENDIF.
        ENDIF.
      ENDIF.
    endform.                    "entry_lphe
    *eject
    ****SUBROUTINE COPIED FROM INCLUDE LMEDRUCKF1K BY jithendra 28.12.2006***
    *****to change release status of delivery schedule
          FORM update_release                                           *
    -->  t_xekpo                                                       *
    -->  t_xekek                                                       *
    -->  t_xekeh                                                       *
    -->  p_druvo                                                       *
    -->  p_kschl                                                       *
    FORM update_release TABLES t_xekpo STRUCTURE ekpo
                               t_xekek STRUCTURE ekek
                               t_xekeh STRUCTURE ekeh
                        USING  p_druvo
                               p_kschl.
      TABLES: t161m.
      CLEAR t161m.
      SELECT SINGLE druab INTO t161m-druab FROM t161m
                             WHERE kvewe = 'B'
                             AND   kappl = 'EL'
                             AND   druvo = p_druvo
                             AND   kschl = p_kschl.
      IF NOT sy-subrc = 0 OR NOT t161m-druab = 'X'.
        EXIT.
      ENDIF.
      DELETE t_xekek WHERE webrl EQ '1' OR webrl EQ '2'.
      CALL FUNCTION 'ME_UPDATE_FROM_PRINTING'
        TABLES
          i_ekek = t_xekek
          i_ekeh = t_xekeh
          i_ekpo = t_xekpo
        EXCEPTIONS
          OTHERS = 1.
    ENDFORM.                    "update_release
    Lieferabrufdruck für Formular MEDRUCK ohne Fortschrittszahlen
    form entry_lphe_cd using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '9'.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
        IMPORTING
          ex_retco       = ent_retco.
    endform.                    "entry_lphe_cd
    *eject
    Feinabrufdruck für Formular MEDRUCK mit Fortschrittszahlen
    form entry_lpje using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_xfz,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = 'A'.
      l_xfz = 'X'.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_xfz         = l_xfz
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
        IMPORTING
          ex_retco       = ent_retco.
    endform.                    "entry_lpje
    *eject
    Feinabrufdruck für Formular MEDRUCK ohne Fortschrittszahlen
    form entry_lpje_cd using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = 'A'.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
        IMPORTING
          ex_retco       = ent_retco.
    endform.                    "entry_lpje_cd
    *eject
      INCLUDE FM06PE02                                                   *
    form entry_neu_matrix using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_mflag       = 'X'
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = tnapr-fonam                          "HW 214570
        IMPORTING
          ex_retco       = ent_retco.
      data: l_komk type komk occurs 0 with header line.
      DATA: lf_fm_name            TYPE rs38l_fnam.
    endform.                    "entry_neu_matrix
    *eject
    Angebotsabsage
    form entry_absa using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      l_druvo = '4'.
      clear ent_retco.
      call function 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_dru

    Hi,
    Depending on whether you have a Sales order or Purchase order.
    If sales order -> then go to NACE -> Sales -> check your Zsmartform
    If Purchase order -> go to NACE -> under PO output -> find your Zsmartform.
    In both cases, after u find your smartform name, thru change log.
    At runtime read what are the header text changes  and pass it to the smartform.
    You can use FM read_txt for this.
    Hope this helps.

  • How to print long Text & No of page settings in F-58

    Dear Gurus,
    Can anybody guide me reg. below:
    01. user want to print long text also along with document.
    02. When user printing F-58 Payment advice..where we can set no of pages
    Pls guide me.
    REgards,
    Venkat

    Hi,
    a. Display Document FB03 and change current layout (Ctrl+F8) and choose GL Long Text (SKAT_TXT50).
    Rgds.

  • Unable to print added text only in Acrobat Pro XI

    User is trying to print added text that's been added to an existing PDF page.  In Acrobat X she chose "Form fields only" under Comments & Forms from the Print menu.  In XI it produces a blank page.  The added text only shows up if she chooses Document or Document and Markups, but then she gets the entire document.  She only wants the added text to print.

    Thanks to all who commented here.  I found that adding text using Tools>Content Editing>Add Text will not allow the user to print solely the added text.  As everyone responded here, that's as designed.  However, using Comment>Annotations>Add Text does allow the user to print solely the added text as she was used to doing in Acrobat X.  I thought it was the same tool under two different headings, but obviously they interact differently in the print menu.  Choosing Form fields only from the Print Menu's Comments & Forms panel will produce solely the text added under the Comment panel's Add Text tool without printing the rest of the document page.  And the user doesn't have to turn the document into a form to do so.

  • Printing vertical text in SMART FORMS

    Hi,guys iam fresher to this environment and i just want to print vertical text in SMARTFORMS.Will you please provide any information regarding this.

    Hi Raja,
       As far as my knowledge its not possible in Smartforms.
      I had the same requirement , what I had done is I have created a text in word and saved that as BMP and used that logo inside that window. But the requirement for me was that the TEXT was Static means it was not changing.
    Reward points if Helpful
    Regards
    Avi.........

  • Officejet 150 wont print full pages in Word

    Officejet 150 Mobile misses printing parts of a page of text in Word 2007.  I created several lines of text and it simply won't print them all.  I then filled an entire page with Ariel, size 11 font.   It skipped printing every third line.  I repeated this with a larger font and it cut the text, horizontally, along the same width lines.  Did the same thing in Corel WordPerfect X4 with the same result.  Ditto in Avery Design & Print.  It won't print entire 3/4" sections across the page.  I've uninstalled drivers/printer, rebooted, etc., several times to no avail.  Print Doctor keeps saying device is busy but it's not.  No print jobs in que, printer was cycled on and off (several times).   

    Hey @dmartin05, 
    Welcome to the HP Support Forum.  
    I understand your HP Officejet 150 Mobile All-in-One Printer won't print full pages from specific word processing programs.  I would like to help.  
    I recommend you try the following steps so we can determine whether this is most likely a hardware versus software issue: 
    From the front panel of your printer, make a black copy of an ordinary full-page text document.  Does the partial page/print quality issue persist?  
    Next, touch Setup / Reports/ and Print Quality Diagnostic.  How does the Print Quality Diagnostic from your printer compare to the report highlighted in the following link?: 
    HP Officejet 150 Mobile All-in-One Printer Series (L511) - Troubleshooting Print Quality Issues
    If you were able to make a decent copy of a text document, and your Print Quality Diagnostic Report printed without any discernible issues then we can safely assume the issue is software related.  If that's the case, please respond to this post and I'll be happy to provide further troubleshooting suggestions.    
    If you find it's the opposite and there are print quality issues from the front panel, treat this as a hardware issue and follow the troubleshooting steps provided in the above-linked article.  
    Best of luck - have a great weekend!  
    E-roq
    I work on behalf of HP.
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

Maybe you are looking for