Picking wrong Print Program

Hi Experts,
Business Scenerio:
Client useQM module and on Process order release the output list LK04 (Batch Sht W/o Barcod),LF03 (GLM Label Printing),LV01(Inspection instruct.),LV02 (QA Sample Labeling) are supposed to be printed automatically.
We have Z program for these output list and assigned the same in transaction CB85 and CQ85.Find below the z program assigned  for output list.
LK04---ZPPIMBR1
LF03---ZEHSGLMPRINT
LV01---ZQEEAS20
LV02---ZQMSLB20
Issue:It is picking a wrong program "ZQMSLB20" for output list LK04 on process order release (the correct program assigned to LK04 is ZPPIMBR1) .But when we reprint the process order manually, it is printing correct program(ZPPIMBR1).We tried to debug the process order standard program but not able to apply any break point for output list.The scenerio works OK in developement and testing server with same set of configuration but giving error in preproduction system.
Sarvesh Vashist

In production, normally the buffers are not RESET.
Try to reset the buffers with help of basis team. This might help!!

Similar Messages

  • Picking output not hitting breakpoint in print program

    Hi Guys,
    I have an o/p type ZK00, I need to debug the print program and the script for it. I have placed a breakpoint in the print program at the designated routine in TNAPR (Entry). Now when I try to save the delivery I expect it to hit the code but it isnt. It creates another line in the Extras --> Picking o/p and created a spool as well! Wonder how is it doing that when its not going through the program or the script.
    Breakpoints on the form and the driver are in the same client.
    Thanks for reading
    Regards
    Sameer

    You need to activate the Update Debugging in order to stop it to your break point.
    Before saving Delivery, start debugging and Settings > Update Debugging.
    Regards,
    Naimesh Patel

  • Creation of new Print Program & Variant for new Correspondence Type created

    Dear Friends,
    I have created 2 new Correspondence Types in SAP as SAP61 (Vendor Debit Note) & SAP62 (Vendor Credit Note) by copying SAP09 (Internal Document) properties like itu2019s Name of the print program - RFKORD30 & Name of variant - SAP09.
    We are facing problem when we execute print program in F.64 for SAP09 it is coming same like SAP61 or SAP62. Actual script & print values of SAP09 are replaced by SAP61 or SAP62.
    Please suggest us how we can differentiate both SAP09 & SAP61/62. Because we use these correspondences for different purposes like SAP09 gives the information for the Line items in the Document whereas SAP61/62 gives the information of vendor line item weather it is debit or credit entry.
    Your kind co-operation in this matter is highly appreciated.
    Thanks & Regards,
    Naveen Kumar.P

    "Assigned the from to the company code - progam in V_001F_B"
    Check 'Form ID' field in this IMG transaction against the program and form that you have created.
    I am assuming there are 2 lines with same entries but different form IDs.
    Or there are 2 lines with the same entries but different CoCodes (seem to remember that the CoCode is not taken into account as a key in certain programs - not logical i know but remembered a previous issue I had many moons ago - could be to do with the blank entry for CoCode field if there is one being picked up by the program before the entry that has your CoCode).
    Now check the variant attached and Form ID in step 'Created new program variants in SA38'
    Ensure the correct program and variant are attached in step OB78.
    My assumption is Form ID is the key.
    Hope this helps

  • How to call new window and text element without changing print program

    Hi Friends,
       I have requirement like this . i have a standard print prog and custom form. i want add 2 to 3 extra windows in the form and i have to print some data. but how can v do this with out changing the print program. i know that to pick new fields through subroutines. but how can v call new windows and new text elements with out changing the print program.
    usually in the print program we write as follows.
    write_form
    window = 'HEADER'
    textelemtn = 'HEADER'
    can we accomplish this one also through subroutines or any other way is there.
    can any one pls suggest this.
    Thanks in advance.
    Rahul

    u  copy the standard print program and make custom program.
    write your own codes in it.
    assign this program in the place of standard print program.
    Reward points, if helpful.

  • Order confirmation Print Program and Smartform

    Hi,
    I found a smartform for the order confirmation.'/SMB40/SDORC_A'.I have searched the forums and found the print program to be the same.But we don't have it.We're on ECC 6.0Where can we download the program from?
    Thanks..
    Edited by: John G on Feb 4, 2008 5:19 PM

    Hi John,
    He has given some FM that is generated by that form. But that FM will vary from system to system . So thats very very wrong.
    Some times smartforms will not be there in our system . You have to request your superiors to place the forms in place.
    Reward points if useful
    Regards,
    Nageswar.

  • Problems with Print Program of Production Order (CO03) !!

    Hi all,
      I have a question about Print program of Production Order. I created a new Order in CO01. Then, in CO03, I call Print Program ( menu <b>Functions >> Print</b>). At the first time, it printed a so-called original version. Later, when i printed it again, it informed me that just was a copy. Now, that's ok.
    I made some modification of Print Program by copying and changing the code (let's call it Z_PSFCOBJL) and SAPScript form. However, When I call Print function in CO03 for that Order, it didn't show any changes which I made. What's wrong? I checked in the code by debug mode, the variable that I transfered to the form was correct with its value.
    <b>I think that because SAP just make a print copy so that it will not reflect any changes that I made to the program, right? Is there any way to overcome this because I don't want to create new Orders just for testing every modification</b>?
    Thank you in advance.

    Hi MURUGESAN THANGATHURAI  ,
        Yes, I did assign the new program and new form for this before printing. But I wanna know if there is any way that allows me to view those changes I made?
    When I change the code in Print Program, print-out includes this update (although it still informs me that is a copy version). But when I make changes in the SAPScript form (for example, adding a variable for display), <b>it will not update this</b>?
    What's problem?
    Thank you guys.

  • How to print Signature stored in a flash drive on to check print program?

    Hi,
    I have a check print program template and have the following requirement. I need to print the signature image which is stored in a flash drive that will be inserted in to the check printer (HP laserjet 4250 series). The vendor sent the escape sequence to activate the signatue image. I'm familiar with how to print images stored in $OA_MEDIA area but not in a flash drive.
    Has anyone done this before? If you did, could you please let me know how and where to put the escape sequence the vendor sent on the .rtf document to activate the signature image while the check print program is run (Format Payment Instructions - in rel 12) ?
    Message was edited by:
    user586895

    Hi,
    This is an interesting problem, and not something I have considered before. I do not know of an exact solution, but as your printer is on a network, theoretically it will have an IP address. When your flash drive is inserted into the printer I would assume that is is treated like any other drive in a PC, so you would be able to use a URL to get to it.
    Using a dummy image and a URL to the printer flash drive you should be able to pick up the image.
    Not entirely sure if this would work, but it may be food for thought, and help you along the way.
    Regards,
    Cj

  • SAPscript print program for multiple pages

    Hello friends,
    How to write SAPscript print program for multiple pages? please help me.
    Thanks and regards,
    Shivanand.

    I believe you have posted this question in the wrong forum.  There is an ABAP Forms Printing Forum.

  • Changing the print program

    Hi all,
    I have the print program y_rvadin01 for script for printing invoice.
    Its giving the wrong value for the priceunit.
    When i checked for the program the field value vbdpr-vrkme is wrong we have to use vbrp-vrkme instead.
    i want to change the program with this field value.
    I want to know which steps to consider to change the value from vbdpr-vrkme to vbrp-vrkme bcoz the structure is used lot of times in the program so without disturbing the program.
    please kindly provide me some hints.
    with regards
    chandu.

    Hello,
    The way I would do this is from the layout set. I would use a perform statement.
    In the sapscript:
    i.e. Define &ZVALUE& = ''
    PERFORM GET_VALUE IN PROGRAM ZTEST
    USING &vbrp-vrkme& (value to send to ABAP)
    CHANGING &ZVALUE& (VALUE sent from ABAP to SAPSCRIPT)
    This will send value of &vbrp-vrkme& to the test program.
    you can then use this value in the test program and extract further information from SAP Tables and send it back to the form.
    In the test program (to get value from SAPSCRIPT and send value back)
    form GET_value TABLES INPUT_TABLE STRUCTURE ITCSY
                               out_par_tab STRUCTURE itcsy.
    Input values are in input_table.
    output values to sapscript needs to be updated to out_par_tab.
    You should have examples of this in some customized forms.
    i.e. PO, Sales Invoice etc.
    Hope this is useful.
    Shiva Ziaie

  • Daily & Monthly Backlog Reports and Printing program

    •     <b>Labeling program for Deliveries</b>: This program picks all deliveries created/updated on the current day, validates them by checking whether they have the required labeling information. If the program finds that the labeling information is missing, it populates WMS structures (header & detail) for further.
    •     <b>Daily & Monthly Backlog Reports and Printing program</b>: This program calls 2 separate reports (Daily & Qtrly. Backlog Reports), based on user selection, and directly prints the reports as well as converts them to PDF format and emails them as attachments to the MD.
              Please provide me the solution.

    For First program :
    Use table LIKP (SD Document: Delivery Header Data) & LIPS(item Data) for fetch inf all the data for selected date use field ERZET(Entry time) & ERDAT(Date creation of record) for created deliveries & refer TABLES - CDPOS and CDHDR for modified deliveries
    For Second object:
    Call multiple programs by using SUBMIT <program> with selection screen params.
    Print as per requirement by passing print parameters to Structure PRI_PARAMS &
       call function 'GET_PRINT_PARAMETERS'                     
       exporting destination = liprintr                         
                 mode        = 'CURRENT'                        
                 no_dialog   = 'X'                              
       importing out_parameters = pri_params.                       
    *To Convert ABAP List and SAP Script to PDF files use program - "RSTXPDFT4"
    ALSO REFER this nice weblog >
    /people/erwan.lebrun/blog/2007/04/16/tips-tricks-email-fax-through-the-same-output-type
    Hope it will help.
    Vishal
    Message was edited by:
            Vishal Tyagi

  • Pick list printing

    Hi Experts,
                     How can i stop pick list printing, i have assigned a print program which is used by all plants but I want to stop pick list printing for one of the plants.
    Thanks
    Satya

    Hi,
    Go to T code OMLV and tick the printer where you don't want printing to happen.Hope this will solve your issue.

  • Delivery Picking and Printing

    I've been assigned a project in which once an order goes through a certain criteria, I need to loop through all of it's deliveries and do the following:
    1. Pick all the items on the delivery
    2. Print the Picking List Ticket to a specified printer
    Can anyone give me any ideas on where I should start looking?
    Thanks,
    Curtis

    1/Create smartform for picklist
    ZM_PICK_LIST
    2/Create printing program
    ***********DATA DECLARATION
    tables: vbak.
    DATA:
    gv_func   type RS38L_FNAM,
    gt_vbfa type table of vbfa,
    gs_vbfa type             vbfa.
    ************SELECT REQUIRED ORDER
    select-options: svbeln for vbak-vbeln.
    ***********FIND DELIVERYIES FOR ORDES
    select * from vbfa into gt_vbfa
                                  where vbelv in svblen
                                   and    vbtyp_n = 'J'
                                   and     vbtyp_c = 'O'
    *Find function for smartform
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = 'ZMM_PICKLIST'
           importing  fm_name            = gv_func
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
    *Print Smartfomr picklist for  delivery
          data: gt_text      type ZLINET,
                ls_CTRL_PRNT type SSFCTRLOP.
    ls_CTRL_PRNT-no_dialog = 'X'.        "Suppres dialog
    ls_CTRL_PRNT-DEVICE = 'LOCAL'.   "!!!!!!specify required printer
    loop at svbeln.
    loop at gt_vbfa into gs_vbfa where vbelv = svbeln-low.
      CALL FUNCTION gv_func
        EXPORTING
    CONTROL_PARAMETERS        = LS_CTRL_PRNT
          ZVBFA           = gs_vbfa
        EXCEPTIONS
          FORMATTING_ERROR = 1
          INTERNAL_ERROR   = 2
          SEND_ERROR       = 3
          USER_CANCELED    = 4.
    endloop.
    endloop.
    Edited by: Jan Hoblik on Jan 5, 2011 3:53 PM

  • Detect print program name from within Sapscript. Is this possible?.

    We have a situation whereby for the single and group delivery we have two print programs printing to one Sapscript form. This is exactly what we need, with one exception being the title. What I would like to do is detect the print program and change the title accordingly. Does anyone know if this is possible?.
    regards
    Jason

    Hi Jason,
    hhhmm, the obvious answer sy-repid is of course bogus, because that would contain the program from the SAPscript environment. I wonder though if sy-cprog is of any use - probably not, but was too lazy to test this...
    In general though I'd recommend though to use some better marker than program name. E.g. don't you have any existing global field that can be used (e.g. are you using the same delivery type, same output type, ...)? If you don't have one, maybe you should consider putting a global variable in both print programs that you fill to indicate which type you're processing.
    In theory you could of course determine the program name, even from SAPscript, with the help of a ABAP form routine that evaluates the call stack and returns the program name of the print program. Or you could evaluate TNAPR as suggested by the previous poster, but I'm not sure if that's available by default (like the NAST record); I thought not, but my memory might serve me wrong. If not, I'd personally go with the markup variable (ideally existing content, if not available new one) as this seems the cleaner approach.
    Cheers, harald

  • Urgent,About Purchase order SAPFM06P print program

    Hi ,
        We define a form("ZFORM") for contract printing in language EN,and we want to use it no matter what language the vendor master data is.But now we have a problem that
    when the vendor master data is maintained in ZF language,the print program can not call the form in EN , Do we have to delete other language define of "ZFORM"?
    Does anyone can help? thanks a lot.
    Pole

    Solved by ourself. In fact,we have EN version only, and when we transported the form from DEV to PRD,an unfinished version of ZH form was transported, so it showed the wrong result.

  • Print program is not getting triggered when saving the application

    Hi all,
    My requirement is when i save the invoice using VF01 the print program should get triggered.
    The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
    The setting "send immediately (when saving application)" is also checked.
    I need to configure it for VF01 transaction.
    The error message displayed was " please maintain output device in master data".
    Regards,
    Umesh

    Hi Umesh
    Please check if you have missed any of the following:
    1. Defining Access Sequence(can use existing).
    2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
    3. Output Determination Procedure
    4. Assign Output Procedure to Billing Types
    Kind Regards
    Eswar

Maybe you are looking for