Customer PO number to be printed in smartform output

Hi,
My requirement is to print customer PO number on the o/p of a smartform based on the delivery number.
The delivery number is already being printed in the o/p.When I checked in debugging mode,this delivery number is being looped twice.The set of values which are coming in the second loop are being printed in the o/p.These set of values are coming in ls_stages-vbeln field(ls_stages is a work area).
Now to get customer PO number,I need to loop ls_stages-vbeln field.How can I do that?
Regards,
Hema

Hi,
Your document output depends on Output program attached to your output condition type.
So if the field Customer Material Number/ Part Number ( VBAP -  KDMAT) is to be printed for the document output.
Ask your abap consultant to add this field in the output program and form
Field name
VBAP -  KDMAT
regards,
Ashish

Similar Messages

  • Customer part number to be printed on the output

    The system shall automatically display/print customer part number or product name on document output.

    Hi,
    Your document output depends on Output program attached to your output condition type.
    So if the field Customer Material Number/ Part Number ( VBAP -  KDMAT) is to be printed for the document output.
    Ask your abap consultant to add this field in the output program and form
    Field name
    VBAP -  KDMAT
    regards,
    Ashish

  • Customer TIn Number to be printed in our invoice

    Hello evertone,
    I have a end user requirement of printiing the xustomer TIN number to be printed in our invoice....is it possible if we maintain the same in customer master data.
    Thanks in advance

    Hi,
    we maintain the customer excise details in t.code J1ID. We have the PAN no. Just check whether we have TIN no. for customer also and in SAP what is the field name. Now are you using the standard ouput type for printing the invoice - RD00? If RD00 layout has the field for printing the TIN number, then if you maintain the TIN no. for customer then when you take the print out of your invoice the TIN of customer will be diaplayed.
    If the TIN no. field is not there in the standard layout of the output type RD00, then ask your ABAPER to make the required changes in the standard layout and include the required field in the layout. Give the specifications to the ABAPER.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • 'AND' symbol is not printing in smartform output.

    Hi all,
    I am facing problem while printing  '&'   symbol using READ_TEXT FM  in smartforms . I have maintained header text in PO header in that text am using special characters like  "&"  , <5  and >5 . While displaying this data in out put it is giving junk characters like .
      i have changed editor also  but no use .
    Regards,
    Rakhi

    Hi,
    try Note 447596.
    Jshree

  • '&' symbol is not printing in smartform output.

    Hi,
    I am facing problem while printing  '&'   symbol using READ_TEXT FM  in smartforms .
    I have maintained header text in PO header in that text am using special characters like
    "&"  , <5  and >5 . While displaying this data in out put it is giving junk characters like 
    >(>&<)<   and  >(>5<)<.
    i have changed editor also  but no use .
    Regards,
    Rakhi
    Moderator Message: Cross-posting is not allowed in the forums
    Edited by: Suhas Saha on Jul 5, 2011 3:59 PM

    Hi,
    try Note 447596.
    Jshree

  • Tax is not coming in print preview (smartform output) of PO

    Hello Experts,
    I am faicng problem that Tax amount is coming in print preveiw only when i click on Taxes button in invoice tab.
    If i dont click on Taxes button it is not coming even though it is present in the PO.
    Please help me out in this issue.
    I have debugged the code. Tax values are coming from std program SAPLMEPO.But i am not able to find the include in that program which is fetching this value( Values of KOMV structure).
    Does anyone have idea which include is working behind this?

    Hi,
    This might be because of the CODE ISSUE either in the PROGRAM OR SMARTFORM .
    Please cehck the code , if you dont have access check with the ABAPer to debgg and identify the issue.
    regards,
    santosh

  • Printing 'material number' in vertical manner in smartforms

    i am printing a smartforms where in the output i have to print a variable in the vertical format.... how can i rotate the variable to print it in the vertical manner... please do help me out.... its very urgent.....

    Hi
    if you want to print only 'material number' text in secondary window... make secondary window width minimal 1 ch and increase the height of window
    you will get the result in Veritical. result for materi number.
    if you want to print material number variable in mainwindow / seconarday window ,
    Create a font using SE73 , go to System barcode - change mode
    select the line "KUNAUNR  Kundenauftragsnumme", dbclick. , you can see
    no barcode type mentioned, like this, create new barcode sytem font and finally give the rotation % , we have 4 different %, 0, 90,180,  270, you this font in your character font/ paragraph font, you can get the result. but make sure printer should support this functionality
    Sriram Chellappa

  • Printing a smartform to a different printer than my default

    I have a function module that gets passes a delivery number and the short-name of a printer.  The function module is supposed to print a smartform (pick list) for that delivery to the specified printer.  The problem is that no matter what I put in for the printer, it prints to my default printer.  If I change it, it will go there.  I'm sure I'm just missing some kind of setting.  Here is what I got:
    printer is the shortname for the printer i want, type RSPOPTYPE
    *Print Smartfomr picklist for  delivery
      data: ls_ctrl_prnt type ssfctrlop,
            ls_outp_opts type ssfcompop.
      ls_ctrl_prnt-no_dialog = 'X'.        " Suppres dialog
      ls_ctrl_prnt-device    = 'PRINTER'.
      ls_outp_opts-tddest    = printer.
      ls_outp_opts-tdprinter = printer.    " Specify required printer
      call function gv_func
        exporting
          control_parameters = ls_ctrl_prnt
          output_options = ls_outp_opts
          pk_hdr               = sf_info
          pk_orders            = sf_odrs
          pk_items             = sf_item
          pk_pgbk              = sf_pgbk
        exceptions
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4.
    Am I missing something here?  Any help would be greatly appreciated.
    Thanks,
    Curtis

    I was able to solve my issue. The field TDIMMED (print immediate) in the parameter OUTPUT_OPTION need to be passed with the value 'X'.
    The code is pasted below.
    DATA: l_ssfctrlop TYPE ssfctrlop,
            l_ssfcompop TYPE ssfcompop,
            l_formname  TYPE tdsfname,
            l_fm_name   TYPE rs38l_fnam.
      CLEAR l_formname.
    Get the smartform name based on the output type
      SELECT SINGLE sform FROM tnapr INTO l_formname
        WHERE kschl = ysdt_dynlayout-auart
          AND nacha = '1'
          AND kappl = 'V2'.
      Get the smartform function module name
        CLEAR l_fm_name.
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = l_formname
          IMPORTING
            fm_name            = l_fm_name
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        IF sy-subrc EQ 0.
          l_ssfctrlop-no_dialog = 'X'.                        " print popup dialog box is suppressed
          l_ssfcompop-tddest    = usr01-spld.         " the printer name is passed from screen to this field
          l_ssfcompop-tdimmed   = 'X'.                    " print immediate option is set
          l_ssfcompop-tdcopies  = copies_in.         " number of copies of output required
        Call the smartform
          CALL FUNCTION l_fm_name
            EXPORTING
              control_parameters = l_ssfctrlop
              output_options     = l_ssfcompop
              user_settings      = ' '                            "manual override of user settings            
              i_del_head         = likp
              i_dyn_layout       = ysdt_dynlayout
            TABLES
              t_del_item         = ig_lips
              t_home_address     = ig_home_address
              t_header_text1     = ig_header_text1
              t_footer_text1     = ig_footer_text1
              t_footer_text2     = ig_footer_text2
              t_footer_text3     = ig_footer_text3
              t_text4            = ig_text4
              t_text5            = ig_text5
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
        ENDIF.

  • Customs declaration number in VAT Invoice output

    Hi Gurus,
    I need to print the customs declaration number in VAT invoice output.I have given the logic to fetch this number from ITEM>Foreign Trade/Customs>Comments tab,but I have come across a scenario if some times user forgot to mention this number in the respective field then the print program won't print,I have tried to enter the value in change mode of billing document VF02 and this field is grayed out.Is there is any other field to maintain this field after the creation of billing document.
    Regards,
    Hari Challa.

    To my knowledge, pretty much the only thing that may be changed in VF02 is the text. See Item Text tab for item-level text, same is available on the header level.
    Usually the right approach is to make sure all the required data is entered in the preceding document (order, delivery, etc.). Then it should be just copied to the invoice.

  • Cannot Get cfprint to print on custom media programmed in the print driver.

    I setup a printer on the server and added custom paper sizes to the print preferences.  (i.e. 5.50 x 7.00)  I can print on these manually with no issues.  When I call the cfprint tag and reference paper="55by7" which is the name of the custom paper size, I get: 
    Invalid media or paper for the cfprint tag.
    Error: Media 55by7 is not valid on ITPrinter. Available media are na-letter,na-legal,Oficio,folio,iso-a4,iso-b5,jis-b5,executive,iso-a5,iso-a6,monarch-enve lope,na-number-10-envelope,iso-designated-long,iso-c5,iso-c6,Postcard 4x6,tabloid,iso-a3,jis-b4,Automatic-Feeder,Manual-Envelope,top,bottom.
    I verifiied the account that the coldfusion service is running as has full permissions to the printer.  If I change the paper to one on the list above it prints fine.  Suggestions?

    I believe you have too much RAM installed ( sorry just a little Numbers' humor).
    I found if I have print gridlines set in Excel, then the same settings transfer to the Numbers' version. They are _very light_ though. Here is how I change border settings. Select the range of cells, set line type, then number of points and color:
    Regards,

  • Differences between Customer PO number & Ship-to Party's PO number

    HI ALL,
    Can anyone explain what is Customer PO number & Ship-to Party's PO number in sales order ?
    what the differences between Customer PO number & Ship-to Party's PO number in sales order ?
    when i use the customer PO number and when i use ship-to party's PO number ?  i mean what condition ?
    what the impact if i use one of them or both ?  what transaction that may problem/potential to problem because i use both of them ?
    Thanks & Best Regards,
    Saiful arif

    In our business we sell products to our dealers.
    The dealer has many end customers, which we have mapped as ship-to party and attached to dealer number (who is defined as sold-to party).
    The dealer combines many of his end customers purchase orders and places as one purchase order with us. When we make shipments, individual line items have different ship-to numbers assigned and for each item seperate ship-to purchase order number is maintained.
    When relevant output documents are printed, both the dealer purchase order number and ship-to (end cusotmer) purchase order numbers are printed and the documents are sent to both dealer and end customers.
    Since the business process demands printing of both the PO numbers, we use this field.
    Regards,

  • ALV output to be printed in smartform

    Dear Experts,
    There is a report which uses ALV using webdynpro ABAP. Say the report has 5 columns A, B, C, D, and E.
    There is also a custom button on ALV 'Print' which calls the smartform to display the output of the ALV( All columns ).
    Now the requirement is, user may hide any of the columns in ALV, say, user chosen to hide B, and D columns. So ALV displays A, C, and E columns respectively.
    When the user presses the 'Print' button smartform should display only the columns selected by the end user on the webdynpro screen. In this case it is A, C and E columns.
    Now is there any way to cpature the list of columns selected by the user or hidden by the user before we process the smartform.
    If there is any please let me know.
    Thanks in advance!
    Regards,
    Shashi

    Dear Experts,
    Awaiting for any replies on this.. Please help in case of any information on this.
    Thanks in advance!
    Regards,
    Shashi

  • Printing movement stock papers - wrong printer in Smartforms

    I have two output information for movement stock papers - the standard one and the custom one (which is the copy of the standard one - from the point of configuration).
    The only one difference is the forms they uses.
    Standard is writen in Sapscript and custom in Smartforms.
    Both outputs are printed automatically during the stock movement but the standard one is printed on the the proper printer which was given in configuration and the custom one on the default printer (for the user). Then when I check in document both outputs were processed ok and it should be printed on the same printer - although they wasn't.
    I would be appreciated for any clue,
    Marta

    I call my smartforms with following options:
    CALL FUNCTION fname
        EXPORTING
          control_parameters         = control_parameters
          USER_SETTINGS          = ' '
          user                              = z_user_name
          id_zm07draus_mm         = id_zm07draus_mm
    EXCEPTIONS
          formatting_error         = 1
          internal_error             = 2
          send_error                 = 3
          user_canceled           = 4
          OTHERS                   = 5
    and now it's even worse... there is no printout at all...

  • Batch printing in Smartforms

    hi guys,
    i have a problem to perform batch printing and process batch printing at a button click and here is the detail explanation of the problem.
    The Front End Screen will be a selection screen with (1) radio buttons listing all form letters, a field for Date of the form, (2) a field for Employee Number (PERNR), (3) a field for Request Date, (4) a field for Request Reason, (5) <b>a selection for Print Now or Print Batch</b>, and (6) <b>a Process Batch button</b>.
    when Radio Button for one of the Forms selected, the User will then select the Print Now or Print Batch option. If the Print Now option was selected, the selected form will be immediately generated and printed. If the Print Batch option has been selected, the data on the Front End Screen will be stored in a batch file for processing and printing en masse.
    Screen when ready to print the batch file of forms. When the Process Batch button is selected, any forms that are stored in the batch file are then processed (created and printed). Forms may be printed multiple times (one for the employee, one for the employee’s supervisor and one for the personnel file). Each form detailed below will indicate the number of copies to be printed.

    Printing a Smartform is always about calling the function module generated for this form. Calling the FM is done from a printing program.
    Put this program into a job using
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
    " FOR each PERNR
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
    ENDIF.
    then when you want to execute the job, call this:
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
    ENDIF.

  • Customer Support Number UK for Indesign

    Hello is there a customer support number for Indesign UK? Happy to pay - have an urgent file that needs to go to print today. Thanks

    greenags wrote:
    Thanks, Our printer managed to help us with the problem but really dissapointed with the Adobe support options. Indesign doesn't have phone support. I dont have time to sit and type on a community as I know nothing about the technical aspects of Indesign!!
    First of all, this is a user-user forum, there rarely is anyone from Adobe on the forums, however it does happen.
    The community is the first place most people who have issues come to - as it's users who can help other users.
    Adobe support is not for technical issues with using the software. The people in the Adobe support and phone support are basically a call center, for issues with installations and other issues around the software not launching/loading, serial numbers and other issues with the general instalation and loading of InDesign.
    InDesign is a professional designers tool - where a trained graphic designer/desktop publisher will have the sufficient knowledge to use and operate the software - including any faults with documents not working correctly.
    And thirdly - I think it's a bit rude to state that you "don't have time to sit and type on a community" - where you came to the community for help, and the help was given, but then state you don't have time.
    If you don't know the technical aspects of InDesign then I suggest you hire someone who does. Or in this case, your printers were kind enough to help out.
    Hope this clarifies the "Adobe Support", "Phone Issues", and "Who we the community are".

Maybe you are looking for