Output Processing routine giving error in VA01 - Processing Log

Hi,
We have assigned a Smartform in NACE to a Customized Output type ZURE.
When we issue the Output we are getting the Output proceed correctly but in the processing log we are getting an Error record 'Processing routine ENTRY_NEU in program ZRVADOR01 does not exist', but the routine ENTRY_NEU exits in the program ZRVADOR01 and output is generating form the same routine.
Please advice how to proceed.
Regards,
Ramu N.

Hi..
  I understand that u have  copied the Program ZRVADOR01 from Standard prg RVADOR01.
Then you have to <b>activate all the includes</b> in your program ZRVADOR01.
The Form Routine ENTRY_NEW may exist in a include which may not be Active.
<b>Reward if Helpful.</b>

Similar Messages

  • ERES process is giving error in Case Management

    Hi All,
    I am trying to implement ERES in Case Management -> Agent Dashboard -> Case Summary (click on 'E-Record' button).
    I have done the setups as mentioned in the Doc ID 1067744.1.
    I am facing the below issues
    1. As per the step 9 (Expected results), 'E-Record Details' is not enabled in 'Tools1' menu. It's still disabled.
    2. As per the step 11, I am able to test the AME setups - No Issues.
    3. As per the step 6 (ERES Administrator), when I validate the event 'oracle.apps.cs.sr.ServiceRequestApproval', I am getting the below error under XML Payload.
    An unexpected error has occurred while generating the XML payload. ORA-20001: The DB to XML transformation has failed with the following error: ECX_MAP_NOT_FOUND. The log file details are: ecx.plsql.out.61034.1609.log ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.EDR_UTILITIES", line 1488 ORA-06512: at line 2
    Could anyone help me to resolve this error for "ECX_MAP_NOT_FOUND"?
    I noticed that there is NO data in ECX_MAPPINGS table for the event when I run the below query
    SELECT * FROM ECX_MAPPINGS WHERE MAP_CODE like 'oracle.apps.cs.sr.ServiceRequestApproval';
    Thanks,
    Harish Nunna

    Solution:
    Add a new Subscription Parameter called EDR_XML_MAP_CODE for "oracle.apps.cs.sr.ServiceRequestApproval" business event:
    1. Login as SYSADMIN user
    2. (R) Workflow Administrator Web Applications responsibility
    3. (N) Administrator Workflow: Business Events
    4. Search for Name = oracle.apps.cs.sr.ServiceRequestApproval
    5. Click on "Subscription" icon
    6. Click on Update pen icon
    7. Update Event Subscriptions page will load
    8. Click on Next
    9. At the Subscription Parameters section click on Add Another Row button
    10. Add EDR_XML_MAP_CODE with oracle.apps.edr.erectxt.create value and Apply.

  • IFS very slow and giving error message in jserv.log

    Getting the error message in jserv.log
    =public
    [05/06/2001 08:08:51:181] (EMERGENCY) ajp12[1]: cannot scan servlet headers (50
    0)
    [05/06/2001 08:08:51:182] (ERROR) an error returned handling request via protoco
    l "ajpv12"
    I have tried changing a lot of stuff in both the jserv.properties, jserv.conf, zone.properties and in IFS configuration files .

    If possible, connect to your router with Ethernet and turn off Wi-Fi. Any difference?

  • First DTP in Process chain giving Error "CX_RSB_WRITE_ERROR"

    Hi All,
    I am facing a problem when I execute a process chain.
    I have a master process chain and 3 sub process chains. Each of these sub process chains are having some DTP in it in a sequential order. These DTP's are Independent of each other, so even if the first one gives you errors, the remaining ones will get executed.
    These DTP's are used to put some files in to the Open Hub Destination, which is the application server, using logical files names.
    now the problem is that, when i execute the master Process Chain, the first DTP in each of the sub Process chains are getting failed by giving an error. the error is as follows.
    Error : Uncaught_exception.
    Exception : CX_RSB_WRITE_ERROR
    Any idea in how to correct this? Any help in this regard will be highly appreciated.
    Thanks
    Ajith

    You might have missed some parameters in the FILE transaction.
    Check the below links so that u may get idea wht u missed out.
    Re: Can any one tell me how to write open hubs to application server?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    This might not be an security or authorization issue if u did not face such issue earlier. if so check with BASIS and add security roles to the generic user.

  • BPM Process trigger -  giving error

    Hi ,
    I have created the WSDL file to trigger start process of BPM.
    When i am executing the webservice from WSNAVIGATOR am getting the below error:-
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.
    at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1026)
    at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:104)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:730)
    at
    i have created one more wsdl file and running through the WSNAVIGATOR getting below error:-
    Server Exception: Could not retrieve SDO HelperContext for service_id XXXX//STARTEVENT; nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException: Could not retrieve SDO HelperContext for service_id XXXXX/STARTEVENT
    [EXCEPTION]
    java.rmi.ServerException: Server Exception: Could not retrieve SDO HelperContext for service_id XXXX/STARTEVENT; nested exception is
    Please help me on this.
    Thanks in advance

    Manish,
    Thanks for your information.
    I have already tried both ways, including the mesage start trigger with WSDL and default service.(No luck on both scenarios, earlier it's was working fine perfectly).
    We made some changes to WSDL, adding Few element as per our business logic.
    Application it's not triggering the process.
    Thanks
    Praneeth

  • Process Chain giving error

    Hi All,
    We are using a web service data source (gets data from MDM through XI). We created a process chain for this load, but when it's run, the chain is failed at the process type " Close any Open requests (this process consists of the corresponding Info Package)" saying that info package was not found. But all the objects are in active status only.
    Can anyone please provide me with the solution?
    Thanks in advance,
    Hima Bindu

    Hi,
    Thank you  for your responses.
    The problem was solved by saving all the info packages that are present in the 'Close Open Requests' process type of the process chain and running the process chain again.
    This may be because we have migrated all the objects to the production system before the process chain run. So i think the Info Packages need to be saved in the production system.
    Thanks
    Hima Bindu

  • DP background processing job giving error

    Hi All,
    I am running few macros in a DP job. The macros are simple ones for just few KF additions.
    When I am running the macros in interactive planning mode, and saving the results, it works all fine.
    The same macros (in the job) when run in background, I am getting an error - " History cannot be entered in book, you cannot save data" and the results are not saved in the planning book.
    Any pointer to this would be of great help.
    Regards
    Manotosh

    Hi All,
    I found a similar thread in SDN which describes the issue.
    History cannot be entered in book
    Is it the check box 'Not ready for input' under Unit Column tab?
    Or Input check box (next to Visbile) ?
    In our case, 'Not ready for input' is not checked and Input from is checked.
    Regards
    Manotosh

  • Payables Accounting Process Completing with Error

    Hi All,
    After running Payables Accounting Process I am getting error
    Spawned Process 151662
    MSG-00001: After SRWINIT
    MSG-00002: Check that AX is not installed before calling the accounting engine
    MSG-00003: AX is not installed, Calling the accounting engine
    MSG-00004: After the call to AP_Accounting_Engine_Pkg.Do_Accounting
    MSG-00005: Error occured in the accounting process
    MSG-00006: Error Message:
    REP-1419: 'beforereport': PL/SQL program aborted.
    Inside Execute for Invoice_Canc_Event_Core
    Inside Derive_Accounting_Entry for Invoice_Event_Core
    Starting Accrual Basis Accounting for Invoice Event...
    INSERTing Header into AP_AE_Headers ...
    ORA-00001: unique constraint (AP.AP_AE_HEADERS_U2) violated occurred in
    AP_ACCOU
    NTING_MAIN_PKG.Insert_AE_HeaderAP_INVOICE_EVENT_CORE_PKG.Derive_Accounting_Entry
    <-AP_INVOICE_CANC_EVENT_CORE_PKG.Execute<-AP_ACCOUNTING_MAIN_PKG.Create_Accounti
    ng_Entry<-AP_ACCOUNTING_ENGINE_PKG.do_accounting<-APXAEREP
    with parameters (&PAR
    AMETERS)
    while performing the following operation:
    &DEBUG_INFO
    End of log messages from FND_FILE
    Program exited with status 1
    Please suggest what could be the possible error, this is happening in Production so sort of urgent!
    Thanks,
    Anchorage

    Duplicate thread ..
    Payables Accounting Process Completing with Error
    Payables Accounting Process Completing with Error

  • Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB

    Hi All,
    I am facing the following problem in production server when even the file got processed successfully .
    Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause The system tried to insert a data record, even though a data record with the same primary key already exists
    Can you please suggest how it can be handled?
    Regards,
    Saras

    You need to debug your proxy program and check all the insert statemrnts. Looks like there is an exception being thrown in the proxy (may be after the completion logic to push the data in to db) which is not being caught.
    Proxies are object oriented and it is a good practice to implement Exception Handling mechanism.
    VJ

  • PO Output Type / Processing Routine Problem

    Hello everyone,
    I cannot seem to find any reference to the problem described below.
    I have encountered a problem by migrating from SAPFM06P to SAPLMEDRUCK during an ECC 5.0 upgrade, at a client where I am under contract as an ABAP Developer.
    Here is some background to the situation.  The client is currently migrating from version 4.6C to 5.0 and thought it was a good idea to upgrade their purchase order messaging  programs from the outdated SAPFM06P, which was utilized in version 3.x, to the newer program SAPLMEDRUCK implemented for use in version 4.6.
    Specifically, Message Output (ME9F) controls the output of purchase order messages in foreground, when the purchase order message is saved and the "further Data option" of the PO message contains "requested processing" equal to the value of "send with application own transaction".  This way, the actual messaging can be controlled in foreground and "breakpoints" can be set to display tables and fields.  Behind the scenes, the message status program RSNAST00 is executed by ME9F program RM06ENDR_ALV.  During this execution, it locates the message (NAST) record from the purchase order and the (TNAPR) configuration, which links the output type to the ABAP print program and SAPscript layout set.  The specific problem is: in RSNAST00, the external call perform "PERFORM (TNAPR-RONAM) in PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN IF FOUND" does not pass NAST information to the called program (TNAPR-PGNAM).  I know no NAST table information is passed because I set a break-point on the perform and single step to the print program.  Therefore, the purchase order is unknown by the print program (TNAPR-PGNAM) and results in an error and no purchase order print is provided.  Needless to say, this was tested with a new "Z" version of SAPLMEDRUCK.  So, I changed the program name (output type processing routine) in configuration to SAPLMEDRUCK, but there again the NAST information is not passed to the print program from RSNAST00.  Ironically, I reverted back to the older "z" version of SAPFM06P and NAST and TNAPR information is passed to the print program thru the external call perform quoted above.  I prefer to not modify the SAP original code for RSNAST00, which is used in many other applications.
    One other note, I had previously performed this maneuver on one different occasion with very successful results.
    Has anyone ever encountered this problem in a 5.0 environment (running Windows NT and MSSQL and SAP BASIS 6.4).
    I know this is long winded, but I wanted to explain the background of the entire situation.
    Any and all help would be appreciated.  Thanks in advance,

    Dave,
    Your entry points (like form ENTRY_NEU) should remain in your current version of SAPFM06P.  Change that form to reflect the function calls in the new SAPLMEDRUCK form (ENTRY_NEU) (calls to ME_READ_PO_FOR_PRINTING and ME_PO_PRINT.
    Look at the example below:
    Here is the form in your old (Z) version of SAPFM06P:
    FORM ENTRY_NEU USING ENT_RETCO ENT_SCREEN.
    XSCREEN = ENT_SCREEN.
    IF NAST-AENDE EQ SPACE.
       XDRUVO = '1'.
    ELSE.
       XDRUVO = '2'.
    ENDIF.
    CLEAR: XFZ, XOFFEN, XLMAHN, XLPET.
    *- Anstoß Verarbeitung -
    CLEAR ENT_RETCO.
    PERFORM LESEN USING NAST.
    MOVE RETCO TO ENT_RETCO.
    ENDFORM.
    Here is form entry_neu in your new (Z) version of SAPFM06P:
      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.
      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.
    Remember, the form should be in the Z version of SAPFM06P - not the Z version of SAPLMEDRUCK.  Make sure the configuration (TNAPR) has the SAPFM06P program name and entry point.
    It should work.  Let me know how it goes.
    Rick

  • Assign PO Smartform in NACE error-Processing routine does not exist

    I have created a Z-Smartform and Z-driverProgram and assigned both in NACE:
       Medium-           Program-                      Form-                                 PDF/Smartform-   Type
    Print output-     ZSFPOREPORT-                          -ZSFPOREPORT- SmartForm
    but a error message : Processing routine in program ZSFPOREPORT does not exist  ..
    Do we need to code in driver prog under a Subroutine and call the same (or) Do we need to create a Form with Special Interface parameters similar to Entry_NEU ..
    I am not sure as ENTRY_NEU is for a Script but we need to assign a SMARTFORM here...
    So Gurus suggest.....

    Hi
    DATA:   fm_name  TYPE rs38l_fnam.
    *-- Call the Smartform for Label Printing.
            CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
              EXPORTING
                formname           = 'ZLS_XXXXX'
              IMPORTING
                fm_name            = fm_name
              EXCEPTIONS
                no_form            = 1
                no_function_module = 2
                OTHERS             = 3.
            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 fm_name
              EXPORTING
                v_XXXX         = v_YYYYY
                v_matnr          = mara-matnr
              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.
    But this pattern is not same for all driver program. So you can do the following:
    Step 1: Click on the area where you want to write function module.
    Step 2: Click on "Pattern" at the top of the SAP window. Enter the function name as  SSF_FUNCTION_MODULE_NAME  and
                 press ok.
    Step 3: Now fill up the reqd fields. Give the name of the smartform in
                 EXPORTING
                formname           = 'ZLS_XXXXX'
    Step 4: Now go to the SMARTFORMS program Environment->Function Module Name  and copy  the Module Name.
                Again click on "Pattern" and paste the module name. Again you will get a pattern(i.e. the second function)
    Step 5: Replace the Function module name with "fm_name" as shown in the code above.
    Then your code is ready.
    Thanks & Regards
    Rocky kr. Agarwal.

  • Output Types Processing Routines

    Hi experts,
    I need help regarding the Output Types Processing Routines.
    In SAP, there are several Processing Routines, how does the processing routines work if you put a Program and Forms to Processing 1 and Processing 2?
    Points will be rewarded.
    Thanks....

    Hi Salem,
    When you execute a program through a transaction, then the first program and the first form are executed..
    These entries are maintained in NAST table.. Now, the first o/p is displayed... When you press the BACK button on the o/p of first form screen, It goes back to the SAP code and check for the second entry if any, if it exists, it calls the second progarm and the second form.. and so on..
    Thanks and Best Regards,
    Vikas Bittera.
    **Reward if useful**

  • Error "Processing routine ENTRY in program ztest does not exist"

    Hi All ,
               I facing problem in Samrt form  driver program
            Error "Processing routine ENTRY in program ztest does not exist"
             when i given print through T.Code Me22n
             Can you suggest  me why i facing this problem.........
      This is below my driver program code:
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Edited by: Rob Burbank on Mar 10, 2010 9:53 AM

    Hi nIck,
             I  write the code this way
              can you suggest me any changes are require
      FORM ENTRY USING RETURN_CODE TYPE I US_SCREEN TYPE C.
      PERFORM DATA_FETCH.
      PERFORM DATA_PROCESS.
      PERFORM CALL_FORM.
    ENDFORM.                    "entry
    *&      Form  data_fetch
          text
    FORM DATA_FETCH.
      PONUMBER = NAST-OBJKY.
    ENDFORM.                    "data_fetch
    Regards
    Raju
    Edited by: raju mahapatra on Mar 11, 2010 7:23 AM

  • PO Output: Processing Routine

    Hi all,
    Under "Processing Routine" for the PO Output setup, we can assign the print program, form routine and the SAPScript name.  There are more than one entries you can set as the assignment starts from "Processing 1" up to "Processing 5".
    I normally set up the program name, routine and SAPScript under "Processing 1" columns.  I wonder what are the rest are used for?
    Any idea?
    Thanks.
    Tom

    Hi Tom,
    thanks for the extra info.
    I can only guess at the reason for the other options because I have never seen anyone mainatin anything other than "processing 1" and everything works fine.
    perhaps it is a method of having alternative forms and programs that can be used in different situations - sorry, stating the obvious here 
    I don't know how the system would know to use an alternative and which one to use? Perhaps there is some hidden code that trys the next entry if the first one fails????? perhaps it is connected to the "layout module" field on the same screen? Perhaps this uses logic to determine which combination to use depending on the circumstances?
    It is a really good question, but unless you need to use the alternatives for any reason, I guess that is is just "nice to know" the logic?
    Steve B

  • Processing routine ENTRY in program ZRVADIN0111 does not exist for smartfor

    Hi ,
    This is the log , I am getting in vf02 ..
    ==========log==============
    Message Text
    Processing routine ENTRY in program ZRVADIN0111 does not exist
    Technical Data
    Message type__________ E (Error)
    Message class_________ VN (Output control)
    Message number________ 068
    Message variable 1____ ENTRY
    Message variable 2____ ZRVADIN0111
    Message variable 3____ 
    Message variable 4____ 
    Message Attributes
    Level of detail_______ 
    Problem class_________ 0
    Sort criterion________ 
    Number________________ 1
    ======================================end log========================
    My driver program is same as below and form is ZSUNDRY_INVOICES_VENU'
    ================my driver program ===================
    *& Report  ZRVADIN0111
    REPORT  ZRVADIN0111.
    TABLES : nast.
    *TYPES : BEGIN OF ty_header,
           vbeln TYPE vbeln_vf,
           fkdat TYPE fkdat,
           XBLNR TYPE XBLNR_V1,
           STCEG TYPE STCEG,
           kunrg TYPE KUNRG,
           name1 TYPE AD_NAME1,
           city1 TYPE AD_CITY1,
           post_code1 TYPE AD_PSTCD1,
           street TYPE AD_STREET,
           total TYPE NETWR_FP,
           END OF ty_header.
    DATA : sum TYPE i VALUE '0'.
    *TYPES : BEGIN OF ty_item,
           matnr TYPE matnr,
           arktx TYPE arktx,
           fkimg TYPE fkimg,
           VRKME TYPE VRKME,
           netwr TYPE NETWR_FP,
           MWSBP TYPE MWSBP,
           unipr TYPE NETWR_FP,
           END OF ty_item.
    DATA : gs_header TYPE zsd_inv_header,
           it_item TYPE STANDARD TABLE OF zsd_inv_items.
    FIELD-SYMBOLS : <fs_item> TYPE zsd_inv_items.
    DATA : gv_adrnr TYPE adrnr.
    *data: s_vbeln type vbeln_vf.
    *select-options : so_vbeln for s_vbeln.
    *START-OF-SELECTION.
    *form entry.
    *--- Get header
      SELECT SINGLE vbeln fkdat xblnr stceg kunrg bukrs
               FROM vbrk INTO gs_header
               WHERE vbeln = nast-objky.
      SELECT matnr arktx fkimg vrkme netwr mwsbp
           INTO CORRESPONDING FIELDS OF TABLE it_item
           FROM vbrp WHERE vbeln = gs_header-vbeln.
        LOOP AT it_item ASSIGNING <fs_item>.
          <fs_item>-unipr = <fs_item>-netwr / <fs_item>-fkimg.
          sum = sum + <fs_item>-netwr.
          ENDLOOP .
          gs_header-total = sum.
          CLEAR : gv_adrnr.
    SELECT SINGLE adrnr FROM kna1 INTO gv_adrnr WHERE kunnr = gs_header-kunrg.
       SELECT SINGLE name1 city1 post_code1 street FROM adrc
              INTO (gs_header-name1,gs_header-city1,gs_header-post_code1,gs_header-street)
              WHERE ADDRNUMBER = gv_adrnr.
    *end-OF-SELECTION.
    data: fm_name type rs38l_fnam.
    ****calling entry routine
    *FORM entry USING return_code us_screen.
    CLEAR retcode.
    xscreen = us_screen.
    PERFORM processing USING us_screen.
    CASE retcode.
       WHEN 0.
         return_code = 0.
       WHEN 3.
         return_code = 3.
       WHEN OTHERS.
         return_code = 1.
    ENDCASE.
    *ENDFORM.                    "entry
    calling smartfrom from ABAP
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZSUNDRY_INVOICES_VENU'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
      IMPORTING
        FM_NAME                  = FM_NAME
      EXCEPTIONS
        NO_FORM                  = 1
        NO_FUNCTION_MODULE       = 2
        OTHERS                   = 3.
    if sy-subrc <> 0.
       WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    CALL FUNCTION fm_name
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
        IS_HEADER                  = gs_header
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        IT_ITEMS                   = it_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 FM_NAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
    TABLES
       GS_MKPF                    = INT_MKPF
    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.
    end of call function module from abap
    *endform.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    can any body help me with proper code , i have to insert in driver program ..to retify error ...
    thanks
    Regards,
    Venu.

    Call transaction NACE (type V1 for Sales Order) look for the required output type and check program and form in processing routines. (and add code markups when you copy source code in forums)
    Regards,
    Raymond

Maybe you are looking for