Propose item packaging data for customs declaration

Hi All,
My requirement is to update packaging data information as mentioned below in the item level of Customs declaration
1. CNTNO  (Container Number)
2. PGETY   (Package Type)      
3. PGESU   (Number of Packages)
4. PGEX1    (External Package Number)
I am using BAdI for Default Data in Customs Shipment and Customs Declaration. I have checked all the methods in this BAdI, and the method which fits more close to my requirement is ITEM_LEGPGE_PROPOSE. But this method allows me to update 
a. Package Tye
b. Number of Packages
How should I take care of updating other two fields : Container Number and External Package Number?
Is there any other BAdI in GTS which takes care of it?
I would really appreciate your inputs on this.
Note:
I am transfering this Packaging Data information from Packaging data tab present at item level in Transit document (Type: TRLOIM) to Packaging data tab present at item level Customs declaration (Type: CULOIM).
The transit document is extended with items and packaging information through the receipt of an EDI message from Customs.
Thanks & regards,
Yogesh A Sharma

When transfering the DATA to GTS the Program fills the API for the transfer, you can go and change the information there. For this you can use the BADI's that are found in the feeder System under
SPRO / Sales & Distribution / Foreign Trade/Customs / SAP GTS Plugin / BADI for SAP Global Trade Services / Edit control for document transfer.
As mentionned above you may replace the GU number by your container Number (Field EXT_ID) or you can try by filling EXT_ID2 / or use any of the additionnal Fields of the Declaration, or in GTS you have the possibility to add supplementary fields in to the declaration (but I never tried it up to now) in the API which is called at  "Perform api6800_csd_Synchronize" during the document transfer.
Regards,
Marc

Similar Messages

  • Logical database PNP not retrieving data for custom infotypes.

    Hi all,
    I am using logical database PNP in a program. I have declared infotypes as follows:
    INFOTYPES: 0001, 0002, 0041, 9801, 9840.
    The problem is that the logical database is retrieving data for the standard infotypes but not for the custom infotypes. Any explanation as to why data for custom infotypes is not being retireved and how this can be solved will be greatly appreciated.
    regards,
    Hamza

    solved

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

  • How to upload data for custom infotype

    Hi  Friends
    Can we use HR_INFOTYPE_OPERATIONS   FM  for custom infotype too  or is there other way or other Standard FM to upload data for custom infotype  starting with 9000..etc.
    Points will be there for sure.
    Thanks
    Meeta & Roopa

    Thanks for quick response.
    my qns is can we use Standard FM like HR_INFOTYPE_OPERATIONS  for custom infotype too ?
    in my requirment  input will come from portal form and in background  Java Wd is going to use these FM  but i have this big  doubt can we use these standard FM for  uploading data in custom infotype as well or else is there any other way.. but for sure we can't use BDC and LSMW in this requirement .
    Thanks Meeta & Roopa

  • Credit master data for Customer

    Hi,
    I need solution for the below problem.
    Credit master data for Customer "X" is not maintained.
    Is there any possibility to get the information /Error message during sales order creation/Save for Customer "X" as Credit master data is not maintain.
    Information/Error message shouldd be:No credit master data maintain for Customer "X"
    Thanks for your help.
    Regards,
    Balaji.

    Hi
    You can use the followig user exit which will perform a check while saving the order.
    Take the help of your abaper to write a code to check if the credit master has been maintained for the customer before saving the order.
    Program,: MV45AFZZ
    USEREXIT_SAVE_DOCUMENT_PREPARE
    Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
    The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
    Regards
    Madhu

  • Showing item created date in custom alert template

    Hi,
    I'm working on customizing the sharepoint alert templates for my site collection.
    I got good info on net regading the modifications to be made. But unfortunately, I couldn't fine info about showing the
    Created Date column of the item.
    I need to show the item created data and modiifed date vlaues in my alert email,
    I've 'TimeStamp' property which shows the modiifed date. But Im not getting equivalent property for created date.
    I've tried the below options
    NewValue#Created
    NewValue#ItemCreated
    OldValue#Created
    DisplayName#Created
    None of them are showing hte created date of item.
    There is one attribute 'RawValue' which is giving the created date. but it's display format is really not user friendly
    It shows date as 2013-09-08 T 11,40..Z
    Is there any way to show item created date in alert emails? I dont want to use custom code for it.
    I need to use OOB approach. Or atleast is there a way to format the above date displayed thru 'RawValue' attribute.

    Thanks Arif, it did not work. One note though, if we are using the field name we do not use the brackets:
    <GetVar Name=”OldValue#Created_x0020_Date”
    />
    Both with and without brackets did not
    work. 
    Thanks for the suggestion,
    Mike

  • Source of data for custom tables in Oracle Apps

    Hi,
    Is there any way to find the source of data for the Custom tables. The source can be either any function, procedure, package or a trigger or any other process. The reason why I need to know about it is because we have some custom tables that are used by some custom Reports. Sometimes those reports comes out blank because the data in these custom tables is blank. So I need to know which processes are populating data in these custom tables. Any help would be really appreciated !!
    Thanks,
    KM

    Is there any way to find the source of data for the Custom tables. The source can be either any function, procedure, package or a trigger or any other process. The reason why I need to know about it is because we have some custom tables that are used by some custom Reports. Sometimes those reports comes out blank because the data in these custom tables is blank. So I need to know which processes are populating data in these custom tables. Any help would be really appreciated !!I do not think there is a direct way to find out the source of the data unless your custom processes are documented.
    You may enable AutditTrail (search the forum for links/docs) and see if this would help.
    Thanks,
    Hussein

  • External Data in Customs Declarations

    Hello -
    What BAdIs can be used to default external data from the Feeder System (but not from a PO, Inbound Delivery, or Goods Receipt document) into a GTS Customs Declaration?

    Hi ,
    There is way to default data from Feeder system , suppose you need data like Bill of Lading to be pushed on custom declaration in GTS
    you can use BADi /SAPSLL/IFEX_MM0C_R3 which is called at time of  GR  to transfer Bill of Lading value in additional data ( this field is available in the structure of the Badi ) to GTS on customs declaration document  and then use another BAdi /SAPSLL/CUHD_PROP to default the data to the particluar field where you want this to get defaulted.
    Not sure this is what you looking for.
    Kind Regrads,
    Sameer.

  • Copying data for custom includes in FB50

    I have added new fields to FB50 by using the screen painter in SAPLFSKB screen 100. I created new fields in CI_COBL called ZZNAME1 and ZZPARVW. These now appear on FB50. The problem is, data that is entered into those fields disappears when trying to save the document in FB50. How can I make that data persist? I believe that I need to copy the data from ZZNAME1 and ZZPARVW into the real fields NAME1 and PARVW, but where would I put the code to copy that data?

    Is there any way to find the source of data for the Custom tables. The source can be either any function, procedure, package or a trigger or any other process. The reason why I need to know about it is because we have some custom tables that are used by some custom Reports. Sometimes those reports comes out blank because the data in these custom tables is blank. So I need to know which processes are populating data in these custom tables. Any help would be really appreciated !!I do not think there is a direct way to find out the source of the data unless your custom processes are documented.
    You may enable AutditTrail (search the forum for links/docs) and see if this would help.
    Thanks,
    Hussein

  • Flag deletion date for customer

    Hello All,
    I have a requirement to get the flag deletion date for a customer on a sales organization level in a report, maintained in XD03/VD03 -
    Have written the below code.
    The problem with this is that the date is not fetched sometimes for a particular sales org.
    Could anybody suggest?
    Regards
    Varsha

    yes there is a field which stores the last date for a customer transaction
    Regards
    PS: Be clear in your question.

  • Create min(date) for Customer in BMM layer

    Hi guys,
    I need help in creating a first order date for a customer. I want to do this in BMM layer and use directly in reports.
    How should i create this?
    Any help Appreciated.

    I think its you sent me email with samilar Q.
    If you are doing in BMM you need to understand the schema
    assuming you got fact,day, custmer tables
    and these joined as star.
    you need to create a metric on fact as min(day.date) and set content tab to customer level
    for this you might have to map day dim to fact using fact source properties add day table.
    once you done as I said:
    just pull mindate metric in answers run it and check physical sql that should be like
    select min(date),cust_name from
    fact,day,customer
    where 2 joins goes
    group by cust_name
    Hope this helps, if helps mark

  • Last Date for customer transaction

    Is there a SAP field which stores the last date for a customer transaction.
    Thanks.

    yes there is a field which stores the last date for a customer transaction
    Regards
    PS: Be clear in your question.

  • Item level security for custom items in 902

    I've created several custom item types and created some items in a page
    that enables Item Level Security.
    Enabling item level security on any of these items cause
    Error 30694: Error in API - update item failed
    Steps:
    1. Create custom item type
    Extended simple text type
    added image attribute
    2. Create custom item
    3. Edit custom item just created
    Select Access / Item Level Security
    Select Define Item Level Access Privileges
    Hit Apply or OK
    -> Error 30694: Error in API - update item failed
    Same error is using a "Image" item type.
    The above steps do not cause an error if using the default types; e.g. Simple Text and Simple URL
    Also tried promoting the item type so its shared. No effect.
    Is item-level security only for base "simple" item types??? If so then this is a MAJOR restriction.
    Any help would be greatly appreciated.
    --jason mathews                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Jason
    I filed a bug on this. See 2529787
    I narrowed the problem down to custom item types that have a file or image attribute and only when the item is edited by someone other than the orginial publisher.

  • BW Master Data for Customer Exit Variable Reference

    Good day Experts,
    I have several queries that I would like to remove the hard coding of values on to prevent yearly maintenance. In these queries there are two conditions each condition is on different key figures that is amount by year.  The query is only to report on data that for the two amounts (separated by year) is greater than the specified values. I want to change the condition so the value is no longer hard coded so the query will role automatically as the time period changes. The year amount values that the condition will need to reference are not currently stored in our BW system. I would like to create master data that is maintained directly in the BW system for the amounts that a variable for the condition in the query can then access.
    I know it can be set up as master data and then referenced through a customer exit variable but when I set up the master data if I do the Amount as a key figure I cannot maintain the key figure value for the master data manually in BW, if I set the Amount up as a numeric characteristic then I canu2019t directly use a decimal. Am I missing something in the key figure setup then referencing the key figure as an attribute of the year value or do I need to do it as a characteristic and use a conversion routine or something for data manipulation?
    Can someone please give me some guidance to what the best way to do this is?
    The data necessary master data for storage in BW is the YEAR and a single dollar value:
    For Example:     
    Year          Amount
    2009           101.50
    2008          207.80
    2007          807.40

    I figured out that I can use an amount in the master data and maintain the amount manually as long as I use the amount with a currency instead of setting the currency in the key figure.

  • How to Load the Master Data for custom defined Z infoobjects?

    Hi Gurus,
    This is the requirement.
    Some screen enhancements has to be made by adding  new Custom fields( like two text boxes,eg Name and city ) in such a way if we enter data into that text box,that data value for both of the Enhancements has to be stored in some table.If this data is a master data,then how would I pull this master data into BW.
    Please someone throw some light on this problem.
    Lets say a Screen is enhanced with NAME and CITY with text text boxes.Let the user enters the value for NAME and CITY.Let them be stored under two different tables ZTAB1 and ZTAB2.How would I load this master data into custom Defined  Z infoobjects ZNAME AND ZCITY in BW.
    Please help me out.
    Thanks is Advance,
    Regards

    you can by creating generic datasources on thoase tables with Full load or delta.
    if the number entries is less.. you can try full load...
    if it is more... along with required fields...put date also as one fields. which needs to get date of execution of program or date of uploading to Tables. this will be useful build Delta Mechanism.
    all the best.
    Nagesh Ganisetti.

Maybe you are looking for

  • Exception "algorithm ARC4 is not available from Provider Cryptix "

    hi all i am developing the application in which i am using two encryption/decryption algorithms one is "RC4" and second is "AES(256 bit key)". 1.first i am taking the credit card number from database which is in the encrypted format using 'RC4". 2.Af

  • Strange GL account in Invoive Verification

    Dear Experts, Usually, IR doc is Dr: GR/IR Cr: AP-vendor But, My document is Dr: GR/IR Cr: GL account I don't know where is this GL account from, Is it configurable? otherwise, how does SAP find and post this GL account instead of AP-vendor? Before t

  • Change language in theme center

    I bought my lenovo phone in HK. The charaters in the theme center contains chinese character. Although i set the language in english. Hope you can give a hand.

  • Call enhancement class method from Bus. workflow task

    Hi all, I recently enhanced a global class from SAP (add a new method). Now I would like to call it from a workflow task (ABAP Class object used in the task). So it seems that only "native" methods from the class itself can be selected for the object

  • Do you know , what is Double level domain in ABAP ?

    1. Do you know , what is Double level domain in ABAP ? 2. Have  you heard of any concept called " loggi " or simillar ...?