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

Similar Messages

  • 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

  • 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

  • Data not updating in database

    Friends i have table and i have created a sequence on basis of that table.
    For 1st page i have created an html region and made few items there and a save button.
    I am filling data to the fields in page 1 and clicking the save button. In save button i have passed the address of the items of 1st page to items of 2nd page which contains the same field of page 1 and few more additional field.
    the 2nd page which i have made is on basis of form on a table or view and taken exsisting sequence there. When i clicking the submit button in page 2 it is not updating my database and throwing error called unable to fetch row. Any suggestions on this?

    Lev addition to this i wanted when my create button in 2nd page get clicks my database gets updated and also a query runs which checks the same data of combination variant_type,model_code,year_manuafacture. It means if i have 2 records in database with same variant_type,model_code,year_manufacture then in the field how_many in page 2 count of 3 gets updated and the other field solution avaiable get updated with Y.
    For this in my local system in page 2 i created a plsql process and wrote this code and applied it with create button but its not working. Any idea where i am failing?
    Declare
    l_how_many Number;
    l_sol_av Varchar2(1):= NULL;
    Begin
    select count(*)
    into l_how_many
    from quality
    where 1=1
    and variant_type= :P2_VARIANT_TYPE --'Road Bike'
    and model_code = :P2_MODEL_CODE --'6'
    and year_manufacture= :P2_YEAR_MANUFACTURE  ; --'2000'
    If l_how_many=null then
        l_sol_av := 'N' ;
    else
        l_sol_av := 'Y';
    end If ;
    :P2_SOLUTION_AVAILABLE := l_sol_av;
    :P2_HOW_MANY_RAISED       := l_how_many;
    Exception
        when no_data_found then
        null;
    end;

  • 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

  • Subscreen data not updating to database

    Hi,
    I have created a subscreen in transaction code ME41/ME42/ME43. Whenever I put data on the custom subscreen, table ekpo is not getting updated with the input data. I have checked EXIT_SAPMM06E_013 and I did passed the new table to XEKPO. But it is still not working. Kindly advice.
    Thanks and regards,
    Marc

    Hi Marc,
    In EXIT_SAPMM06E_018 do as follows:
    e_ci_ekpo = ekpo_ci.
    The append structure CI_EKPODB is included in ekpo_ci. Moreover the screen fields should be created with reference to ekpo_ci.
    This will update the database table with values for the custom field.
    Hope this helps.
    Regards,
    Abhisek.

  • Chain and store data not populating properly in BPARTNER

    Hi all,
    There is a field 0bpartner2 in the data source name 0BP_RELATIONS_ATTR. This field is also there in DSO1 which fetches the data from the mentioned datasource. Then using routines this field 0bpartner2 splits into two-->chain and store which are getting populated in the next level of DSO, DSO2 which finally goes into 0bpartner infoobject.
    But for two particular bp nos the values of chain and store are not getting populated.
    Checked in RSA3, the data is OK, but in the PSA level the data is not there.
    This is happening only for this two particular bp nos.
    Kindly help.

    Hi,
    at info package data selection don't have selection please check the below options.
    1. go to ECC -> enter the t code- RSA5 -> select the data source -> go to change mode -> select the check boxes possibility.
    2. if not there come to BI system select the data source go to change mode -> select selection menu -> browse and choose the X- selection possible.
    now it available selections at info package - while seeing the RSA3 data give the selection at info package
    Thanks,
    Phani.

  • Data not inserted into database from jsf..

    hello..
    m developing ma project with 2 separate module-EJB and WEB .in which web module contains JSF managed bean and jsf-jsp pages.
    my application is running well.bt didn't give output to the database for inserting data.
    m giving ma simple test application ...plz tell me whr m going wrong.
    //Emp.java---entity file in ejb module
    package entity;
    import java.io.Serializable;
    import javax.persistence.Basic;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    @Entity
    @Table(name = "emp")
    @NamedQueries({
        @NamedQuery(name = "Emp.findAll", query = "SELECT e FROM Emp e"),
        @NamedQuery(name = "Emp.findByName", query = "SELECT e FROM Emp e WHERE e.name = :name"),
        @NamedQuery(name = "Emp.findByAddress", query = "SELECT e FROM Emp e WHERE e.address = :address")})
    public class Emp implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @Basic(optional = false)
        @Column(name = "name")
        private String name;
        @Column(name = "address")
        private String address;
        public Emp() {
        public Emp(String name) {
            this.name = name;
        public Emp(String name, String address) {
            this.name = name;
            this.address = address;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        public String getAddress() {
            return address;
        public void setAddress(String address) {
            this.address = address;
        @Override
        public int hashCode() {
            int hash = 0;
            hash += (name != null ? name.hashCode() : 0);
            return hash;
        @Override
        public boolean equals(Object object) {
            // TODO: Warning - this method won't work in the case the id fields are not set
            if (!(object instanceof Emp)) {
                return false;
            Emp other = (Emp) object;
            if ((this.name == null && other.name != null) || (this.name != null && !this.name.equals(other.name))) {
                return false;
            return true;
        @Override
        public String toString() {
            return "entity.Emp[name=" + name + "]";
    //empsession.java--session file in ejb module
    package session;
    import entity.*;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless
    public class empsession implements empsessionRemote {
        @PersistenceContext(unitName = "EJBmodulePU")
        private EntityManager em;
        public void addemp(String name, String address) {
            Emp objemp=new Emp(name,address);
            em.persist(objemp);
    //empsessionRemote.java--remote file for sessionbean
    package session;
    import javax.ejb.Remote;
    @Remote
    public interface empsessionRemote {
        void addemp(String name, String address); 
    //empMB.java--managed bean file in web module
    package mbean;
    import javax.faces.bean.ManagedBean;
    import javax.faces.bean.RequestScoped;
    import javax.naming.InitialContext;
    import session.empsessionRemote;
    @ManagedBean(name="empMB")
    @RequestScoped
    public class empMB {
        private String name;
        private String address;
        public String getAddress() {
            return address;
        public void setAddress(String address) {
            this.address = address;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        /** Creates a new instance of empMB */
        public empMB() {
        public void empadd()
            try
            InitialContext ic = new InitialContext();
            empsessionRemote esr=(empsessionRemote)ic.lookup(empsessionRemote.class.getName());
            esr.addemp(name, address);
            catch(Exception ex)
    }//AddEmp.jsp --jsf page in web module
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>JSP Page</title>
    </head>
    <body>
    name:
    <h:inputText id="txt1" value="#{empMB.name}"></h:inputText>
    address:
    <h:inputText id="txt2" value="#{empMB.address}"></h:inputText>
    <h:commandButton id="btnadd" value="submit" action="#{empMB.empadd}"></h:commandButton>
    <h1><h:outputText value="Hello World!"/></h1>
    </body>
    </html>
    </f:view>
    //faces-config.xml
    <faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
    <managed-bean>
    <managed-bean-name>empMB</managed-bean-name>
    <managed-bean-class>mbean.empMB</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/AddEmp.jsp</from-view-id>
    <navigation-case>
    <from-outcome>AddEmp</from-outcome>
    <to-view-id>/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    m using toplink provider and mysql db
    wating for positive reply..
    thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I think this question would be more appropriate in a forum devoted to database or JPA topics.

  • COST CENTER DATA NOT populated

    Hi experts,
    I am facing problem with the follwing, please help me as it is urgent and points will be assigned.
    I am working on BI 7, I had two extractors from R/3 0FI_GL_4 and 0FI_GL_6. Extracted data to BI system, In BI system created two DSO namely 0FIGL_O02 and ZFI_GL_6. so I had moved the data from 0FI_GL_4 to 0FIGL_O02 ( P&L accounts) and from 0FI_GL_6 to ZFI_GL_6 ( Balance sheet accounts).
    So here what we did is that we had created created one more DSO ZFI_GL_7, in this DSO we had loaded the both the DSO data of 0FIGL_O02 and ZFI_GL_6.
    so here comes the problem.
    Balance sheet accounts would not have Cost Centre values and in turn P & L accounts would have Cost Centre data. this is true.
    But i am not able to look the costcentre data for all the GL accountsin the DSO ZFI_GL_7, only some few GL accounts have the data some does not have.
    In this regard please help me. and it is very much urget.
    For your kind information , one more info is there please note.
    Whatever the data is coming to DSO ZFI_GL_7 is copied into the another DSO ZFI_GL_8 ( HYPERION DATA LOAD) , FOR THIS WE HAD WRITTEN THE ABAP PROGRAM also.
    So can anyone help.
    Hi ABAP experts,
    Please find the above information,
    Since I had to write the ABAP program in 0FIGL_O02 in Transformations, the program is already there, but the delete statement shows like this.
    "DELETE SOURCE_PACKAGE where BAL_FLAG = 'X'."
    In this case I want to allow the GL accounts data with cost centre data, so that I want to see for all GL accounts the cost center data will be populated. so Please help me what is the process to write the code.
    At the same time I want to write the ABAP code at ZFI_GL_6 to restrict the GL accounts, since this accounts are already present in the DSO, so that we cannot get the duplicate data in the ZFI_GL_7 DSO.
    So Please help me in this regard.
    Thanks
    Sekhar

    Hi ABAP experts,
    Please find the above information,
    Since I had to write the ABAP program in 0FIGL_O02 in Transformations, the program is already there, but the delete statement shows like this.
    "DELETE SOURCE_PACKAGE where BAL_FLAG = 'X'."
    In this case I want to allow the GL accounts data with cost centre data, so that I want to see for all GL accounts the cost center data will be populated. so Please help me what is the process to write the code.
    At the same time I want to write the ABAP code at ZFI_GL_6 to restrict the GL accounts, since this accounts are already present in the DSO, so that we cannot get the duplicate data in the  ZFI_GL_7 DSO.
    So Please help me in this regard.
    Thanks
    Sekhar

  • 0vtype =20 (plan data)  not populating to cube but present in psa

    Hello Experts,
    I have a requirement in BW 3.5 where in I need to create a report on multiprovider which should give the actual data,plan data and the difference between actual and plan data for some key figures.
    The data flow is like this
    There are two cubes one for actual and the other for plan ,I am able to get the actual data (10) for actual cube from R/3 .
    But the problem is with plan cube,I am not able to get the plan data (20) to the plan cube (to the field 0vtype) ,but the data is coming till psa from R/3,there is no routine present in update rule also,but still data is not showing up for this 0vtype in plan cube...
    I have tried loading selectively (020) by giving 020 as constant in the update rule..but still no luck
    The datasource that is fetching plan data is 1_CO_PA_PLN1000.
    Could you please suggest how to proceed further
    Thanks,

    HI Sashi,
    Checking the mapping between the 0vtype and the source fiedls.
    Check in transfer rules first if it is mapped or not.
    Transfer rules are not mapped to source fields then correct it .
    Hope this helps.
    Regards,
    Reddy

  • Adding data not in the database

    I have a data source that does not include a specific set of transactions from previous years.  I want to include the transactions in my data for the years in question.  I have the numbers I want to add at the month level which is a the group footer for the report.
    I tried to do a Select/case formula and hard code the numbers.  However, the program won't allow me to add those numbers to the data from the original data source.
    I also tried to link an excel worksheet as a datasource, but I didn't get the results I needed.  As far as the linking goes, none of the records from the excel sheet are a match to the ones in the datasource, until the data from both is summarized to the month level.
    Any ideas?

    Can you post what your solution was ( just in case someone else has a similar issue)
    It looks like a sub-report would quickly do what you need.

  • Data not populated when run from a different machine

    I have a stored procedure which populates a table
    The stored procedure when it is run on my machine using SQL Plus populates data correctly in a table.
    I select using SQL PLUS and it shows that the data is there
    But when I run the SAME procedure ( SAME schema, SAME parameters, same everything ) from a
    different machine using SQL PLUS , it shows that "PL/SQL procedure completed successfully", BUT does not populate
    the table.
    SAme thing is happening for all other procedures too.
    Why is this happening
    Please help
    Ashwin

    I checked using this
    SELECT * FROM V$PARAMETER WHERE LOWER(NAME) ='nls_language'
    AND I get same results on both machines
    NUM NAME TYPE
    VALUE
    ISDEFAULT ISSES ISSYS_MOD ISMODIFIED ISADJ DESCRIPTION
    UPDATE_COMMENT
    96 nls_language 2
    AMERICAN
    TRUE TRUE FALSE FALSE FALSE NLS language name
    Thanks
    Ashwin N.

  • Packaging data not populated in customs declaration

    Hi all,
    I'm creating Pro-forma invoice in ECC and as a result Custom Declaration is getting created in GTS. In GTS the Packaging data in item level is coming as empty. So I implemented the BADI /SAPSLL/IF_EX_IFEX_SD0C_R3 and tried to pass the packaging data. But as a result the custom document stopped getting created in GTS.
    I'm using the below code to populate the fields of the table cs_itm_cdoc-pge-
    LOOP AT lit_vepo ASSIGNING <lfs_vepo>.
            lwa_itmpge-item_number = <lfs_vepo>-posnr.
            lwa_itmpge-int_id = <lfs_vepo>-vepos.
            lwa_itmpge-quantity = <lfs_vepo>-vemng.
            lwa_itmpge-dim_uom = <lfs_vepo>-vemeh.
            APPEND lwa_itmpge TO cs_itm_cdoc-pge.
            CLEAR lwa_itmpge.
          ENDLOOP.
    I'm taking the value of <lfs_vepo> from the standard table vepo. Can anybody please tell me what I'm doing wrong?
    Thanks,
    Sarif

    Hi Dave,
    I’m new to GTS. I’ll list the steps here which I’m following-
    1.       1. In ECC, In tcode VF01, put Billing Type = ‘F8’ and Document = Outbound Delivery ID
    2.       2. Click Save, the billing document in ECC will be saved
    3.       3. In GTS, go to tcode /sapsll/menu_legal
    4.       4. Go to Customs Management->Export->Display Customs Declarations.
    5.       5. You’ll see a new document has been created with reference to the billing document in ECC.
    6.       6. Open the document. Go to Item Details->Packaging Data.
    7.       7.  The packaging details is empty.
    This is the current default behavior. Now my job as an ABAPer is to fetch the packaging data from VEPO table and fill it in the BADI /SAPSLL/IF_EX_IFEX_SD0C_R3 so that it gets reflected in GTS.
    But when I’m trying to do it the custom document in GTS isn’t getting created at all. Note that it’s getting created properly when I’m removing the coding related to the packaging data. So obviously I’m doing something wrong here. Do I need to fill the packaging data for  header as well? Also the field for container is currently empty, do I need to fill it? If yes, where shall I get the data?
    Thanks,
    Sariful

Maybe you are looking for