End Routine is NOT modifying the DSO with new data after load into that DSO

Hi all,
  I am creating an End Routine for DSO to populate a field ZFCMP_FLG (to store 'Y' ) with lookup from another DSO ZMDS_D01. This new field shows blank instead of 'Y', after activating the DSO. The RESULT_PACKAGE record is populated with 'Y' for ZFCMP_FLG  while debugging that End Routine and why it is NOT writing the modified records into DSO, please ? It is a Characteristic InfoObject with length 1 to store 'Y'. The following is some part of the code:
DATA: wa_fcmp_flag   TYPE c VALUE 'Y'.
LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
    READ TABLE it_zmds_d01 INTO wa_zmds_d01 WITH KEY
                /BIC/ZAUFNR    = <RESULT_FIELDS>-CS_ORDER
                NOTIFICATN     = <RESULT_FIELDS>-NOTIFICATN  BINARY SEARCH.
     IF sy-subrc = 0.
       <RESULT_FIELDS>-/BIC/ZFCMP_FLG = wa_fcmp_flg.
    ENDIF.
ENDLOOP.
Thanks,
Venkat.

hi...
Since you are using Field symbol to loop the internal Table there is no need to use the MODIFY Statement in the loop.
So your code is correct only.
But here you have to check the status of READ TABLE command in the debug mode.
it may be failing that's why the RESULT_PACKAGE is not getting modified.
Plz check it.
Note: You may need to SORT the Int Table since you are using BINARY SEARCH. check below.
DATA: wa_fcmp_flag   TYPE c VALUE 'Y'.
Sort it_zmds_d01 by  /BIC/ZAUFNR    NOTIFICATN  .
LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
    READ TABLE it_zmds_d01 INTO wa_zmds_d01 WITH KEY
                /BIC/ZAUFNR    = <RESULT_FIELDS>-CS_ORDER
                NOTIFICATN     = <RESULT_FIELDS>-NOTIFICATN  BINARY SEARCH.
     IF sy-subrc = 0.
       <RESULT_FIELDS>-/BIC/ZFCMP_FLG = wa_fcmp_flg.
    ENDIF.
ENDLOOP.

Similar Messages

  • Can we execute the Reporting while the data is loading into that ODS/Cube.

    Hi Friends,
          Can we execute the reports on particular ODS/InfoCube in the following cases
    1) When the data is loading into that ODS/Infocube.
    2) When we are Archiving the data from that ODS/Infocube
    Thanks & Regards,
    Shaliny. M

    Hi Shaliny,
    First of all you are in the wrong forum, in Business Intelligence Old Forum (Read Only Archive) you will find better support.
    In case you are loading data in an infocube you will be able to have report only until the request that has the icon ready for reporting filled. In case of an ODS object i don't think you will be able to have valid reporting since the ODS data firstly needs to be activated.
    Nevertheless please post your question in the above link.
    Kostas

  • How to modify internal table with new value after data processing

    Hi,
    My code is as below:
    LOOP AT i_raw INTO wa_raw.
       IF  ( wa_raw-/BIC/ZOUASCLS = 'BA') OR ( wa_raw-/BIC/ZOUASCLS = 'CO' ) .
          LOOP AT i_crrs INTO wa_crrs.
            IF wa_raw-/BIC/ZOUIDCIF = wa_crrs-ZCBGCIFNO.
              wa_raw-/BIC/ZOUINDAP = '03'.
            ELSE.
              wa_raw-/BIC/ZOUINDAP = '02'.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    Initially column /BIC/ZOUINDAP is empty and I want to populate either value '02' or '03' as shown above.
    How do I insert those values into each i_raw records ?
    Pls help!

    Hello,
    try this code:
    IF ( i_raw-/BIC/ZOUASCLS = 'BA') OR ( i_raw-/BIC/ZOUASCLS = 'CO' ) .
    LOOP AT i_raw INTO wa_raw.
    WHERE wa_raw-/BIC/ZOUIDCIF = i_crrs-ZCBGCIFNO.
    IF SY-SUBRC = 0.
    wa_raw-/BIC/ZOUINDAP = '03'.
    ELSE.
    wa_raw-/BIC/ZOUINDAP = '02'.
    APPEND wa_raw INTO i_raw.
    ENDLOOP.
    ELSE.
    i_raw-/BIC/ZOUINDAP = ' '.
    ENDIF.
    Hope it helps.
    Best regards.
    Simone.

  • Keyfigure with units are not loading into transactional DSO in APD

    Hi,
       I am loading data from a Query to transactional DSO through APD.  I have formula and new selection keyfigures in my query.
    I mapped these keyfigures with units to the DSO.  But i didnot see data for these keyfigures and also the units are not loaded.
    I can see the values and units displayed in my query  ?
    What may be the reason for this issue even though every mapping is correct?
    Please help me on this issue.

    Hello Dear
    When you are getting blank date , your update rule processes its value as 00000000,
    Now in the date conversion routine if you go , you will find that after the routine one exception is written for this value..means this value is not accepted.
    So maintain a date and load data.
    Award points if it solves your problem/concern
    Thanks
    Tripple k

  • Could not retrieve the document with the passed obsolete token.

    Hi,
    Issue is with the specific report not able to execute when the query is cancelled and getting an error when you are cancelling an already executing query.
    Receiving an error message during running one of our report in the
    following way:
    - Run the Webi report
    - Select the value for 8 prompts
    - Click on cancel
    - try to re-run by clicking on re-fresh and receive an error message.
    The error message is the following:
    "Could not retrieve the document with the passed obsolete token (Error: RWI 00323) (Error: INF)"
    Till now we have made the following changes:
    This might be caused by a storage token that identifies a document state, which is no longer available in the storage tokens stack.
    In the webi.properties file, increased the value of storage tokens stack size.
    1. Edit the webi.properties file found in the following location:
    u2022 <Installed dir>\program files\businessobjects\BOenterprise115\Web services\en\dsws_webservice_boe\data\asemble\dsewsBobjJava\src\WEB-INF\classes\webi.properties.
    2. Add or change the following variables:
    u2022 WID_FAILOVER_SIZE (This sets the maximum number of tokens to keep in memory. It is 10 by default.)
    u2022 WID_STORAGE_TOKEN_STACK_SIZE (this sets the maximum number of tokens stored on disk. It is 10 by default.)
    u2022     Deleted cookies.
    u2022     Add  the Java Runtime Parameter value from following path:
    Start - > Control Panel-> Java -> Java Applet Runtime Settings
    Click on View.
    Add the Java runtime Parameter value: Xmx200.
    It is not a machine specific issue however it is intermittent.
    Please advice.
    Regards,
    Pradnya Kokil

    Hi Pradnya,
    Following solutions might help you to resolve the issue.
    Solution1:
    To achieve optimum performance, the developer should limit the number of new windows that can be opened using the OpenDocument function, particularly if using it within the drill function.
    If you must open a new window each time, you can increase the number of document instances available on the system by modifying parameters in the webi.properties file:
    1. On the Business Objects server, navigate to the following directory:
    C:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\classes
    2. Open the webi.properties file using a text editor.
    3. Uncomment the FAILOVER_SIZE=10 line by removing the # from the beginning of the line.
    4. After FAILOVER_SIZE, add the following:
    STORAGE_TOKEN_STACK_SIZE=40
    5. Save the file.
    6. Restart the application server
    Solution2:
    Do not use Control Key + N or File New from Browser for invoking new instance of Browser
    Avoid opening Infoview by Hyperlinks.
    Alternatively, by setting logontoken.enabled property in web.xml for desktop.war, will stop users allowing using old token
    Locate web.xml file in desktop.war file deployed on your application server
    Locate the following string in web.xml:<param-name>logontoken.enabled</param-name>
    Change the <param-value> for logontoken.enabled from true to false (forexample, <param-value>false</param-value>)
    Save and close the file
    Restart the web application server to apply the changes
    Regards,
    Sarbhjeet Kaur

  • Getting the error access denied trying to modify the workbook with identifier in Disocverer Admin

    Hi All,
    I have exported a workbook created by business user as an .eex file logging in as discoverer admin from a Production enviornment (transactional databse) and trying to import it to a different environment called reporting environment ( non transactional databse) and getting a warning 'WFS GTP REPORT SINAPORE.eex:Access denied trying to modify the workbook with identifier 'WFS_GTP_REPORT_SINGAPORE'.
    It says Files Partially Imported so clicked on Finish to complete the import.
    The report has been imported under the user account but the sharing to the different responsibilities/Users has not been imported. I need to import the report with the sharing of the responsibilities/users as well.
    I do not have an option login into discoverer administratore using the user account, i can only login using the administator account ( i know loging in as the business user it self will allow you to import the sharing). But our DBA's oppse this is a security threat for the users as you are logging in as the user in production environment.
    Please help with this issue.

    I have the same problem, and I figured out that my windows is installed in french, and every users groups are created in french also, groups like Everyone don't exists and i can't change by console.
    Regards, Roberto Borges please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Must not modify the datatype of a mapped attribute

    Hi!
    I have an inputfield in my WD with extended value help (countryKey and CountryName, coming from R/3). The selected country should be passed to a bapi import parameter mapped in a model, but the problem is that an exception occurs stating that I cannot change the data type of the context attribute because it is mapped to a model.
    How is this usually done?
    Thanks,
    faB
    ContextException: AttributeInfo(SearchView.Iv_Land1): must not modify the datatype of a mapped attribute

    Hi,
    1. Create sub-node under your model node with cardinality 1..1 (non-singleton used in sample below)
    2. In this sub-node create calculated attribute with the same primitive type as desired attribute has (say, string).
    3. In setter / getter write code that will modify original attribute:
    /* getter */
    return element.node().parentElement().getAttributeValue("OriginalModelAttr");
    /* setter */
    element.node().parentElement().setAttributeValue("OriginalModelAttr", value);
    4. Rebind your input field to newly created attribute, and apply any value set modifications to it.
    VS

  • MappedAttributeInfo(APPView.Node): must not modify the datatyp

    Hi,
    I used DropDownByKey element (DDLPROJE) and mapped it a contex element(PROJE).
    I tryed to fill PROJE with code below.No problem on compile, but when i run, it gets error below on line bold in code.
    How can i solve this problem?
    Thanks.
    error
    com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(FAALIYETappYeniView.PROJE): must not modify the datatype of a mapped attribute
    code
              IWDAttributeInfo attInf =
                   wdContext.getNodeInfo().getAttribute(
                        wdContext.currentContextElement().PROJE);
              ISimpleTypeModifiable stm = attInf.getModifiableSimpleType();
              IModifiableSimpleValueSet svs = stm.getSVServices().getModifiableSimpleValueSet();
              try {
                   InitialContext ctx = new InitialContext();
                   DataSource ds = (DataSource) ctx.lookup("jdbc/SAPEPTDB");
                   Connection con = ds.getConnection();
                   Statement stmt = con.createStatement();
                   ResultSet rs = stmt.executeQuery("select PROJE from ZHF_PROJE");
                   svs.put("", "");
                   while (rs.next()) {
                        svs.put(rs.getString("PROJE"), rs.getString("PROJE"));
                   con.close();
              } catch (Exception e) {
                   wdContext.currentContextElement().setMESAJ(e.toString());

    Hi,
    I guess you did as below.
    You have created the context attribute PROJE in View Context as well as in Controller Context.
    And then you have changed the type of PROJE attribute in View Context by binding it to some Simple type.
    After that you have mapped this attribute to the PROJE attribute in Controller context.
    That is why it is giving that error.
    If my guess is correct:
    Then delete the context mapping - by right click on the PROJE attribute in the View Controller.
    Now in Comp Controller change the type of PROJE attribtue by binding the simple type.
    And now do the mapping between the attribtues.
    Regards,
    Charan

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • HT5622 I have a new desktop and re-installed my identity from my airtime back up and on the log in page my picture comes up with my usual password hint, but it is not accepting my password and I do not have the option to reset using my apple id - that par

    I have a new desktop and re-installed my identity from my airtime back up and on the log in page my picture comes up with my usual password hint, but it is not accepting my password and I do not have the option to reset using my apple id - that particular function is in grey and cannot be clicked on

    Depending on what kind of computer you have, you're gonna need to put that backup in the appropriate folder or itunes is not gonna be able to see it for you to use.

  • DO NOT Get The Service With This Company IF You Want to Receive a Good Customer Service

    It is really a pain, dissatisfaction, and a lot more when you have Verizon as your service provider. I have been having service for my cellphones with Verizon for over 3 years, and did not have any major problems, so when I moved to my new place I thought it’s better to get the Fios, and have one bill for my all Verizon services. I went online and started to order my products online. During ordering, the chat session opened and I started chatting with the Customer Service Rep in order to get help through the process. When we were in the step that I could order the home phone plan, I saw the International World Plan, and I asked the lady to give me some information about this plan. I asked her that I want to call to my country and I mentioned my country’s name to her as well. I asked her that if this service is available for my country, and she said “Yes” you can call to over 100 countries with this service and she encouraged me to get the 300 minutes service. Since the plan sounded good to me I decided to get the 500 minutes instead of 300 min, and after I ordered my plan, I started calling overseas, and happy that I am paying less than the Phone cards with this plan. On March 26 I received my bill, and saw that Verizon charged me 142 $ for the less than 200 minutes that I called to my country, and there was a Letter “N” in front of each phone calls. I checked the guide to see what does “N” mean, and I saw that it said N means “Denoted calls are NOT listed in World Plan”. Well, thanks to the lady who gave me the wrong information while I was ordering my plan online, but she or the Verizon company is not that much lucky because I printed my chat session the day I ordered my plan since I wanted to have the information of what I actually had ordered. That time I did not think that I may get in trouble like this. Since March 27th, I have been calling Verizon every other day, and I have explained my issue to more than 10 Customer Service Reps, and each of them asked me to fax my chat session to them. I have been faxing that to all the numbers that they gave me, and I am keep faxing them, but do not get any respond. One of the Verizon’s Supervisors, whose name is Mark, called twice on my home phone number during the daytime, around 3 pm, and he left massages. On his second massage, he said that he checked the plan and my country is not listed in the International World Plan. He just said this, and he said that he was going to call me back, but never happened. He also did not leave me any phone number that I could call back. Also, since my cellphones are listed in the same bill as my other products, he could easily see the other numbers that he could call and reach me, but he did not bother himself to do so. I have even changed my home voice mail greeting addressing to Verizon, and left my cellphone number in voice mail greeting. I am so sorry that I have to say this, but this seems a definite fraud to me. I did not know about this plan, and I asked the Customer Service Rep to help me. She was responsible to check my country, or at least let me know how I could find out about the coverage. This is ridiculous, and if Verizon cannot take over this problem, my lawyer will take the action over, and takes the issue to their corporate court. I am not going to give up about this, and I decide to give Verizon about a week or so to solve this issue, but I won’t wait more than that. Just a friendly advice to people who want to get the home service through Verizon: DO NOT Get The Service With This Company IF You Want to Receive a Good Customer Service. There is nothing about taking care of customer in this company, and you are going to be stuck with what you get.      

    Mahsa21,
    We are glad that we were able to resolve the international calling plan issue for you.  If you need assistance,please  reach out to us.
    thanks,
    Tonya D.

  • I am trying to reset my security questions, but I have not received the email with instructions. What is the problem?

    I initially created my apple account years ago. I am trying to reset my security questions because my answers are continually incorrect. I pressed the link that sends reset security questions info to my alt. address, but I have not received the email with instructions. I have resent the email several times and checked both of the emails I have set up with my apple account to no avail. I have tried everything that is provided in the support article about the issue and my problem has not be resolved. I've even deleted my alt email from the apple account and then reassigned it and tried again, however, I still have not received the email. Without knowing the answers to my security questions, I cannot purchase anything from the iTunes store, which I have been trying to do.
    I do not know what the problem is and I am asking for any resolutions. Please and thank you!

    Go to the Apple ID Security site from http://support.apple.com/kb/HT5699 or call the AppleCare support number from http://support.apple.com/kb/HE57 and ask to speak with the Account Security Team...either can help you reset your questions/answers.

  • Can NOT cancel/Reverse GI with a date before the actual GI date

    Hi
    can NOT cancel/Reverse GI with a date before the actual GI date, if i do the PGI in wrong date, then how should i do?
    thanks

    >
    jo jo wrote:
    > Hi
    >
    > can NOT cancel/Reverse GI with a date before the actual GI date, if i do the PGI in wrong date, then how should i do?
    > thanks
    Hi Jo Jo,
    I am not sure if i understand your problem correctly.
    As far as my understanding goes you are trying to reverse a GI on a date before Actual goods issue date.
    If you have PGId on a date before planned GI date the system will update that date into Actual GI date and not planned GI Date.
    For example if you planned GI date was 1st April 2008 and you did PGI on 28th April 2008 Actual GI date will become 28th April 2008.
    So if you try to reverse PGI before 28th April you wont be allowed to as you cannot reverse a goods issue that has not happened.
    Hope it helps.
    Post furthur if i had misunderstood your problem.
    Regards
    Abhishek

  • The network adapter could not establish the connection with Oracle

    I installed Oracle in my laptop (windows 2008), and install Hyperion 11.1.2, when I configure Hyperion, it pops up with "the network adapter could not establish the connection with Oracle"?

    Hi,
    This usually means that the connection details you have put in for Oracle are incorrect or Oracle can not be contacted.
    Double check your configuration connection details and make sure you can access Oracle using them details.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I forgot my sercutity questions answers and have not received the email with instructions.

    I Have forgotten my sercutity question answers and have not received the email with instructions. 

    Unless it’s in a spam filter, you need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (121954)

Maybe you are looking for