Regarding form routines IN ECC 6.0

Hi Abapers,
                   I am currently working in ECC 6.0. I have come through an error as
se old_entry_xxx as a form routine if you use an own print program
I have a form routine in my include program as follows...
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.
  CLEAR ENT_RETCO.
  PERFORM LESEN USING NAST.
  MOVE RETCO TO ENT_RETCO.
ENDFORM.   
Can anyone give any hints regarding how to come out of this error, i guess its a unicode error but not sure.
Frnds looking for ur help.
thanks
& regards,
kamal

Hi ,
       I have'nt come up with any solutions yet. But wht i consider is the perform doesnt exist for that form routine.I m wondering , Is that a form routine has any "perform". Frnds if anyone is having any clues plzz provide.
Its basically a Upgrade task.
thanking u all.
regards,
kamal

Similar Messages

  • Form routine for ALE medium

    Hi
    can anyone tell me
    whats the processing routine used for medium ALE.
    is it ::logsys or ALE_PROCESSING for program RNASTED.
    thanks
    its very urgent, pls help me in rectifying it soon

    Hi,
    R/3 Side:
    1. SM59 - Create & test RFC Configuration
    2. WE21 - Create a tRFC Port in R/3 & give the RFC destination(logical name of XI)
    3. WE20 - Create the partner profile for the partner type LS. Add the Outbound parameters, Message Type ORDERS, give the       above created Receiver Port(tRFC).
    4. Output Mode-choose radio button Transfer Idoc Immed.
    5. Give the IDoc type - ORDERS05 (for version ECC 6.0).
    XI Side:
    1. SM59 - Create & test RFC Configuration
    2. T.Code-IDX1, create the port, give R/3 client, give R/3 logical system as RFC Destination.
    3. T.Code-IDX2, add the IDoc ORDERS05, for the above port.
    R/3 Side:
    1. Check in T.Code NACE, for output type NEU, for Medium, A Distribution ALE, Program RSNASTED & Form Routine ALE_PROCESSING is mentioned or not.
    2. Create a PO in ME21N, before saving, in Messages, select the output type NEU, for Medium A, in further data, selct send       immed.when saving, then SAVE the PO.
    3. WE05 - Observe the created IDoc & the control record.
    XI Side:
    1. Create a scenario for imported IDoc-ORDERS05. Activate.
    1. IDX5 - Check XML Messages
    Regards,
    Balaji

  • Use of us_screen in the form routine :  FORM entry USING retcode us_screen

    Hello All,
    I have one print program entry routine as below.
    FORM entry USING retcode us_screen.
    Some code to print the form data...
    EndForm.
    When i Check the value of us_screen in the debuging, its value is coming as blank.
    When i checked the other form routine the value of us_screen is coming as 'X.
    I am my getting why in my case value of us_screen is coming as blank.
    What is significant of this field.
    Thanks & Regards
    Sachin Yadav

    Cusomization might be missing for that output type in transaction NACE.
    us_screen is blank because below query fails due to missing entry in table TNAPR.
    SELECT SINGLE * FROM TNAPR WHERE KSCHL = P_KSCHL
                               AND   NACHA = P_NACHA
                               AND   KAPPL = P_KAPPL.
    First assign the output type with a Transmission medium, Program, Form Routine, Form in transaction NACE
    Take the help of your functional consultant.

  • TRANSMISSION MEDIUM AND FORM ROUTINE IN CASE OF NACE TRANSACTION

    While saving a invoice, I have created a routine which will pick an output type when a certain condition is met.
    A custom report (Zprogram) needs to be triggered automatically during this invoice save. So we need to attach this Zprogram to output type.
    Could anybody tell me the transmission medium to be selected and also what needs to be entered in the field Form routine for this program which I have created in the transaction NACE->V3(Billing)->Output types->Processing routines?
    Thanks in advance.

    HI Shah,
    Form routine is nothing but a sub routine in your Z program (Driver Program). Simply one driver program can be used in multiple Layouts by using Form routines. If you are using the driver program only for one layout, then the routine declaration is not necessary.
    Simply select the transmission medium as Print out in case of print. Special function means whether you want trigger this form for only Bill-to-party or Ship-to-party etc.. I hope you need to maintain as SH or BP, check with your functional people once.
    You can check the below link for further customization reference.
    Link: [output type configuration;
    You can check the below link to know the exact meaning for Form routine.
    Link: [https://forums.sdn.sap.com/click.jspa?searchID=13772541&messageID=5319599]
    Regards,
    Raghu..

  • How to delete a Form Routine in Table Maintenance?

    Hello,
    Very Good Morning!
    How to delete a Form Routine in Table Maintenance?
    I had created a Form Routine at Environment>Modifcation>Events.
    I want to delete a Form Routine that I had created. Can any one please explain me the way I can delete it.
    Any suggestions are appreciated!
    Thanks & Regards
    Kittu

    Hello Rudra,
    Very Good morning!
    I am in Environment>Modification>Events.
    Here is had created a form routine ie...
    01   From_entry    Editor Icon
    In Editor Icon we will write the code.
    This will create a Include in the Function group.
    I had already comented that Include from the Function group. I can even delete it. But, I want to delete the Form Routine that I had created....
    01   From_entry    Editor Icon
    Can any one hepl me please...
    Thanks & Regards,
    Kittu

  • Global variable declaration in form routines

    Hi All,
    i am new of the smartforms, i have a small problem in smartforms.
    i need to display the one text based on the condtions, already i have putted the condtions in the condition tab for the text, i need to compare the one more condtion, the condtion is TB_INFORMATION IS NOT INITIAL.
    the code was devaloped in the formroutines , i need to implement the one condtion in the form routines,
    the condition is if TB_INFORMATION IS NOT INITIAL is not initial
                                  va_information = x.
                                endif.
    already i declared the variable in the global defination ,but i am getting the error.
    where can i declare the global variable in form routines.
    Please help me,
    Thanks & Regards
    charan

    declare in global data and it will be visible and available in form routines too.

  • Perform a form routine within a sap script form

    Hi!
    How can I
    perform a form routine within a sap script form.
    Regards
    sas

    OK,
    many thanks for your kindly reply.
    But basically there is a matter which I don't understand.
    Which way is the better way to loop at internal table:
    Solution1:
    FORM xxx.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       DEVICE                           = 'PRINTER'
       FORM                             = 'ZSD_PACKING_LIST'
       LANGUAGE                     =  SY-LANGU   .
    LOOP AT gt_versand_plan INTO gw_versand_plan.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'SHELEM'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN' .
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'.
    ENDFORM.
    Solution 2:
    Having the LOOP within the  sapscript form -> 'ZSD_PACKING_LIST'
    Regards
    sas

  • Form Routine in User Exit

    Hi
    I would like to include a form routine in user exit inlcude ZXTXWU01 but I guess that is not possible, so I created a new include ZXTXWZZZ in which I have developed the code for the form routines...
    But I still get the error in the main user exit ZXTXWU01 stating that the Form... End Form can be only after the End Function which obviously refers to the function module containing the main user exit..
    Please let me know how to over come this ....

    Hi,
    You cannot create another Form...EndForm if the first include ZXTXWU01 is already inside a Form..Endform.
    Meaning following structure is invalid:
                 Form first_form.
                       Include  zzzz
                 Endform.
    In  Include zzzz.
         Form  second_form.
         Endform.
    Instead of a Form..Endform subroutine...directly have the statements in the Include program and remove the Form..Endform.
    Regards,
    Subramanian

  • Form routines in smartforms

    how to use form routines in smartforms??..there is a option for using it in the global definition..plz explain the proper sequence of using it

    Hi Arun,
    In Form routines tab you enter routines that you want to use in the form via the program lines node. Within these form routines you cannot access any global data unless you explicitly pass them to the form routine interface.
    i hope this will be helpfull to u,
    Regards,
    swapnil

  • Error in IT0764 Poortwachter - form routine check_generate

    When trying to create a record in infotype 0764 Poortwachter (parallel to an illness record in 2001), we get an error message when trying to save:
    “Other exception within form routine CHECK_GENERATE” Message no. 5N016
    Does anyone have ideas what could be causing this error?
    (release 7.0.)
    Thanks in advance for your reply!
    Regards, Nanja

    Solved
    Message was edited by:
            Nanja Schouten

  • Urgent: Selection-screen within Form routines

    Hi Experts,
        Within Form routines can i declare selection-screen statements. If no how should i declare my objects on selection screen within form routines bcoz when i declared with selection screen statements within form routines iam getting the error as "Within FORM routines and function modules, the SELECTION-SCREEN statement is not allowed".          
    Regards.
    AADI.

    Hi Aditya,
    U cannot use the Selection-screen in Forms and Function Modules.
    Try to use it in an include program and call it from ur program.
    Reward if Helpful,
    Jagadish.

  • Form routine

    Hi All!
    In the NACE trans, when we configure for the output types for particular forms we have a entry for form routine.What is this exactly shall i give my print program name in this or some other options are there like 'entry'
    Please clarify me on this.
    Regards
    Praneeth
    Message was edited by: Praneeth kumar

    hI PRANEETH
    yOU HAVE MENTION THE PROGRAM I,E THE DRIVER PROGRAM WHICH CALL YOUR FORM.
    THE MENTION THE FORM ROUTINE I.E THE SUB-ROUTINE WHICH IS ACTUALLY CALLED FIRST IN YOUR PRINT PROGRAM AND THEN YUO FROM NAME
    KINLDLY REPLY IF YOU HAVE ANY DOUBT
    <b>FOR EXAMPLE CHECK OUT THIS PROGRAM RVADIN01 FOR INVOICE IN WHICH ENTRY WILL THE SUB-ROUTINE.</b>
    <b>THIS ENTRY WILL GIVEN IN THE NACE</b>
    REGARDS
    KISHORE
    REWARD IF HELPFUL
    Message was edited by: Harikishore Sreenivasulu

  • Calling form-routines

    Hello ABAP gutus,
    i am using 10 form-routines to get some data, in all subroutines code is  same, but i am  passing different internal tables to all form-routines  with USING, CHANGING parameters.
    for example
    perform get_header1 using itab changing jtab.
    perform get_header2 using itab1 changing jtab1.
    FORM get_header1  USING    P_ITAB
                      CHANGING P_JTAB.
       CALL METHOD cl_salv_table=>factory
        IMPORTING
          r_salv_table = r_alvtab
        CHANGING
          t_table      = itab[].
      CALL METHOD r_alvtab->get_columns
        RECEIVING
          value = r_col.
      CALL METHOD r_col->get
        RECEIVING
          value = r_cols.
      loop at r_cols into wa_col.
        ref_col = wa_col-r_column.
        CALL METHOD ref_col->get_medium_text
          RECEIVING
            value = lv_text.
        jtab-header = lv_text.
        APPEND jtab.
        endloop.
    endform.
    FORM get_header2  USING    P_ITAB
                      CHANGING P_JTAB.
       CALL METHOD cl_salv_table=>factory
        IMPORTING
          r_salv_table = r_alvtab
        CHANGING
          t_table      = itab1[].
      CALL METHOD r_alvtab->get_columns
        RECEIVING
          value = r_col.
      CALL METHOD r_col->get
        RECEIVING
          value = r_cols.
      loop at r_cols into wa_col.
        ref_col = wa_col-r_column.
        CALL METHOD ref_col->get_medium_text
          RECEIVING
            value = lv_text.
        jtab1-header = lv_text.
        APPEND jtab1.
        endloop.
    endform.
    as above i used 10 form-routines.but i passed different internal tables.after these subrotines  i am using those internal table in function modules.
    now my client wants me to maintain one form-routine instead of 10 form-routines.
    Is it possible that? please tell me . its urgent
    Regards
    Mahesh

    Hello Naredran.
    see the below code
    perform get_header1 using it changing it1.
    perform get_header1 using itab changing it2.
    *&      Form  get_header1
          text
         -->P_IT  text
         <--P_IT1  text
    FORM get_header1  USING    P_IT
                      CHANGING P_IT1.
        FIELD-SYMBOLS : <FS>.
    CALL METHOD cl_salv_table=>factory
        IMPORTING
          r_salv_table   = r_alvtab
        CHANGING
          t_table        = p_it.
      CALL METHOD r_alvtab->get_columns
        receiving
          value  = r_col
                       CALL METHOD r_col->get
                         receiving
                           value  = r_cols
      loop at r_cols into wa_col.
        ref_col = wa_col-r_column.
    CALL METHOD ref_col->get_medium_text
       receiving
         value  = lv_text.
      assign IT1 to <FS>.    
      <FS> = lv_text.
      append it1.
      endloop.
    ENDFORM.                    " get_header1
    bellow error is coming while use the code which you said.
    A USING reference parameter should not be used. Instead, define the
    parameter as a USING-VALUE(...) or CHANGING parameter.
    please let me know waht is wrong .

  • Form routine for sales order adobe forms

    Hi Friends,
    I have a requirement to create z adobe forms for sales order for customized output type.
    When i checked, there is no form routine designed for calling the adobe forms.
    So, i am planning to copy the standard print program which is available for script and smartforms and creating a z form routine to include the function modules for calling the adobe form.
    Can any one please let me know whether have you worked in any of the same kind of situations and my apporach is ok or anything else can be done.
    Thanks & Regards,
    Prabu

    Hello,
    Plz check your caller program for the same and just find out the output type. for that purpose use the Tcode: NACE for finding the output type than proceed accordingly.
    Regards,
    Akg

  • Form routine name to give fax for Contract (ME31 & ME32)

    Hello All,
    What is the form routine name to be used for faxing the Contract form (ME31 & ME32) in program SAPFM06P?
    Thanks & Best Regards,
    Phani Kumar. S

    Hi,
    Thanks for your replies. But when i give ENTRY_NEU and then try to issue the output for fax, the process is stopped with following error message: Error in OPEN_FORM for document.
    Any idea?
    Thanks & Kind Regards,
    Phani Kumar. S

Maybe you are looking for

  • User Task: Missing elements from payload

    I have created a user task that sends an array of 'people'. The user can select the people they want and reject the rest by removing / setting blank values. I have checked that the payload is being set as an array, but the JSP screen for the task onl

  • Background image on iweb site not showing

    I created a web site using iWeb sometime ago. I used all of the templates provided with the app. Since "me" has come along, all the content on my page displays, BUT the background image on ALL of the pages no longer shows. I republished the site to s

  • 2330 classic - main screen layout

    just got a nokia 2330 classic 1) Is there any way to change the default main screen layout of the phone? can you change the digital clock ot an anlogue one? can you add your appointments of that day that are in the calendar? now the standard main scr

  • HUD display for Here Drive...

    Garmin has announced a HUD for it's NAVGON applications: https://buy.garmin.com/en-US/US/on-the-road/apps/h​ead-up-display-hud-/prod134348.html?utm_source=gar​... It would be TREMENDOUS if we could do something like this with our Lumias.. Even if it

  • Costs assigned to a cc/profit center

    hi, I need to pick up the costs that are assigned to the cost center / profit center (non project).  Which table do i use.  Currently, i get project costs from Covp.  can I get also these(Non project) costs also from Covp?  How do I know if they are