Data not populating after DS enhancement

HI pros,
i have made Data source enhancement.
i wrote the code in include program.
when '0FI_GL_40'.
  CHECK NOT c_t_data[] IS INITIAL.
  LOOP AT c_t_data ASSIGNING <fs_data5>.
  SELECT SINGLE matnr FROM bseg INTO <fs_data5>-ZZMATNR
                         where BUKRS eq <fs_data5>-BUKRS and
                               BELNR eq <fs_data5>-BELNR and
                               GJAHR eq <fs_data5>-GJAHR and
                               BUZEI eq <fs_data5>-BUZEI.
endloop.
but the data not populating into the report, the Multi provider is real time
krish..

Hi,
Syntax
ASSIGN mem_area TO <fs> casting_spec range_spec.
Effect
This statement assigns the memory area specified using mem_area to the field symbol <fs>. You can assign a data object or a memory area calculated from the address of a data object. After the assignment, the field symbol refers to the assigned memory area and can be used in operand positions. When used in a statement, it behaves like a dereferenced data reference, meaning that the statement works with the content of the memory area.
The data type with which the assgigned memory area is treated, depends on the specifications in casting_spec. You can either execute an explicit casting or the field symbol takes on the data type of the data object specified in the assignment. A field symbol to which a memory area is assigned, has this data type after the assignment and behaves like a data object of this type.
The assigned memory area mem_area must be at least as long as the data type specified in casting_spec and must have the same alignment. If the data type determined in casting_spec is deep, the deep components with their type and position must appear in the assigned memory area exactly like this.
Use the specifications in range_spec to restrict the memory area that can be assigned to the field symbol.
You have to assign it back to internal table to modify the content.
Check in debug mode if you have still doubt.
regards,
Raju

Similar Messages

  • Data not populating in database

    Hi All
    I am trying to insert data into a custom table but unable to do so...
    Steps followed
    1. Created a custom table
    2. Created an EO based on the table
    3. Created a VO associated with the EO.
    4. Created AM and associated the VO with it.
    5. Created page and associated it with the AM.
    Controller Code
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        am.invokeMethod("initEmployee");
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        if("Next".equals(pageContext.getParameter("event")))
           pageContext.setForwardURL("OA.jsp?page=/xx0801/oracle/apps/per/selfservice/val_assignment/webui/PhonePG", null, (byte)0, null, null, true, "N", (byte)99);
    if("Save".equals(pageContext.getParameter("event")))
      am.invokeMethod("createEmployee");
      }AMImpl Code
    public employeeAMImpl()
        public void initEmployee()
          OAViewObject vo = getEmployeeVO1();
            if(!vo.isPreparedForExecution())
               {vo.executeQuery();
            Row row=vo.createRow();
                vo.insertRow(row);
            row.setNewRowState(Row.STATUS_INITIALIZED);
        public void createEmployee()
        getTransaction().commit();
    ...A new row does get created in the table but the data columns are empty only the creation date, created by, last_updated_by etc are getting populated.
    Thanks

A: Data not populating in database

I have put the debug statement as follows:
public void createEmployee()
    EmployeeVORowImpl emp = (EmployeeVORowImpl)getEmployeeVO1().getCurrentRow();
   String name = emp.getEmployeeNumber().toString();  
   System.out.println("Emp Num: " + name);
    getTransaction().commit();
    }The employee number got printed in the messages. However the row still doesnot have any data except the created by, creation date etc
Edited by: Subhasish on Jan 12, 2011 3:38 AM

I have put the debug statement as follows:
public void createEmployee()
    EmployeeVORowImpl emp = (EmployeeVORowImpl)getEmployeeVO1().getCurrentRow();
   String name = emp.getEmployeeNumber().toString();  
   System.out.println("Emp Num: " + name);
    getTransaction().commit();
    }The employee number got printed in the messages. However the row still doesnot have any data except the created by, creation date etc
Edited by: Subhasish on Jan 12, 2011 3:38 AM

  • My ical is not populating after i reinstalled my operating system - my Outlook 2011 is ok but I now want to sink my iphone 4 with my outlook and i presume i need ical to be populated for this

    My ical is not populating after i reinstalled my operating system - my Outlook 2011 is ok but I now want to sink my iphone 4 with my outlook and i presume i need ical to be populated for this

    Generally this is a sign that the iPhone had previously been
    hacked/modified/jailbroken and the update relocked it to the
    original wireless carrier. If this is the case, only that wireless
    carrier can unlock your iPhone. You must contact them to see
    if they offer unlocking and if you qualify.
    Where did you acquire this iPhone?
    What wireless carrier did you use before this problem?
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>About=>Carrier?

  • Iphone 4s Cellular data not working after updating to ios 6.0 .

    How to fix my cellular data, is not working after updating to IOS 6.0 ?

    Hey my wifi quit about a month ago,  and im running 5.1.1.  I thought the fix would be to download 6.0,  I guess not
    I have a 4s, first it was charging problems now this...argh!

  • Return order BUS2102 Workflow container data not populated

    Hi All,
    Please requesting you to provide your advise on the below issue.
    I have created a custom workflow with business object BUS2102
    In the Workflowtemplate (E.g. WS90000XXX)
    i have included the triggering event for BUS2102 with EVENT "CREATED" and
    added a container element SDReturnCN of type BUS2102
    Once the Return Order is created the Workflow is getting triggered successfully
    but data is not populated into the container SDReturnCN.
    Do i need to write and EXIT to populate container UNLIKE as in Credit memo bussiness object :BUS2094
    if yes please let me know which part i am missing.
    Thanks & Regards,
    Veeru.

    Hello,
    "but data is not populated into the container SDReturnCN."
    Check the bindings. Where is the value coming from?
    regards
    Rick Bakker
    hanabi technology

  • Account of the opportunity is not populated after the creation of a task

    Hi,
    In our project, we are using the Opportunity Object after the creation of a task. Our tasks are always related to an existing account.
    I was wondering why when I create an opportunity from a task, the field "Account Name" is not populated by default with the account name related to the task.
    Any ideas?
    Regards,
    Dara
    Edited by: user6469826 on 2 août 2011 11:40

    Contact an electronics repair shop.

  • Stock Item Release Date not populated in Webtools

    I am looking to alert Online purchases of products that are shown in webtools ( i.e. Active = 'Y') that are not immediately available at a date in the future.
    It is not possible to use the Valid From Date because this controls the initial visibility of the item in webtools.
    There is a UDF inserted by the Plugin ( I think ) Call ed Release date, however populating this field does not cause the 'ReleaseDate' field in PartsMaster Table to be updated.
    Assuming this can be achieved can someone advise briefly as to how this data can be populated on the relevant aspx page(s)
    If there is a better way of achieving the same thing - suggestions welcome. The customer wants to control this data from B1 rather then in WT.
    Thanks

    Hello Bryce,
    That's interesting what exactly do you mean by batch job? I presume some scheduled stored procedure with a update clause. Up until now I had thought that synch plugin was the only solution and hadn't tried writing my own yet but given the two SQL servers have to be able to  communicate with each other why or exactly when would a batch job not be practical for this sort of thing. Is this only really appropriate for uni-directional updates ( i.e. B1 to WT )?
    Or am I missing something here?

  • Data not populating in my idoc

    Hi guru,
    i am writting these below code .
    please look my code.here date i am moving from : move  W_datum1  to  int_edidd-sdata.
    so in debugging mode i am getting date value in int_edidd-sdata.
    but why the value is not populating in my segment of idoc.can u tell me where is the probleam in my code???
    If XVBDKR-VKORG  = 'EDM1'
    *CONTROL_RECORD_OUT-STDMES = 'INVOIC'
    AND DOBJECT-KSCHL = 'ZEDI'.
    if INT_EDIDD-SEGNAM = 'E1EDK02'.
    LOOP AT INT_EDIDD WHERE SEGNAM = 'E1EDK02'.
                E1EDK02 = INT_EDIDD-SDATA.
                IF E1EDK02-QUALF = '009'.
                W_datum2 = E1EDK02-datum.
                ELSEIF E1EDK02-QUALF = '012'.
                  W_datum1 = E1EDK02-datum.
                ENDIF.
              ENDLOOP.
    endif.
    IF W_datum1 GT W_datum2.
              W_datum1 = W_datum2.
        move  W_datum1  to  int_edidd-sdata.
    MODIFY int_edidd INDEX hilfe_tabix.
              EXIT.
             ENDIF.
           ENDIF.

    hi,
    my current code is below...
    please help
    If XVBDKR-VKORG  = 'EDM1' and
    CONTROL_RECORD_OUT-MESTYP = 'INVOIC'
    AND DOBJECT-KSCHL = 'ZEDI'.
    if INT_EDIDD-SEGNAM = 'E1EDK02'.
    MOVE int_edidd-sdata TO e1edk02.
    loop at INT_EDIDD where SEGNAM = 'E1EDK02'.
                E1EDK02 = INT_EDIDD-SDATA.
                IF E1EDK02-QUALF = '009'.
                W_datum2 = E1EDK02-datum.
                ELSEIF E1EDK02-QUALF = '012'.
                  W_datum1 = E1EDK02-datum.
                ENDIF.
              ENDLOOP.
    endif.
    IF W_datum1 GT W_datum2.
              W_datum1 = W_datum2.
    W_E1EDK02-DATUM = W_datum1.
    int_edidd-segnam = 'E1EDK02'.
    move  W_E1EDK02-datum  to  int_edidd-sdata.
    APPEND int_edidd.
        MODIFY int_edidd INDEX hilfe_tabix
       lv_flag = 'X'.
              CLEAR: W_datum1,W_datum2.
              EXIT.
             ENDIF.
           ENDIF.

  • Discoverer 4.1.48.08 - Data not populating

    Hi All,
    I have created a package with few functions, and global variables. I am using one of the function from the package to initialize the values to the global variables, I
    have registered the same function in discoverer. I have created a view in which one or more of the where clause is using the values returned by the other functions of the package, the values returned by the functions depends on the parameter for which i am passing through the desktop edition for which i want the report.
    Now the concern is that, i am able to see the output of the report for which i am passing the value to the parameter, but in one of the column, the value is not populating, it shows null, then if i press the refresh button again, the value is populating to the column, this is happening for the first time when i log-in and run the report.
    What could be the reason, why the value is not populating to the column for the first time, is there any solution?
    I want to get rid of pressing the refresh button again.
    Note: My view consists of multiple sql qrys using union operator, and each one of the sql qry brings the value to the column using the package functions.
    Thanks & Regards,
    Vinod S Poal

    Hi
    The problem i sthat the function in the custom folder evaluated by the Oracle fisrt and after that are evaluated the functions which sets the global variables from the parameters.
    So if you open the workbook nothing selected but the global variables has set and the next time you got the result with the previos parameters.
    If you change the parameters it wouldn't change the result set only if you refresh it again without changing the parameters.
    This is not a good solution for using parameters in custom folders. As I know there is no good solution for this problem yet.
    Ott Karesz
    http://www.trendo-kft.hu

  • Delivery dates not affected after route determination

    The dates found on the shipping tab in delivery header are not affected after a route determination.
    In sales order, if route is changed, the dates are affected.
    In delivery, the route is re-determined at delivery creation, but if route transit time is different the delivery dates are not affected. It retains the sales order dates.
    Need system to change dates according to new route.
    Where is this set?

    Hi,
    Transit Time and Transportation Lead time comes from Route while Pick/Pack time and Loading time comes from Shipping point.
    May be in your case, while re-determination of route, just check if the time is enough to affect the date i.e. more than 24 hrs or so
    Hope you got it what I intend to communicate
    Regards
    SD

  • B1ic SLD not populated after install

    Hi all:
    I have installed B1i Integration Component several times before. But at one customer, I have this strange behaviour:
    When the installation completes (including all prerequisites and with successful connection tests throughout the process) and I proceed to open the "Integration Framework" to validate the connection to the company database, the SLD is not populated below the "B1i Server" entry, where I would usually expect the HAnyforXcelsius, SBO_DATABASE, WSforMobile and XMLFileSystem entries.
    Uninstalling and reinstalling all of the components and prerequisites does not help, the entries still do not show up. Is it possible to create these entries manually? How?
    Thanks,
    Joerg.

    To troubleshoot this further, I have tried to create the entries manually and have configured them exactly the way I believe they should be, based on a working system. However, the company database connection test (both B1DI and JDBC) fail with the following error message:
    Internal Reason
    XCE045 IPO-Step not known: /0010000100.testconnection/com.sap.b1i.system.sld/ipo/SystemConnection.ipo/testconnection
    Full Internal Error Message
    com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.RejectedException: XCE045 IPO-Step not known: /0010000100.testconnection/com.sap.b1i.system.sld/ipo/SystemConnection.ipo/testconnection
    I have already restarted all the B1i related services, so that should not be a problem.
    Any clues?
    Joerg.

  • "Title" Coloum in infopath form is not populating after windows 7 upgradation

    Recently we have migrated from Windows XP to Windows 7(64bit)
    Afterwards, when  we are submitting the infopath forms, the "title" filed is not populating with the "filename.xml".
    We are using Infppath 2010(not sure whether its 32/64bit.
    Any one facing the same issue? is this a BUG in 7?.. Its been affected with all users using win 7 machines...
    NB: In default the "title" column is said to be populated with the filename.xml. No workflows associated with it. Still working fine in XP machines and not in Win7
     Also i have tried changing the "title" column as mandatory. But this doesn't help. I  have not found any help while i Google also.....

    Hello,
    I have windows 7 machine and haven't had any problem with this. You may try to clear infopath cache in machine and also re-publish the form.
    >the "title" filed is not populating with the "filename.xml".
    are you giving any title for saving the file? If you are prompting any field then check again in form and also check form submit connection.
    I would also prefer any snap of your form if possible so we can understand the problem.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Data not populated for Enhanced field

    Hello,
    I had done enhancement by adding field to the LO Datasource.
    Written the code in the CMOD to populate the data. When i run init it worked fine and i am able to see the data for the enhanced filed.
    When i run delta iam not able to see the data for that field in RSA7, But i am able to see the data in RSA3.
    What is the reason that i am not able to see the data for the enhanced field in RSA7?
    Thanks in Advance!
    Regards
    M.A

    Hi M.A,
    This means that there is no delta data for that field.
    If there is no change in the data for that field then you cannot see any data in RSA7.
    Check in the Delta repetition in the RSA7 for any data for that field.
    Regards,
    ravi Kanth

  • Ipad 2 3G Cellular Data not working after update?

    Dear Apple
    First thing first you are teh number one in this world, there is no doubt about it and I am following apple since 6 years.
    I have a Apple iPad 2 Wi-Fi + 3G with cellular data. last night what I did I have updated my iOS on 3G Cellular  which it was asking from many days. But after the update I am not able to connect to internet and when I am inserting same(iPad) sim to my Apple iPhone its working fine and when I'm inserting my Apple iPhone SIM to my iPad is not working there, I have tried different sim which are working on other device but after the update its not working on my iPad. Though it showing full tower and I have checked all settings too, then also I am not able to connect to internet.
    I have reset my network settings and iPad to factory setting then also I am not able to get the internet on my iPad.
    before the update everything was awesome.
    Please Please help me what shall I do and how to resolve this issue.
    Thanking you
    Ashish Mishra
    +91 8826 80 4496
    India

    You are not talking to Apple on this forum. We are all users here. First thing it would try is to reboot your iPad.
    Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the iPad restart. See if that fixes your problem.
    If that doesn't help I'd contact Apple Support.

  • ZL_BT115H_S_DETAILS_CN00 does not exists after EEWB enhancements

    Hi Gurus,
    I have enhanced the component view BT115H_SLSO/details initially, after some days, I have added two Zfields to BTADMINH using EEWB. while opening the Context node BTADMINH in the view BT115H_SLSO, the following error message is being displayed: Object type ZL_BT115H_S_DETAILS_CN00 does not exist.
    while opening the link to create the sales order in Web UI, the following Exceptions occured:
    CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist. 
    Method:  CL_BSP_MODEL=>CREATE 
    Source Text Row:  12
    Initialization of view BT115H_SLSO/Details failed
    An exception has occurred Exception Class  CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist. 
    Method:  CL_BSP_MODEL=>CREATE 
    Source Text Row:  12
    Cannot display view BT115H_SLSO/DetailsVS
    An exception has occurred Exception Class  CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist. 
    Method:  CL_BSP_MODEL=>CREATE 
    Source Text Row:  12
    Initialization of view BT115H_SLSO/DetailsVS failed
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  162
    Cannot display view BT115H_SLSO/SOHOverView
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  162
    Cannot display window MainWindow.
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/DetailsVS could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  162
    Any idea of why this exception is occured.
    Did anyone faced the same issue? if yes,please share me the solution.
    Thanks and Regards,
    S Reddy

    Hi Suchita,
    Thanks for your quick response.
    Actually we have not done any enhancements to the BTADMINH context node. we have enhaced the CRMD_ORDERADM_H table using the EEWB fields. After this I have checked the component BT115H_SLSO/view to provide the value help for the fields, the Zclass was automatically assinged to the Context and Page attribute remained same for BTADMINH.
    I have checked in the SE24, the class does not exists. I have created a copy of CL_BT115H_S_DETAILS_CN00 as ZL_BT115H_S_DETAILS_CN00 and assigned to BTADMINH and Page attributes of the same view. After I have opened the Web UI, the following exceptions are occured:
    Context generation failed in view BT115H_SLSO/Details
    An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00 
    Method:  ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH 
    Source Text Row:  13
    Initialization of view BT115H_SLSO/Details failed
    An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00 
    Method:  ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH 
    Source Text Row:  13
    Cannot display view BT115H_SLSO/DetailsVS
    An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00 
    Method:  ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH 
    Source Text Row:  13
    Initialization of view BT115H_SLSO/DetailsVS failed
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  162
    Cannot display view BT115H_SLSO/SOHOverView
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  162
    Cannot display window MainWindow.
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/DetailsVS could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  162
    Thanks and Regards,
    S Reddy

  • Maybe you are looking for

    • New MacBook Aluminum - daughter installed OS Install Disk then cancelled it

      My daughter got her new MacBook yesterday - had it up and running, on wireless connection, etc, was in applications, etc - got home and for some reason decided to put the Install OS X Disk thinking that there was more to install - then realized she h

    • Cost Element Block

      Hi I have created one cost element and posted number of documents. client asks that the posting should be reflecting in FI but not in CO So I tried to delete the Cost element category in FS00 but it is mandatory field. So if we delete it will impact

    • SAP J2EE Engine Start Page / Error 404

      Hi there, i have a problem. I restartet my JAVA ONLY System (a Portal) The System comes up. All Log files are clean. No Error no warnings etc. When i now want to connect to the ""SAP J2EE Engine Start Page" via: http://host.name.com:50000/index.html

    • Do I need to eject external HD every time?

      I want to use an external HD to store my photos. If I connect an external drive and leave it turned on, does that mean every time I shut down my computer I need to first eject the external drive? If so, is there a work around other than using a backu

    • Installed product not listed

      Purchased and installed Acrobat 11 standard, registeration will not complete.  This version is not on the list, so the program says the serial number is good, but no valid product is installed.  Verified the product IS installed.