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

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

  • 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

  • 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.

  • 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?

  • 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

  • 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.

  • Last Dunning Data not generated for customer account

    Hi Gurus,
    I have run the Dunning for a customer, it was successfully data generated to the customer account and able to see dunning history until 1st  and 2nd runs, but 3rd and final dunned but no data generated for the particular customer.
    In this time i find few other line items are additioned to the previous line item.
    The 3rd dunning days are already exceeded the grace days, but not data generated because of additional items are not eligible for dun this time they have good enough time as grace days.
    So this is caused, and no data generated to the for the respective line item which has to get the data for it's 3rd dun.
    When i run for some future time 3rd dunning was successfully got and data updated, for additional items also got dunned 1st reminder this time because they are also eligible this time..
    In my dunning procedure i have selected for always dun for all intervals and print line items for last dun.
    Your inputs are highly appreciated.
    Thanks in advance, points are avails.
    Thanks,
    Vyas

    Hi
    Any Updates on this ..
    Thanks in advance,
    Vyas

  • "Package data not active"?!

    Sometimes, when on a call, I cannot access the Internet as the "package data [is] not active"....
    What does this mean and why does it sometimes work and other times not?

    packet data not active. i solved this by entering my internet access point manually i got the details from my telephone companies website. for some reason the auotomatic settings or the ones they send in an sms dont work 100 percent of the time. also check you have packet data enabled in the connection setting menu.

  • Data not saving in Custom Infotype

    Dear Experts,
    I have created a custom infotype, 9003, for this I creates a structure ps9003.
    And I have to create a primary key field in my infotype, so I added a field in PA9003 as key field.
    Now this key field was not coming in the infotype screen, so I added it using screen painter.
    But now when I save the data the data is not saved in this key filed.
    Please Suggest.
    Warm Regards,
    Upendra Agrawal

    Hi
    As of my knowledge the primary key for the PA infotypes will be MANDT+PAKEY structure.  What is the need of adding the primary key.
    - While creating the custom infotype using PM01 screen will be automatically generated for the fields declared in PS structure
    - Screen Generation will wipe out the custom written on the fields so this is to be carefully handled.
    - if you added the field check logic in PAI & PBO
    - Check are you passing the data back to the infotye structure

  • 100MB rolling data NOT WORKING! Customer services deny it exists and hang up!!!!

    Roll back to last christmas. Oh what's that Kevin Bacon? Free rolling data for life if you top up during a set time!? I'm in; ORDER CONFIRMATION
    YOUR ORDER NUMBER IS xkn********
    Don't forget to tell us your order number when you get in touch.
    YOUR ORDER SUMMARY
    PACKAGE 1 OF 1
    EE Pay as you go Combi SIM Pay Today Pay Monthly
    FREE
    SIM
    £5.00
    Top up
    Free 100MB data every month
    FREE   Free 100MB data and the only condition is that you make a connection once every 180days to keep the sim active. SWEET! That's strange though, whenever I logged into manage my account it only ever showed a 50MB starter allowance. Nevermind, I'm sure once the 50MB is gone the deal will kick in right? 4 months of extremely light use later (~50MBs worth) and the data side of the sim dies. I must now top-up to get online? Waiittt a minute, no no no! This isn't what I (literally) signed up for.  And now; I've called EE a few times, always getting put through to the Indian call centre where the only thing lower than the quality of the VOIP connection is the operators grasp of English. During the first calls the guy added 100MB to my account but told me to wait until I was called back by someone who knew more. That call never happened but the 100MB data was removed. Now when I call they DENY the offer ever existed and actually hang up half way through a sentence like it's an accident.  I'm a customer, I paid for a service you are NOT giving. Sure it's only a fiver, but this is the kinda stuff that gets you on WatchDog! 150 is a deadend for me, SORT IT PLEASE!

    As I said above I was given a 50mb starter allowance that (due to extremely light usage) didn't run out for quite a while.
    Just got off the phone after finally getting put through to someone who could understand me, I've now been told the offer was never active on my sim and that IT WAS MY RESPONSIBILITY to have got it sorted while the offer was still active. Even though data WAS working as far as I could tell and I recieved the sim at the very end of the offer dates anyway. But now that the offer is over, it's impossible to activate it.
    And that's that. No apoligies, no "have this instead". Just "you should have known" and "you have a normal PAYG sim now".
    Since when is it the customers job to do EEs job!!!
    Absolute BS. Complaints on the way.

  • Data not Updated in Custom Screen fields-Vendor Master

    Hello,
    I have created a custom screen in vendor master transaction and also implemented the two BADI's below.
    Business Add-In: Processing Master Data Enhancements
    (CUSTOMER_ADD_DATA/VENDOR_ADD_DATA)
    Passed the Custom Program and Screen No in the method GET_TAXI_SCREEN
    Business Add-In: Customer Subscreens
    (CUSTOMER_ADD_DATA_CS/VENDOR_ADD_DATA_CS)
    activate it with the BADI Processing Master Data Enhancements with method CHECK_ADD_ON_ACTIVE.
    I also created a new screen and used few fields from LFA1 (Append structure fields) such that the fields on the screen are : LFA1-ZZFIELD1 etc...
    Now the issue is the screen is displayed, but the data entered on the screen is not updated on the table LFA1 or data from the table is not displayed on the custom screen.
    Am i missing something?
    Regards,
    Shiva

    Solved this problem.
    I built the query against InfoCube and not the characteristic itself. That's why I can't see the update.
    Thanks.

  • Values are not populating into Custom Context..

    Hi,
    Currently we are in CRM 2007(6.0), recently upgraded from SP 5 to SP 7. After upgrade one of the custom control is NOT getting populated with the values. When I click on the button, it's idsplaying CRM_UI_FRAME/WorkAreaViewSet on top of the window i.e. TITLE area. Iit's dispalying empty vlaues in 'display' mode. It supposed to display actual values. Before upgrade version it's working fine.
    I am new to CRM BOL, and not sure where to start and how to validate the functionality and where exactly the issue is? IT would be great if some one can help..and provide steps to analyse the issue. Thanks in Advance..

    Hi Mady_kris,
    If you turn on the following flag does it help?
    'Display Duplicate Variables Only Once' box in the
    workboox settings.
    thanks
    Orla.

  • Child Table data not coming in custom recon event.

    Hi All
    I have a requirement where I have to create a recon event from the custom java code. There is one attribute which is a multii valued attr. Now I am able to create the recon event but have not been able to bring the child table data to the event.
    following is the code I am trying with oimclient. countryList is the multi vlue field in the child table. On running I am getting "current Status" = Data Recieved and getting the employeeID, accessType and businessJust values with the even but not countryList
    HashMap record = new HashMap();
    record.put("employeeID", "test" + ran.nextInt());//"test1841519422");
    record.put("accessType", "testXXXX");
    record.put("countryList", "India");
    record.put("businessJust","Faltoo");
    HashMap record2 = new HashMap();
    record2.put("countryList", "India");
    long createReconciliationEvent;
    createReconciliationEvent = reconAPI.createReconciliationEvent("RO Name", record, false);
    System.out.println("Event: " + createReconciliationEvent);
    reconAPI.addMultiAttributeData(createReconciliationEvent,"countryList",record2);
    System.out.println("check2");
    reconAPI.providingAllMultiAttributeData(createReconciliationEvent,"countryList", true);
    System.out.println("check3");
    reconAPI.finishReconciliationEvent(createReconciliationEvent);
    System.out.println("closing successful2");
    Please let me know what else I should do, or what I am doing wrong

    What version of R2 or R2PS1? What is the exact patch level? There is an open issue on R2- with some BP &  PS1 (upto BP02 I think) where the issue occurs when there are multiple application instances of the same resource object. Do you have same scenario? If so what are the names of the application instance form names in the sandbox? Make sure you use the same form name for both the application instances in the sandbox.
    As long as the UD_ tables (both for parent and child) are filled up, it should be displayed in the child form of the resource under the accounts tab. The values from the child table are shown in the entitlements tab only if the child table column is marked with entitlement=true and you have run the entitlement list job.
    -Bikash

  • Maybe you are looking for