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

Similar Messages

  • 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>

  • 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

  • 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**

  • 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

  • How to use processing routine 2 for another smartform in nace

    Hi Techies,
    I have configured custom smartform ZS1 for standard program RLE_DELNOTE for delivery in nace.
    Now I need to configure another smartforms ZS2 for same program.
    How to proceed with this?
    Due to client constrain, I cannot make changes in ZS1.
    If it would be custom program, I can create new Form Routine, and proceed.
    But for same form routine, can you suggest differentiation methodology to proceed with processing routine 2:
    Program                   RLE_DELNOTE
    Form Routine              ENTRY
    Smartform Form        ZS2
    Kindle guide.
    Thanks in advance ,
    Tanaya

    Hi Tanaya,
    You can create a new output type in NACE and get this done. get a copy of existing output and attach your new smart form there. maintain appropriate condition records so that your document will trigger 2 outputs.
    Thanks,
    tansap.

  • Output determination routines

    Hi,
    I have an enhancement to develop output determination routines for the Output types in the Shipment document to trigger outbound interface to the Freight Forwarder based on the Shipment statuses.
    Need to develop 2 routines say 950,951.
    SD Shipment :
    Output Type      Application      Routine Number
    ZE01                           V7                              9XX
    ZE02                            V7                              9XX
    Routine for ZE01.
    For the Shipment document number in the table VTTK (VTTK-TKNUM),check status VTTK-STTRG = 1 (Planning completed) then the Output will be triggered.
    Routine for ZE02.
    For  the Shipment document in the table VTTK table check the status in VTTK-STRRG = 4 (Loading End) then issue the output.
    I have created the routines and wrote the code for ZE01 like below.
    FORM KOBED_984.
    *if status of vttk-sttrg(Overall transportation status) is 1,(Planning completed) then outputtype is triggered.
    IF VTTK-STTRG = 1.
      SY-SUBRC = 0.
    ELSE.
       SY-SUBRC = 4.
    ENDIF.
    ENDFORM.
    This will work fine.?Or I need to consider the shipment document number anywhere.?NAST-OBJECTKEY will hold the document number.?i need to loop it.?or just the sy-subrc check is only required..?
    Kindly help..
    /Ranjith

    Hi,
    If you really want to be 100% sure that your requirements are rechecked before output, you need to use your own entry module when processing NASt output
    See e.G. in TNAPR for your output type which print program/ form entry is used and replace it by your own entry module : Then you can check your own rules again and cancel before doing the actual output( i.e. don't call the 'processing' form )
    ( contra : you need make a copy of standard print program )
    Alternatively, you could check e.g. the userexits that are triggered when reading the document data to be printed and set the correct return code ( r.g. retcode = 4 when your validations are not met ). This will stop processing also. ( e.g. GET_DATA_USEREXIT )
    The correct names of the variables etc..depend on the print program that you are actually using .
    ( pro : Could maybe be done without copying standard print program )
    Is it still standard print program ?
    rgds
    Dirk

  • Processing routine ENTRY_ERS_SMART in program ZPDIV_SBINVOICE does not exis

    Hi experts,
    We created new smartform and print program for ERS invoice and the objects are still in the development system. The output type was triggered when invoice is created however it has an error in the processing log and the error is "Processing routine ENTRY_ERS_SMART in program /AMA/PDIV_SBINVOICE does not exist".
    The program /AMA/PDIV_SBINVOICE has subroutine ENTRY_ERS_SMART but I don't know why it has a error message like this.
    Any ideas?
    Thanks,
    Eric

    Hi
    Check this report RSNAST00 and debug the code
    I think you have not maintained the print parameters in your driver program
    please check the same
    for reference check the driver program RLB_INVOICE
    and this perform
    determine print data
    PERFORM set_print_data_to_read USING lf_formname
    CHANGING ls_print_data_to_read
    cf_retcode.
    Regards
    Shiva

  • Output Processing. Dispatch Time: 3 ( Application own Transaction)

    Hi,
    I have created output records for an output type with the dispath time =3 (Application Own Transaction) and Transmission Medium = 8 (Special Function) and provided a processing routine to output type.
    The output records are populated in sales orders in "Not Processed" Status. My question when will the output gets processed and changes its status to "Processed" when the Dispatch Time is 3 (Application Own Transaction).

    Hello,
    In transaction V/30 there is 'Dispatch Time' tab where one option is
    'Send with application own transaction', you could create your own
    transaction to fulfill your requirements.
    I hope you find this information very helpful and hopefully it will solve your problem.
    Regards,
    Martina McElwain
    SD - Forum Moderator

  • 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.

  • Processing routine ENTRY in program ZINVOICE does not exist

    Hi all,
    I am finding an error after taking the print out of Excise Invoice in Tcode J1IP.
         We had a requirement where we created new output type and  changed  the driver program for the output assignment earlier this invoice was developed in script we changed it to a smartform. and assigned in NACE.
    Its working fine we r getting the printout also after getting the print out when I goto tcode VF02 a error log is being created
    when i click on the error log its showing
    Processing routine ENTRY in program ZINVOICE does not exist
    Zinvoice is the driver program.
    I hope to get inputs from you in resolving the issue.
    Hope to get the reply at the earliest
    Shivakumar K B
    9886920258

    This error message is quite tricky and misleading one.
    Make sure in your custom program, all the logic must be in a FORM-ENDFORM.
    form entry.
    Logic...
    endform.
    this form may have any name (not needed to be only ENTRY).
    The signification of the form is that this name will be given in the subroutine name in NACE transaction.
    the standard program RSNAST00 which triggers all the print program dynamically.
    it will fetch the name of the print program and form name from TNAPR table and calls the same.
    perform (TNAPR-RONAM) in (TNAPR-PROGNAME).
    At run time, the TNAPR-RONAM and progname will be filled with your z program name and the subroutine name.
    Rgds,
    SaiRam

  • Processing Routines in NACE for Outbound delivery(DESADV)

    Hi to all,
    i'm triggering an IDOC while changing the delivery,( message type DESADV and basic type DELVRY05)
    i'm using processing routines with program RSNASTED and form routine EDI_PROCESSING and i created
    my own output type(ZLD0).
    Now my requirement is that i want to populate some custom fields into IDOC( for that i already created extension)
    these custom fields i can get in one BADI- BADI_V56K. ( i implementend this BADI also.
    But problrm is that while changing the delivery the control doesn't go into this badi, for this i need to execute the program
    RSNAST00 manually.
    i tried with this (RSNAST00)program name in NACE configuaration  with output type->default values-.dispatch time->
    send with periodically scheduled job. but now IDOC is not triggering.
    Can anybody suggest me solution for this so i can use BADI mentioned above.
    Thanks......

    yes while changing the delivery idoc is generating now. but my problem is that i need user exit for populating the custom fields.
    i tried with BADI's and user-exits mentioned above but my control doesn't go into there...i want proper user-exit or badi so i will update custom fields while changing the delivery...following are the fields in my custom segment....
    a.     Order Number, VBAK-VBELN (please use table VBFA as reference).
    b.     Site ID u2013 There is a field E1EDL20-VSTEL(Shipping point, I think we can use this. Will need to be added to the IDoc if this is not correct during testing).
    c.     Country of Origin :
    d.     Currency : VBAK-WAERK
    e.     Line Item No: VBAP-POSNR
    f.     Customer Part number : VBAP-KDMAT
    g.     Sales Price : VBAP-NETWR
    h.     Status of the Delivery (Custom Table to be developed).
    i.     License number (Custom Table to be developed).
    j.     Parent Line Item Number1 : VBAP-UEPOS
    k.     Parent Line Item Number2 : VBAP-UEPOS
    l.     Parent Line Item Number3 : VBAP-UEPOS

  • VOFM output control routine for VT01N

    I need to know what the temporary strucutre or internal table is that SAP uses for deliveries.  The values eventually get stroed in table VTTP.  But when using VT01N they are not there of course until it is actually saved to the DB.  The output control routine that was created gets invoked or called before it is saved so I have to read from the temp or internal table SAP uses to load these values for the deliveries.  Does anyone know what this table might be?  I am allowing or preventing output based on some detail concerning the delieveries but none of it is stored until it is saved so I need this temp table to get to the values.

    Look in INCLUDE VTTPDATA.
    This is where the internal tables are defined for VT01N.
    *   INCLUDE VTTPDATA                                                   *
    TABLES:  VTTP,   *VTTP,
             VTTPD,  *VTTPD,
             VTTPVB, *VTTPVB.
    DATA:    BEGIN OF COMMON PART VTTPCOM.
    *   shipment items
    * Data base contents
    DATA:    BEGIN OF DBVTTP OCCURS 0.
               INCLUDE STRUCTURE VTTP.
    DATA:    END OF DBVTTP.
    * New table contents
    DATA:    BEGIN OF XVTTP OCCURS 0.         "Sortiert nach:
               INCLUDE STRUCTURE VTTPVB.      " MANDT TKNUM TPNUM VBELN
    DATA:    END OF XVTTP.
    * Old table contents
    DATA:    BEGIN OF YVTTP OCCURS 0.         "Sortiert nach:
               INCLUDE STRUCTURE VTTPVB.      " MANDT TKNUM TPNUM
    DATA:    END OF YVTTP.
    * Temporary table contents
    DATA:    BEGIN OF LVTTP OCCURS 0.
               INCLUDE STRUCTURE VTTPVB.
    DATA:    END OF LVTTP.
    * Definition of keys
    DATA:    BEGIN OF VTTP_KEY,
               MANDT LIKE VTTP-MANDT,
               TKNUM LIKE VTTP-TKNUM,
               TPNUM LIKE VTTP-TPNUM,
             END   OF VTTP_KEY.
    * Internal table for screen processing
    DATA:    BEGIN OF IVTTP OCCURS 0,        "Sortierkriterium wechselt !
               TKNUM LIKE VTTP-TKNUM,
               TPRFO LIKE VTTP-TPRFO,
               TPNUM LIKE VTTP-TPNUM,
               VBELN LIKE VTTP-VBELN,
               VSTEL LIKE VTRLK-VSTEL,
               WERKS LIKE VTTPVB-WERKS,
               LAND1 LIKE VTRLK-LAND1,
               PSTLZ LIKE VTRLK-PSTLZ,
               KUNNR LIKE VTRLK-KUNNR,
               LIFNR LIKE VTTPVB-LIFNR,
               CONADDR LIKE V56IDLNT-CONADDR,
               TABIX LIKE SY-TABIX,
               XTRLK LIKE SY-TABIX,
               BTGWC LIKE VTRLK-BTGEW,
               GSGWC LIKE VTRLK-BRGEW,
               VOLMC LIKE VTRLK-VOLUM,
    *        fields below will be updated during tree processing
               BTGWD LIKE V56IQUA-BTGWD,
               GSGWD LIKE V56IQUA-GSGWD,
               VOLMD LIKE V56IQUA-VOLMD,
               DTMEG LIKE TVTK-DTMEG,
               DTMEV LIKE TVTK-DTMEV,
               TKNEW LIKE VTTP-TKNUM,
               SELKZ LIKE RV56A-SELTSTP,
             END   OF IVTTP.
    *   deliveries in process
    DATA: BEGIN OF XTRLK OCCURS 0.         "delivery headers
            INCLUDE STRUCTURE VTRLK.       "Sortiert nach MANDT VBELN
    DATA: END OF XTRLK.
    DATA: BEGIN OF XTRLP OCCURS 0.         "delivery items
            INCLUDE STRUCTURE VTRLP.       "Sortiert nach VBELN POSNR
    DATA: END OF XTRLP.
    DATA:    END OF COMMON PART.
    If you put a breakpoint in you VOFM routine, you should be able to examine which of these has the data that you need.
    If you need more info, such as header data etc
    Look at these others:
    *        Internal tables for shipment data base
    SET EXTENDED CHECK OFF.
    INCLUDE vttkdata.                      "shipment header
    INCLUDE vttpdata.                      "shipment item
    INCLUDE vttsdata.                      "shipment segment
    INCLUDE vbpadata.                      "partner
    INCLUDE vtfadata.                      "flow
    INCLUDE sadrdata.                      "address
    This is from the top include MV56ATOP for the program run by VT01N, SAPMV56A.
    You can access all of this through SE84, Information System.
    Good luck
    Brian

  • Processing Routines in t.code V/40

    Hi gurus,
    Good day! Please kindly assist to advice how does Processing Routines work. Our system currently has 2 processing routines maintained (Processing 1 and Processing 2) to one Output Type. Please advice how will the system go to Processing 2 as currently, our test only go to Processing 1.
    Thank you in advance!
    Rellie

    Hi,
    It is not possible to have 2 different routines to be assigned to one output type in the procedure. I think when you say 2 routines, you are saying 2 logics or you are saying the subroutines KOBED and KOBEV of the routine.
    In all reqmt routines, which is in discussion now, only one of the subroutines will be always called, though I dont know unfortunately which one is this. As you said, that only one of your processing logic works, that is the right subroutine area where the second logic should also be coded. So please move your code from the inactive subroutine area to the active subroutine area. Now you should be able to see both the validations being active.
    Hope this helps. If the case is different, please let us know.

  • Processing routines for Invoice(RD00) in V/40

    Hello,
    I am displaying invoice details on a smartform for which i have created my own smartform 'ABC' and am using the SAP program 'RLB_INVOICE'. I am changed the related info in the processing routines in V/40 for Invoice(RD00).But the form doesnt show up when i issue output in vf03.
    Secondly, there's aint any problem with the smartform cause i have run it and its showing the formm thru F8
    What can be the problem ?
    Thanks..

    Hello,
    VF03 is for display, output has been processed already. Especially when you are using archiving the output will be displayed with the old smartform.
    To be sure you are working with the correct smarform put a break-point in RLB_INVOICE an issue the output using VF31.
    Regards,
    John.

Maybe you are looking for

  • Pressing Enter Button Gives a Blank Page while Cursor is in Text Field

    Hi, I have a problem on my jsp page that there is a text filed (input type="text") and a button (input type="button") to submit the page. When page loads the cursor blinks in the text field, and at the same moment if i hit the enter button of my keyb

  • Re: Selecting multiple dates that are outside a specified time period

    Hi All, I have the following dataset/table structure: Order #     Customer ID     Order Date 4     10     14-Jan-09 3     10     25-Jul-08 2     10     20-Jul-08 1     10     15-Jul-08 What I'm trying to do is a tad complicated for my skillset. I wan

  • Creating Certificate using Acrobat dll in C# program

    Hello, I need to create a certificate, basically .pfx file in C#. I used makecert tool to create the certificate first and then export it into .pfx file through command line. My attempt was successful. Then I used the .pfx file to encrypt a pdf using

  • Binding Fault

    Hi all, I am trying to execute my BPEL process.My BPEL process gets successfully compiled and deployed on BPEL engine,but I am trying to create an instance of this process,I am gettting binding error <bindingFault xmlns="http://schemas.oracle.com/bpe

  • IPhoto 7.1.4 won't print

    Installed iPhoto 7.1.4, but now I can't print. Sez there are no themes available. But they are in the root library Application Support folder-and the app lives in the root application folder. Copied themes into ~/Library/Application Support/iPhoto ju