CLOSE_FORM is invalid, OPEN_FORM is missing

Hi All,
There is a custom output type for a delivery which when triggered should print a form (SAP SCRIPT).
But when it is processed via a job (i.e. in background with dispatch time 1) it is not printing the form but still holding a green processed icon. Please note - this is not happening in case of all deliveries. Its giving an error "CLOSE_FORM is invalid, OPEN_FORM is missing".
But when those failed delivieries are processed manually in foregraound (with dispatch time as 4) the form is printed correctly.
Can anyone please guide me where exactly I should check for it as I debugged and could nto find anything wrong. Could nto get this error at all.
Thanks & Regards,
Namrata
Edited by: Rob Burbank on Feb 16, 2012 9:41 AM

Hi,
I think that  the form does not exist. Actually  the forms must physically exist in the client.
You can achieve this by using Transaction code -> SE71 (copy the forms from client 000 to the current client)
Goto transaction code se71->Utilities - >Copy by client.
Then to if your problem isnt resolved ,then u should check which exception is triggered .for this u set a breakpoint
for function module OPEN_FORM).
____R else u  use the form debugger___
Goto Transaction SE71->Utilities -> Activate debugger

Similar Messages

  • Error Message as START_FORM is invalid,OPEN_FORM is Missing

    HI Team,
    When i am trying to create a Standard Order using Transaction VA01 and sales document type as OR,when the order is complete and i try to save i get the message as "Error Message as START_FORM is invalid,OPEN_FORM is Missing",look like a SAP SCRIPT issue ,i checked NACE transaction and looks like a PDF form is mentioned there but when i debug the code i get a FORM which is different than one maintained in NACE ,also when i try to look the form in Se71(the one which i got during debugging) i get the message as the Form is not available in Lnaguage EN.
    Note sure why i get the message as " START_FORM is invalid,OPEN_FORM is Missing".
    Can someone help me on this.
    Regards
    LK

    Hi,
    1. If you attempt to use a form that does not exist, OPEN_FORM or START_FORM returns an exception(FORM). If the application does not react to this exception and continues with printing, it terminates with the above-mentioned error.
    2. The error can also occur if form printing is implicitly terminated. This happens if a page has no subsequent page and further data is to be printed.
    Solution
    1. Check in Customizing whether the required form is stored for printing, and whether it exists (transaction SE71, form maintenance).
    2. Check whether all pages of your form have a subsequent page. This is often not the case, and the above error occurs when further pages are to be printed.
    3. Either a form is not defined for a print list used or an output device assigned to a list does not exist into your system.
    Regards,
    Chandra Kavali

  • Error CONTROL_FORM is invalid, OPEN_FORM is missing(Message no. TD423)

    Hi,
    Iam having a problem that when i go to Transaction vf03 enter Output Type as RD00 and this standard transaction linked to Zprogram in which control forms are used
    Following Control Form are used
    CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              COMMAND = 'PROTECT'.
    CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              COMMAND = 'ENDPROTECT'.
    help required for same
    Thanks
    Shruti

    Hi Shruti,
    please help: START_FORM is invalid, OPEN_FORM is missing
    Regards,
    Sravanthi

  • Please help: START_FORM is invalid, OPEN_FORM is missing

    Dear experts!
    Thank you for your attention!
    could you please distinguish the usages of outputs in shipping?
    such as:
    delivery note
    shipping notification
    freight list
    shipping label
    material tag
    shipping order SA00
    quality certificate LQCA,LQCB
    Best regard!
    Tangdark

    Check these threads
    [OPEN_FORM is missing|OPEN_FORM  is missing]
    [WRITE_FORM is invalid, OPEN_FORM is missing    |WRITE_FORM is invalid, OPEN_FORM is missing]
    thanks
    G. Lakshmipathi

  • Write_form is invalid, open_form is missing

    Dear all,
    I'm facing this error "write_form is invalid, open_form is missing" when I try to output invoice document. When I run debuger, the error comes up just after the FM write_form 'item_line' within 'item_print' subroutine where few queries are declared. The goal is to retrieve those queries from my sapscript with 'item_line' text element.
    Also my open_form FM is declared within RVADOPF0 as it is in standard.
    What I can't understand is how could the programm run correctly when I execute it as a preview and not when I try to output?
    Regards.
    NC.

    Hi Sridhar,
    Thanks for you reply,
    In fact it seems that this come from the dispatch time set up while creating output. When I set it up as "send immediately (when saving the application)" I've got the error raising up and when I do a "send with application own transaction it works fine...
    Quite strange.
    Regards.
    NC.

  • CONTROL_FORM is invalid, START_FORM is missing

    Hi all,
    I understand that this had been asked many times. But somehow, I really cannot figure out what is not right here.
    Please help.
    Below are my steps how to do call function OPEN_FORM, START_FORM...END_FORM and CLOSE_FORM.
    There is a LOOP after the START_FORM.
    The program is working fine, if the LOOP is less than 25. Whenever the LOOP reached 25, it will prompts the error "CONTROL_FORM is invalid, START_FORM is missing"
    call function 'OPEN_FORM'
    call function 'START_FORM'
    LOOP
        call function 'WRITE_FORM'           "Activate header
             exporting  element = 'ITEM_HEADER'
                      type    = 'TOP'
        call function 'CONTROL_FORM'
             exporting
                  command = 'PROTECT'.
        call function 'WRITE_FORM'
             exporting
                  element = 'ITEM_LINE'.
        call function 'CONTROL_FORM'
             exporting
                  command = 'ENDPROTECT'.
        call function 'WRITE_FORM'           "Deactivate Header
             exporting  element  = 'ITEM_HEADER'
                      function = 'DELETE'
                      type     = 'TOP'
        call function 'END_FORM'
    ENDLOOP.
    call function 'CLOSE_FORM'
    Can someone help?
    Thanks in advance.

    Hi everyone,
    I have not yet find out what is the problem but I found this is interesting .
    In my program, the above error message "CONTROL_FORM is invalid, START_FORM is missing" only prompt out, if I defined the form name as "ZFI_ZCI01", but there everything working fine if I define the form name as "ZFI_TEST".
    Both forms have different content. What's wrong in form name "ZFI_ZCI01"?
    Really appreciate if someone can guide me how should I troubleshoot this?
    *CONSTANTS: gv_formname(30) value 'ZFI_TEST'.
    CONSTANTS: gv_formname(30) value 'ZFI_ZCI01'.
    perform open_form.
    call function 'WRITE_FORM'           "First header
         exporting  element = 'ITEM_HEADER'
         exceptions others  = 1.
    call function 'WRITE_FORM'           "Activate header
         exporting  element = 'ITEM_HEADER'
                    type    = 'TOP'
         exceptions others  = 1.
    do 100 times.
      call function 'CONTROL_FORM'
           exporting
                command = 'PROTECT'.
      call function 'WRITE_FORM'
        exporting
          element  = 'ITEM_LINE'.
      call function 'CONTROL_FORM'
           exporting
                command = 'ENDPROTECT'.
    enddo.
    call function 'WRITE_FORM'           "Deactivate Header
         exporting  element  = 'ITEM_HEADER'
                    function = 'DELETE'
                    type     = 'TOP'
         exceptions others   = 1.
    call function 'WRITE_FORM'
      exporting
        element  = 'TOTAL_QTY'.
    perform close_form.
    *&      Form  OPEN_FORM
    form open_form .
      call function 'OPEN_FORM'
       exporting
         device                            = 'PRINTER'
         dialog                            = ' '
         form                              = gv_formname
         language                          = sy-langu
         options                           = itcpo
       exceptions
         canceled                          = 1
         device                            = 2
         form                              = 3
         options                           = 4
         unclosed                          = 5
         mail_options                      = 6
         archive_error                     = 7
         invalid_fax_number                = 8
         more_params_needed_in_batch       = 9
         spool_error                       = 10
         others                            = 11.
    endform.                    " OPEN_FORM

  • Invalid XML Response - missing xmlns=''

    I have a simple BPEL WebService using a xsd elementFormDefault="unqualified".
    {color:#0000ff}+<schema attributeFormDefault="unqualified"+
    elementFormDefault="unqualified"
    targetNamespace="http://xmlns.oracle.com/InvalidXMLResponse"
    xmlns="http://www.w3.org/2001/XMLSchema">
    +<element name="InvalidXMLResponseProcessRequest">+
    +<complexType>+
    +<sequence>+
    +<element name="input" type="string"/>+
    +</sequence>+
    +</complexType>+
    +</element>+
    +<element name="InvalidXMLResponseProcessResponse">+
    +<complexType>+
    +<sequence>+
    +<element name="result" type="string"/>+
    +</sequence>+
    +</complexType>+
    +</element>+
    +</schema>+{color}
    I invoke this WebService with the Web Service Test Page of OC4J
    and get an invalid xml-response (missing xmlns="").
    If i look inside the bpel-console in the instance-flow at the reply activity the
    xml-response looks good.
    GOOD Reponse (at bpel-console):
    +<InvalidXMLResponseProcessResponse xmlns="http://xmlns.oracle.com/InvalidXMLResponse">+
    +<result {color:#ff0000}*xmlns=""*{color}>test</result>+
    +</InvalidXMLResponseProcessResponse>+
    Invalid Response (at every WS Client):
    +<InvalidXMLResponseProcessResponse xmlns="http://xmlns.oracle.com/InvalidXMLResponse">+
    +<result>test</result>+
    +</InvalidXMLResponseProcessResponse>+
    It seams that the xml serializer of the oc4j container does create a valid xml-response.

    I just retested the testcase with an other test environment (10.1.3.4 MLR#3) and everything worked fine.
    {color:#0000ff}+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">+
    +<env:Header/>+
    +<env:Body>+
    +<InvalidXMLResponseProcessResponse xmlns="http://xmlns.oracle.com/InvalidXMLResponse">+
    +<result xmlns="">test</result>+
    +</InvalidXMLResponseProcessResponse>+
    +</env:Body>+
    +</env:Envelope>+{color}
    So there should be an availagle bugfix for this issue.
    I need this bugfix for 10.1.3.3.1 because this is our production environment.

  • Formula Is Invalid and possibly Missing operator

    Hi:
    In a new report build with analytics, I need a new row ("Custom formula in a calculated item) that sum two operands and after that I multiply by (-1) to converter it to a negative value I´m getting the error:
    Formula Is Invalid and possibly Missing operator
    This is the formula:
    ('Fixed Burden{Nivel04}'+'Operating Expense & Other - Fixed{Nivel03}')*(-1)
    By the way, the elements belong to a Hierarchy.
    When I change the value (-1) for (1), dont get the error.

    Hi SriniVEERAVALLI:
    Thanks for answering.
    Your suggestion works, but is not what I needed because I only need it to apply this "negative conversion"  to one row, not the whole columns.
    My statement goes something like this:
    ( A - B ) * (-1)
    The operands that you see in my previous message are hierarchies levels
    'Fixed Burden{Nivel04}'  +
    'Operating Expense & Other - Fixed{Nivel03}'
    * (-1)

  • "missing or invalid personalization information missing resource library" On CS2

    Problem:
    I just installed CS2 on my Gateway Desktop the other day. I was unable to use CS2 because I maxed out my serial code on another laptop for work. I went a head and deactviated the serial for CS2 and uninstalled it on the laptop. So I could use the CS2 on my Gateway Desktop and transfer the serial code.
    I go to my Desktop and the CS2 still won't load right.  Okay, so I try to uninstall the CS2.  But there's no uninstall file and it's not showing up in the uninstall manager in Windows 7. So go a head and delete the majority of the CS2 in my program files and then try reinstall a fresh copy of CS2.  I get an error "missing or invalid personalization information missing resource library."
    How can I get around that new error? So I can reinstall a working copy of CS2 on my desktop. It's a bit frustrating.  Anybody experience the same problem?   Any insight would be great.  Thanks
    -Brian L
    System using:
    Gateway Desktop DX4822 Windows 7 Home
    Intel 2 quad CPU Q8400 @2.66

    Thanks for the link, I tried following the directions to further removing the components but had no luck.  So I went a head and reformated the computer so I can reinstall a clean CS2.
    Good new is it's not nagging about a inproper serial now.  Bad new is whenever I try to install the CS2 in the C:\Program Files (x86)\adobe It says "The path you selected for installation contains unsupported characters.  Please choose a different folder for installation, so I try C:\Program Files (x86)\adobe2.  I still get that prompt blocking me.
    I did some homework on compatability issues like mention. Some people mention to reclick and and select compatability tab and service pack 3 as admin.  I gave that a go.  All that did was reboot the computer.  A few people claim that got CS2 working for windows 7 already here, other's couldn't:
    http://social.answers.microsoft.com/Forums/en-US/w7programs/thread/6f1b4955-7166-4b8f-ad9b -5d19150f803f
    Any ideas what to do next?

  • Adobe CS2 uninstall (as administrator, no antivirus) fails on Windows with "Missing or Invalid Personalization Information", "Missing resources library"

    My previously fully functional Adobe CS2 install on Windows 7 x64 stopped working when the activation service for CS2 was shut down.
    I tried to follow the re-installation instructions at the following web page which first require a complete uninstall of Adobe CS2:
    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
    Running as a local administrator in elevated mode and without a running antivirus (in fact, with an uninstalled antivirus), I get the following error message and the uninstaller refuses to run:
    The installer could not start because of the following reasons:
    Missing or Invalid Personalization Information
    Missing resources library
    I searched the forums and found matching threads such as these:
    https://forums.adobe.com/thread/1602420
    https://forums.adobe.com/thread/1547148
    https://forums.adobe.com/thread/986439
    but they seem to suggest insufficient privileges or an interfering antivirus.
    I opened a chat support case (case number: 0214720731) responded to by @Arunkumar who sent me back to the forums.  When I said similar queries had not been resolved for months, he promised to escalate to his "senior product expert" team to post a solution.  I am posting this message in the hope they will respond with useful suggestions as I do not want to do a complete Windows re-install of an otherwise perfectly functional computer just because the Adobe uninstaller doesn't work.

    You have insufficient privileges to access the registry or your virus scanner is blocking it. Nothing Adobe can fix for you, you need to find the culprit on your system and/ or fix the registry permissions as explained here:
    Installation Preparations | Mylenium's Error Code Database
    Mylenium

  • Invalid views with missing underlying tables

    I have completed an import from one database, 8i version, to a new 10g database and in the process of the import a view was imported in the SYS schema. The table being accessed by the view has since been dropped during another import and now the view is listed as invalid but I am unable to delete the view. Since the import was completed 3 times this view appears 3 times as invalid. When I try to edit the view and include a valid select statement it will recompile but the invalid view still remains.
    Does anyone have an idea how to remove these 3 invalid views?
    Chicago

    Does anyone have an idea how to remove these 3 invalid views?
    select 'Drop view '||  object_name || ';' from dba_objects where object_name='VIEW_NAME' and object_type='VIEW' and status='INVALID'
    and OWNER=<OWNER where INVALID VIEW EXISTS';and execute the script.

  • Having trouble viewing the print preview of sapscript

    Hi experts,
    I am currently developing a driver program that calls 13 different sapscript forms (which are also customized - has n existing standards). so basically, the whole program and the forms are all from scratch.
    I've already executed the call function open, write and close forms, but everytime i test the program in the QAS, (the part where you can choose the print preview and the output device)
    and press the print preview button, a dialog box appears telling me:
    WRITE_FORM is invalid, OPEN_FORM is missing.
    But i clearly stated that in my program.
    Can anyone tell me how am i suppose to write the call functions that will let me see the print preview?
    Also, at this moment, i'm not passing anything yet from the program to the form, i just want to check if the form is being called.
    Thanks,
    Frank

    Hi Franklin,
    Order of calling OPEN_FORM,WRITE_FORM,CLOSE_FORM
    is  CALL FUNCTION 'OPEN_FORM'.
                LOOP AT ITAB.
                  CALL FUNCTION 'WRITE_FORM'  .
               ENDLOOP.
        CALL FUNCTION 'CLOSE_FORM'.
    You know this order.Now as you are calling more than 1 form
    we should call every form between
    CALL FUNCTION 'OPEN_FORM'.
    CALL FUNCTION 'START_FORM'.
    LOOP AT ITAB.
                  CALL FUNCTION 'WRITE_FORM'  .
               ENDLOOP.
    CALL FUNCTION 'END_FORM'.
    CALL FUNCTION 'CLOSE_FORM'.
    Try using this.
    Regards
    Lakshman

  • Changing an output type for SmartForms

    Hi all,
    I have a picklist that I changed from SAPScript to SmartForm.  I am trying to edit the output type EK00 to use the SmartForm.  I am using V/38 to edit EK00 but I can't figure out the right properties.  Right now I have the FM name (/1BCDWB/SF00000017) as the Layout Module, the SmartForm name (ZPCC_PICKLST_STD) as the SmartForm.  Also, under Pricessing 1, I have the print program (ZRVADEK01), FORM routine as (SMARTFORM_PRINT) and Form as (ZPCC_PICKLST_STD).  Is there anything else that I need to change?  When I try to use EK00 it is still looking for a SAPScript instead of a SmartForm.
    Regards,
    Davis

    Matt, thanks for the reply.  I just tried what you posted and it still gives me an error.  I get a popup that says "WRITE_FORM is invalid, OPEN_FORM is missing.
    Could my problem be that the old SAPScript and the new SmartForm have the same name?  Below is the configuration:
    Layout Module:  <b>nothing there</b>
    SmartForm:  <b>ZPCC_PICKLST_STD</b> (name of the smartform)
    Processing 1:
    Program: <b>ZRVADEK01</b>
    FORM routine: <b>SMARTFORM_PRINT</b>
    Regards,
    Davis
    EDIT:  I do not have any SAPScript functions (open_form, close_form, etc...) in the print program.  I took the preconfigured print program for SDPIK_L (preconfigured picklist) and added our custom logic.
    Message was edited by:
            Davis

  • Smart form for Goods issue

    I am facing a problem with smartform. I am creating a smartform for good issue
    This is the smartform Z_SMB40_MMGI1_L and this is the print program Z_SMB40_M07DR
    For ME application i have assigned the output type wlb1 and the above said form in nace.
    I am picking the document number from mb51 based on the movement type 309
    in mb02 for each document i am trying to assigning the output type wlb1
    i was able to assign the output type for only one document number for rest it is showing warnings and also for few documents i am receiving error
    Express document "Update was terminated" received from author "xxxxx"
    how do i assign for all documents at a stretch (in which t code).
    in mb90 i am trying to view the form but it is throwing the error
    START_FORM is invalid, OPEN_FORM is missing,
    even though i have removed the script name.
    can u please help me out by providing the corresponding print program and smartform for above said scenario
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Dec 23, 2008 3:47 PM

    Hi,
    Go to Nace .The application for Goods Issues is
    ME - Inventory Management -> select and click on output types ->select wa03 output type and click on processing routines here you can find the form name and the driver program name.So while printing select wa03 as the output type.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Regards,
    Harini.S
    Edited by: Alvaro Tejada Galindo on Dec 23, 2008 3:46 PM

  • Not able to save sales order

    Hi gurus,
    Iam working on IDES ECC 6.0.
    when iam using a make to order material in sales order and when iam saving sales order it is not allowing me to save and message says, OPEN_FORM IS MISSING and throwing me out without saving sales order.
    But when i use other normal stock material iam able to save the sales order.
    This is happening only for make to order materials.
    Can someone please throw some light on this.
    Thanks gurus,
    Naga.

    Check this thread
    [START_FORM is invalid, OPEN_FORM is missing|START_FORM is invalid, OPEN_FORM is missing]
    thanks
    G. Lakshmipathi

Maybe you are looking for