Lookup routine problem

Hi
    I have problem in Lookup routine in transformation.
But need for some object which were not in Standard infocube 0sd_c03, i have created one customize Infocube ZSD_C03_1 where data have been coming from Standard 0SD_C03 infocube by Lookup Transformation routine & running full load DTP in Daily basis. It is working fn till today.
But problem is that now size of data is very huge while full DTP run from 0sd_c03 to ZSD_C03_1. can any one give suggestion what should i do for only delta data come. lookup routine should update data in daily.plz help

Hi
In that case i would suggest you to have a DSO between the data loding process as your expectation cannot be met with data
loading between cube to cube.
Just create a standard DSo between the cubes and do the data loading so that the delta handling will be as per your
expectation
Prathish

Similar Messages

  • ABAP DSO Lookup Routine

    I am new to ABAP......
    I am supposed to create a lookup into a DSO1 while loading data to DSO2.
    I wrote the routine as shown below. But, my problem is that my routine is not fetching any data into the DSO that i am loading into.
    Here is my routine
    Start Routine
    Global Declaration
    DATA: ITAB TYPE STANDARD TABLE OF /BIC/AZVC_MAT00,
          WA_ITAB TYPE  /BIC/AZVC_MAT00.
    SELECT   /BIC/ZVC_PLAN /BIC/ZVC_STYR  MATERIAL  /BIC/ZVC_BILN
    FROM /BIC/AZVC_MAT00  INTO CORRESPONDING FIELDS OF TABLE ITAB
    FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
    /BIC/ZVC_PLAN = SOURCE_PACKAGE-PLAN1
        AND
    /BIC/ZVC_STYR = SOURCE_PACKAGE-STORAGEYEARS.
       endif.
    Field Routine
    READ TABLE ITAB INTO WA_ITAB
         WITH KEY
         /BIC/ZVC_PLAN = SOURCE_FIELDS-PLAN1
          /BIC/ZVC_STYR = SOURCE_FIELDS-STORAGEYEARS.
         IF SY-SUBRC = 0.
         RESULT = WA_ITAB-/BIC/ZVC_BILN.
           ENDIF.
    What am i doing wrong? Someone help me.
    Also, there is data in the active table of the DSO i created lookup to.

    Hi Phil,
    I am transforming the whole code into end routine and see if that gives you correct output or not.
    Declaration of internal table:
    TYPES: BEGIN OF ST_TAB,
                   /BIC/ZVC_PLAN TYPE  /BIC/OIZVC_PLAN,
                   /BIC/ZVC_STYR TYPE  /BIC/OIZVC_STYR,
                    MATERIAL         TYPE  /BI0/OIMATERIAL,              
                  /BIC/ZVC_BILN   TYPE   /BIC/OIZVC_BILN,
                  END OF ST_TAB.
    DATA: ITAB TYPE STANDARD TABLE OF ST_TAB,
          WA_ITAB TYPE  ST_TAB.
    SELECT   /BIC/ZVC_PLAN /BIC/ZVC_STYR  MATERIAL  /BIC/ZVC_BILN
    FROM /BIC/AZVC_MAT00  INTO  TABLE ITAB
    FOR ALL ENTRIES IN RESULT_PACKAGE WHERE
    /BIC/ZVC_PLAN = RESULT_PACKAGE-PLAN1
        AND
    /BIC/ZVC_STYR = RESULT_PACKAGE-STORAGEYEARS.
    loop at RESULT_PACKAGE ASSIGNING <result_fields>.
    READ TABLE ITAB INTO WA_ITAB
         WITH KEY
         /BIC/ZVC_PLAN = <RESULT_FIELDS>-PLAN1
          /BIC/ZVC_STYR = <RESULT_FIELDS>-STORAGEYEARS.
         IF SY-SUBRC = 0.
    <RESULT_FIELDS>-INFOOBJECT = WA_ITAB-/BIC/ZVC_BILN.
           ENDIF.
    ENDLOOP.
    *INFOOBJECT- Name of the infoobject which you created to store the value from look up DSO.
    Note: Please refer this help doc.Make sure you select that option so that the value gets populated for dso in case of end routine.
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/48/6e375c0b104e6de10000000a421937/content.htm
    Hope that helps.
    Regards,
    AL

  • Update Rule Routine Problem

    Hi
    i have wriiten a update rule routine.
    in that routine i am fetching comp code ,GL Acct. from SKB1 table and match those records wth Data Package records.
    Data Package has both Open and Closed items. so i need to match the Comp Code and GL Account which i have fetched from SKB1 with Data Package Comp Code and GL account which records will be matched they will go to Target ODS otherwise Delete from Data Package.
    But data is not coming properly in Target ODS.
    i have debug the routine and found , there are 10 records(Comp Code + GL Acct.) has been fetched from SKB1
    and Data Package has Total 416 Records. Only 20 Records has been gone to Target ODS while I have seen the 216 Comp Code and GL Account combination has been successfully matched with 10 Records of SKB1
    Below is the code in Start routine.
    Note: Data Package has Multiple Records for a Combination of Company Code and GL Account which is present in SKB1.
    How can i resolve this problem.
    ********Logic to Fetch Open items GL Account**************
    *Fetch data from SKB1*********
    SELECT /BIC/ZMCFBUKRS
           /BIC/ZMCFSAKNR
           FROM /BIC/AZOCFSKB100
           INTO TABLE TB_ZOCFSKB1
           FOR ALL ENTRIES IN DATA_PACKAGE
           WHERE /BIC/ZMCFBUKRS = DATA_PACKAGE-COMP_CODE
           AND  /BIC/ZMCFSAKNR = DATA_PACKAGE-GL_ACCOUNT
           AND /BIC/ZMCFXOPVW = 'X'.
    ***Fetch records from FI GL Data Package which match with
    ***internal table TB_ZOCFSKB1
    LOOP AT DATA_PACKAGE INTO WA_DATA_PACKAGE.
    READ TABLE TB_ZOCFSKB1 INTO WA_TB_ZOCFSKB1 WITH KEY
    /BIC/ZMCFBUKRS = WA_DATA_PACKAGE-COMP_CODE
    /BIC/ZMCFSAKNR = WA_DATA_PACKAGE-GL_ACCOUNT
    binary search.
          IF sy-subrc ne 0.
            DELETE TABLE DATA_PACKAGE FROM WA_DATA_PACKAGE.
          ENDIF.
    ***Clear Work Area****************
          CLEAR WA_TB_ZOCFSKB1.
          CLEAR WA_DATA_PACKAGE.
        ENDLOOP.
    ***Refresh internal table*********
       REFRESH TB_ZOCFSKB1.
      ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    Edited by: AtulMohan Mishra on Feb 9, 2011 11:22 AM

    Hi,
    It is very important that you SORT the internal table before you do a READ with Binary Search.
    SORT TB_ZOCFSKB1 BY /BIC/ZMCFBUKRS /BIC/ZMCFSAKNR.
    You are sure to miss results unless you do.

  • 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

  • Conversion Routine problem

    Hi,
    In one of the info object there is a conversion routine. So, when the query is executed in BeX Query Analyzer the result is comming correct i.e. if in the database the value of info object is 0001234 then at display it is coming as 1234.
    However, in case if its value is "STEP" in database , at output "Not Assigned" is comming. Dont know what is happening. If anybody already encouter this problem please help.

    Hi,
    It is not in the hierarchy.
    I am using alpha routine so as to remove the leading zeros at the time of display.
    There are two info objects, both are same, the only difference between them is one info object is having alpha routine and another one is without it.
    The one info object without any routine is displaying values correctly but the another one with aplha routine is displaying 00123 as 123 but also displaying STEP as Not Assigned.
    Edited by: megamin79 on Feb 9, 2012 7:43 PM

  • Urgent: Customized Routine Problem: Not updating related databse tables.

    Hi Gurus,
    We made some changes in customized routine of pricing condition type.
    Requirement :
    "A" condition type which is appearing in pricing of sales order which we want to be split into Billing document i.e.in  Invoice. The amount should split as per the invoiced quantity,. Earlier it was redeterminig from condition master"
    Logic in routine:
    "we are checking respective sales order for Invoice. From Sales order value we are finding out document condition number  in VBAK table. then in KONV table for respective value we are checking "A" condition type is available or not.
    If it is available we are just copying the value and depending upon the Invoiced qty, We are passing to the same condition type.
    Problem:
    Value is appearing in Invoice document but it is not updating the related database tables e.g. KONV for(Invoice document condition No.)

    Hi Gurus,
    We made some changes in customized routine of pricing condition type.
    Requirement :
    "A" condition type which is appearing in pricing of sales order which we want to be split into Billing document i.e.in  Invoice. The amount should split as per the invoiced quantity,. Earlier it was redeterminig from condition master"
    Logic in routine:
    "we are checking respective sales order for Invoice. From Sales order value we are finding out document condition number  in VBAK table. then in KONV table for respective value we are checking "A" condition type is available or not.
    If it is available we are just copying the value and depending upon the Invoiced qty, We are passing to the same condition type.
    Problem:
    Value is appearing in Invoice document but it is not updating the related database tables e.g. KONV for(Invoice document condition No.)

  • Multi Value Lookup Save Problem

    Hi, 
    I am trying to save records in Multi value look up table. The problem is that only the last record is getting saved.
    Can anyone please help?
    Regards,
    Sruti

    Hi Deepti,
    Qualified Lookups are always Multivalued and no specific property has to be enabled atleast within MDM to make it Multivalued.
    By selecting The Qualified Lookup table Multivalued,It should allow you to save Multiple NQ values for a given record.
    You can have a look at the below link to know about the Java methods provided to work with MDM:
    http://help.sap.com/javadocs/MDM/SP05/(Java api programs)
    https://help.sap.com/javadocs/MDM/current/index.html  (java api codes)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Ejb transaction management jndi lookup name problem

    Hi everyone
    i want to use usertransaction object.
    &#304; called it with jndi name like UserTransaction tran = (UserTransaction) ctx.lookup("java:comp/UserTransaction");
    But there are many exception occur.
    Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/modules/schema2beans/BaseBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at com.sun.enterprise.admin.event.AdminEventListenerRegistry.addEventListener(AdminEventListenerRegistry.java:262)
         at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.<clinit>(J2EETransactionManagerImpl.java:1404)
         at com.sun.enterprise.distributedtx.UserTransactionImpl.init(UserTransactionImpl.java:119)
         at com.sun.enterprise.distributedtx.UserTransactionImpl.<init>(UserTransactionImpl.java:101)
         at com.sun.enterprise.distributedtx.UserTransactionImpl.<init>(UserTransactionImpl.java:92)
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:194)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at org.columbus.teien.entities.Deneme.main(Deneme.java:42)
    Caused by: java.lang.ClassNotFoundException: org.netbeans.modules.schema2beans.BaseBean
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    My session beans are stateless and i use container-managed transaction management(cmt)
    And my application server is glassfish 2.1
    How can i use this problem.
    Thanks for your reply.

    Do you have org.netbeans.modules.* classes referenced in your code?
    Those IDE classes are (correctly) not available on your container so you should consider not using them in your code.

  • DNS Lookup Timeout Problems with Cisco SA520w

    Hello,
    We are trying to configure our new Cisco SA520w with our Internet connection.
    As soon as we replace our existing Linksys RV042 with the Cisco SA520w, we find that DNS lookups start to take longer and longer to resovle. For example, an nslookup against yahoo.com will timeout, or take 10-12 seconds. Web browser requests simillarly take 30-45 seconds to resolve.
    We've tried using both Google's and OpenDNS servers, as well as our ISP's nameservers. In all cases, the long DNS resolution takes place.
    At first we thought that the firewall was misconfigured. However, we removed all firwall rules, and continued to experience the problem.
    We've tried checking and unchecking the DNSProxy checkbox, but this doesn't seem to have any noticeable impact.
    Does anyone have any idea about which setting impact DNS looksups, or what else we might try to troubleshoot this issue?
    Thanks,
    Chris

    Regarding the question on 5-10 days for product support to become active, I followed up with the CA team and received the following, which is good for All partners to know...
    Below is a description of the primary cause of delays in contract registration.
    Contract registration takes 24-48hrs. Delays are generally caused by the Reseller/Partner who doesn't provide the product serial numbers to Cisco when they purchase the service. The contract cannot be registered until the Reseller or the Disti provides the serial numbers to Cisco via SMS3 (or B2B). In cases where Disti doesn't have a mechanism to collect the serial number before the product is shipped, or in cases of drop-ship, the Distis often have to track down their Resellers to get the serial numbers to Cisco.
    There is a new program being discussed (drawing board now, so not available today) which will to allow the end-user to register the contract themselves, thus eliminating the need for the Disti or the Reseller to collect the serial number an input it into SMS3.
    But in any case (now or later), when a customer calls in for support, if their contract has not yet been registered, the SBSC can work with the Global Entitlement Team to look-up the contract via the PO or SO number and complete the registration so service can be provided.
    Hope this helps...
    Steve

  • End Routine Problem

    Hi gurus,
    I have written end routine for a cube for getting the data for fields net due date and discount date from other cube.
    The code was fine and im able to see the data for those fields in the new table of DSO and once  the request is activated the data for those 2  fields is not getting populated..
    can any one give me a solution for this issue
    Regards,
    Ravi

    Ravi,
       In the toolbar beside the End Routine button there is a button called "Update Behaviour of end routine display". Select the second option "All target Fields".
    I am assuming that you are populating the two date fields in the end routine.
    Hope this helps...

  • Infoobject routine problem in transformation using BI 7.0 datasource

    Hi expert,
    We have the business senario:need to look up data from Active data of DSO: /BIC/AZIN_O0100 into infoobject ZN1 in DSO:AAA through the link ZNR. We have the code, but after DTP, there are blank value in infoobject ZN1 in the content of DSO:AAA. Anyone can guide us why we get the blank in the value.
    DSO:AAA
    ZNR;ZN1
    Source field
    ZNR;
    Active data  /BIC/AZIN_O0100
    /BIC/ZNR;/BIC/ZN1
    Code in routine of infoobject ZN1 in transformation (BI 7.0 datasource)
        DATA: IT_ZN1 TYPE  /BIC/AZIN_O0100-/BIC/ZN1.
        SELECT /BIC/ZN1 INTO IT_ZN1 FROM  /BIC/AZIN_O0100
         WHERE /BIC/ZNR = SOURCE_FIELDS-ZNR.
        ENDSELECT.
        RESULT = IT_ZN1.

    Hi ,
    Please split this code in start routine and transformation routine.
    DSO:AAA
    ZNR;ZN1
    Source field
    ZNR;
    Start Routine
    Active data /BIC/AZIN_O0100
    /BIC/ZNR;/BIC/ZN1
    DATA: IT_ZN1 TYPE /BIC/AZIN_O0100-/BIC/ZN1.
    SELECT /BIC/ZN1 FROM /BIC/AZIN_O0100 INTO IT_ZN1
    FOR ALL ENTRIES IN SOURCE_PACKAGE
    WHERE /BIC/ZNR = <SOURCE_FIELDS>-ZNR.
    Transformation Routine
    READ TABLE IT_ZN1 with key
    /BIC/ZNR = <SOURCE_FIELDS>-ZNR BINARY SEARCH.
    IF sy-subrc = 0.
    RESULT = IT_ZN1 - FIELDNAME.
    Hope this answres you.
    -Vikram
    RESULT = IT_ZN1.

  • Routine problem in transformation

    Hi sdners
                   following is the secenrio, i had a doubt in that. i have to create a transformation routine for the field cost performance index= budegt cost of work performed * percentage of work complete/ direct effort + direct expences. these for infoobject loaded by flat file. so how to do write the code, weather i have to map all calcultion field in traget field. please guide me how to write the code.
    hari

    Hi Hari,
    I am assuming you have the fields budegt cost of work performed, percentage of work complete/ direct effort and direct expences in the data source.
    Now when you enter into routine, scroll up. There you will find CLASS lcl_transform DEFINITION.
      PUBLIC SECTION. Under that  you will see TYPES: BEGIN OF tys_SC_1,
    Under that you will find the the technical names of all fields that you have mapped i.e budegt cost of work performed, percentage of work complete/ direct effort and direct expences. You will have to use it in result.
    Now what you have to do is scroll down again and then go to :
    Start of code *************
    CLASS lcl_transform IMPLEMENTATION.
      METHOD compute_ZPYENTDT.
      DATA:
          MONITOR_REC    TYPE rsmonitor.
    Skip all these, keep them as it is:
    $$ begin of routine - insert your code only below this line        -
        ... "insert your code here
    *--  fill table "MONITOR" with values of structure "MONITOR_REC"
    *-   to make monitor entries
        ... "to cancel the update process
       raise exception type CX_RSROUT_ABORT.
        ... "to skip a record
       raise exception type CX_RSROUT_SKIP_RECORD.
        ... "to clear target fields
       raise exception type CX_RSROUT_SKIP_VAL.
    RESULT = Technical name of budegt cost of work performed * technical name of percentage of work complete/ direct effort + technical name of direct expences.
    End of Code **************
    Hope this helps.
    Thanks,
    Rahul

  • Transformation routine problem - changing 2 infoobjects in 1 routine

    Dear all,
    i have coded a transformation routine which gets data from 4 infoobjects and writes into 1 infoobject.
    routine is like that:
    startdate-starttime-enddate-endtime
    routine  converts data into :  time difference / 0calmonth
    however i need to update also 0calmonth with that routine? how can i do that?
    when i define a rule, i guess it always update only one infoobject?
    thanks in advance.

    Hi John,
    sure you can. It is the same procedure as in update rules, but a start routine will only work if all your required fields are contained in the communication structure and so in the infosource. Otherwise you need to stay with the second routine.
    regards
    Siggi

  • Event routine problem

    Hi All,
    i have a  requirement where i  need to put a check on the date eneterd in the database table
    to be greater than present in the table .  for this  i have  created  Zxxxxx  event routine and
    written logic inside. that routine type as 1 that is before saving .  now when saving it is giving dump saying
    perform not found while debugging i am seeing that it is not able to  read the event program  written by me .
    Please suggest any ideas
    Regards
    Arun .

    Hi All,
    i have a  requirement where i  need to put a check on the date eneterd in the database table
    to be greater than present in the table .  for this  i have  created  Zxxxxx  event routine and
    written logic inside. that routine type as 1 that is before saving .  now when saving it is giving dump saying
    perform not found while debugging i am seeing that it is not able to  read the event program  written by me .
    Please suggest any ideas
    Regards
    Arun .

  • Form routine problem

    what is the exact use of the form routine assigned in nace?
    eg:
    o/p type                                     script drv prog   form routine  formname
    NEU        (Purchase order)     SAPFM06P     ENTRY_NEU     MEDRUCK
    if i create any modifications in the form routine using itcsy then will i have to write all the code within this form routine?
    eg:
    perform <form routine name> in program zprog1.
    using
    changing
    endperform.
    i have searched sdn but cudnt find a suitable answer. pls explain with an example.

    Hi,
    The routine mentioned in the Nace will have the logic to Get the data required to ptint on the form and also it call the Form using the function modules lije Open_Form Start_form Write_form. If it is a smartform it calls the Smart form generated FM.
    Ex NACE--> ENTRY_NEU
    Driver Program in NACE is ZSAPFM06P
    This prgram contains the form  ENTRY_NEU
    Form ENTRY_NEU.
    *get the data
    *Call the form
    Endform.
    I hope it is clear.

Maybe you are looking for