Function Module to Retrieve License Masters Assigned to Customs Declarations

Hi,
Is there a function module in GTS to determine which license masters have been created to release the blocked document?
My requirement is that I need to determine if there is a license master created to release a blocked document. If there is, I need to retrieve the text entered in the "External License Number" field.
Thanks.

Thanks for the responses so far. I don't understand the linkage between maintaining "Default Document for SAP Customs Management" in "Define License Types" configuration activity and having the respective legal regulation / license master appear on the "Documents" tab of the Customs Declaration.
For instance, if I have a legal regulation / license master that was used to unblock the delivery prior to the invoice / customs declaration being created, it will appear on the "Control" tab of the "Customs Declaration"
Legal Reg: LEGR1
License Type: LIC
License Master: 100000External License Number: EXT123
... how can I get the External License Number from the license above to appear on the "Documents" tab of the Customs Declaration.
I need an entry on the "Documents" tab that contains the following:
Category: CUII
Type: X035
Number: <External License Number>This will be pulled from license master 100000 created above. There will only ever be 1 license master.
Thanks for your explanations and help so far.

Similar Messages

  • How to Add function modules to retrieve current month

    how to Add function modules to retrieve current month from TVARV variables (currently we have functions to do close month).

    Hi
    Double click on the CODE for the line..
    SET PF-STATUS 'XYZ'.
    It will open the Menu Painter (SE41). Click on the Function Keys Tree Node and And assign the
    Function Keys and Function codes for the Menu Items.
    Hope this would help you.
    Murthy

  • Function module for retrieving values of the Characteristics?

    Hi,
    is there a function module for retrieving values of the Characteristics?
    will reward,
    regards,
    M.

    Hello,
    Check this.
        L_OBJECT = G_T_STPO-IDNRK.
    *--- Merkmale incl. Bewertung zum Objekt/Klassenart lesen ----------*
        CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
             EXPORTING
                  CLASSTEXT          = 'X'
                  CLASSTYPE          = '300'
                  FEATURES           = 'X'
                  LANGUAGE           = SY-LANGU
                  OBJECT             = L_OBJECT
                  INITIAL_CHARACT    = ' ' "keine unbewertete M.
                  OBJECTTABLE        = 'MARA'
                  KEY_DATE           = SY-DATUM
    *            NO_VALUE_DESCRIPT  =
                  CHANGE_SERVICE_CLF = 'X'
                  INHERITED_CHAR     = 'X'
             TABLES
                  T_CLASS            =  H_CLASS
                  T_OBJECTDATA       =  H_CLOBJDAT
             EXCEPTIONS
                  NO_CLASSIFICATION  = 1
                  NO_CLASSTYPES      = 2
                  INVALID_CLASS_TYPE = 3
                  OTHERS             = 4.
    Regards,
    Vasanth

  • Function Module to Retrieve Characteristic Value

    Hi,
    Is there any function module to retrieve the characteristic value of a sales order item (in the item batch determination button)?
    Thanks,
    Mawi

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • Function module to retrieve all the personnel numbers in the eval path

    Hi all,
    I want to retrieve all the personnel numbers that fall in the evaluation path.
    Like if my evaluation path is "B002" ( eval path for relationship is line supervisor of ), I want a function module that retrieves all the pernrs in this wval path up to the bottom level.
    if A reports to B and B reports to C and C reports to D . I want a function module to retrieve(either positions or pernrs) C, B and A when I run it for position D.
    any help??
    regards
    Sam
    regards
    Sam

    Hi
    U can use FM  RH_STRUC_GET to get the pernr in the evaluation path
    data : IT_RESULT_TAB     TYPE STANDARD TABLE OF SWHACTOR .
                CALL FUNCTION 'RH_STRUC_GET'
                  EXPORTING
                    ACT_OTYPE  = C_OTYPE
                    ACT_OBJID  = W_POSIT
                    ACT_WEGID  = C_WEGID (relation B002 like )
                    ACT_BEGDA  = W_BEGDA
                    ACT_ENDDA  = W_BEGDA
                   ACT_TDEPTH = 1 ( depath 1, 2, etc )
                  TABLES
                    RESULT_TAB = IT_RESULT_TAB .
    Nb : Give points if it worths

  • Function Module to retrieve appraisal data using a Document ID (GUID)

    Hi,
    Is there a function module to retrieve appraisal data of a document using the document ID (GUID). The new Document ID is of 32 char length. I am working on version 4.7 110.
    Edited by: Beril PC on Jul 16, 2008 8:01 AM

    check for functiona modules starting with phap* or hap*
    Regards,
    Divya

  • Function module to retrieve day of the week from a date.

    Hi Experts,
    i am looking for a function module to retrieve the day of the week from a specific date. For example, the date is 20070820. The day of this date is 'Monday'.
    Please let me know how do i get the result i.e. 'Monday'.
    thanks a lot for ur timely help.
    Best regards,
    Aksh

    DATE_COMPUTE_DAY
         Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.
    DATE_IN_FUTURE
         Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.
    DAY_ATTRIBUTES_GET
         Return useful information about a day. Will tell you the day of the week as a word (Tuesday), the day of the week (2 would be Tuedsay), whether the day is a holiday, and more
    regards,
    srinivas

  • Sales Order function module to retrieve the item availability values

    Hi,
      Is there any function module to retrieve the item availability schedule line values.
    Navigation:->
    Go to sales order (Change Mode) -> Schedule lines tab ->  In application toolbar you can find Item availability icon.
    When this is pressed, next screen you can find the split up of schedule line values. I am developing an ALV report and is required to retrieve the Split up of the schedule line values.
    Is there any function module to retrieve the same.
    BR/ Josh

    HI,
      I have found one function module ATP_EXPLANATION. I am not able to figure out the parameters that needs to be inputted to this function module. If anyone has used this before, could you kindly help me out.
    This function module returns the Split up for Schedule lines in the tablea 'MDVEX'.
    BR/ Josh

  • A  Function Module to retrieve Warranty detials of component in IBASE

    Hello Experts,
    For an Ibase, there is associated products which are assigned with some Warranty Products in relationships button.
    Please let me know a way to retrieve the Warranty information such as Warranty product, Start Date and Expiry date. Probably by some function modules or tables etc...
    Note: I have the Ibase number, Installed component, external id all the header information.

    Hi Keerthi,
    This FM:CRM_IBCWTY_IL_API_READ, you can use  to get warranty products in ibase comp.
    Pl. check out how to use it in the FM :CRM_ICSS_GET_COMPONENT_DETAIL
    Regards,
    Arjun
    Pl. do reward points

  • Function module to retrieve the account number linked to an SD invoice item

    Hi all,
    I should retrieve the gl account number linked to a certain SD invoice item. The
    program starts from VBRK and VBRP data. Is there a function module which
    enables to get it starting from these header lines? I already used the function
    module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
    doesn't seem to function properly ( the export table TKOMV doesn't contain a
    value for the SAKN1 field ). For the invoices for which the function isn't able to
    retrieve the account number, the standard accounting analysis functionality returns
    the following message: account determination carried out via KOFI type. So I'm
    searching for a function module that's able to retrieve the account number in these
    cases also.
    Thanks in advance.
    Adriano.

    Dear Adriano,
    Try with Function Module 'SD_DETERMINE_ACCOUNT_INVOICE '.
    Additional Info:
    BAPIs related salesorder:
    BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
    BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
    BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    FM:
    MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
    SD_SALES_ORDER_STATUS_WWW for complete details including the delivery information.
    Hope this will help.
    Regards,
    Naveen.

  • Function module to retrieve the account linked to an SD invoice item

    Hi all,
    I should retrieve the gl account number linked to a certain SD invoice item. The
    program starts from VBRK and VBRP data. Is there a function module which
    enables to get it starting from these header lines? I already used the function
    module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
    doesn't seem to function properly ( the export table TKOMV doesn't contain a
    value for the SAKN1 field ). For the invoices for which the function isn't able to
    retrieve the account number, the standard accounting analysis functionality returns
    the following message: account determination carried out via KOFI type. So I'm
    searching for a function module that's able to retrieve the account number in these
    cases also.
       Thanks in advance.
       Adriano.

    Hi
    Try using FM SD_DETERMINE_ACCOUNT_INVOICE or  WLF_INVOICE_ACCOUNT_DETERM.
    Thanks
    Sandeep
    Reward if helpful

  • Function Module to Validate a Partner Assignement to a Customer(XD02)

    Hi,
    I need a function module to check the validation,
    while we assigning a partner to a customer in the customer master.
    I need to replicate the SAP functionality in this case.
    Thanks,
    Sekhar.J

    Hi,
    Try
    BAPI_CUSTOMER_CHECKEXISTENCE
    BAPI_BUSPARTNER_CHANGE
    BAPI_BUSPARTNER_CREATE
    BAPI_BUSPARTNER_GETDETAIL
    Edited by: Neenu Jose on Nov 3, 2008 6:04 AM

  • Function Module to retrieve "Start date of Next financial Period"

    Hi,
    I am doing an accrual financial posting, I would like to know that is there any function module that I can call to retrieve "Start date of Next financial Period" ?
    Thanks.

    Hi,
    Try this below Function Modules
    MC_PERIODE_ZUM_DATUM
    MC_PERIOTAB_BT_FIRST_LASTDAY
    MC_PERIOTAB_TO_DAYTAB
    MC_PERIO_CONVERT_TO_WEEK_MONTH
    MC_PERIO_GET_FIRST_AND_LASTDAY
    Hope it wil helpful.
    Regards,
    Anki Reddy

  • Function Module to retrieve Address from the table ADRC

    Is there any function module available to retrieve data from ADRC by using the ADDRNUMBER as input

    Try using FM: ADDR_GET
    This has import parameter ADDRESS_SELECTION which contains ADDRNUMBER.
    Hope this helps.
    Please reward if it works.
    Vallabh.

  • Function module to retrieve the material master data

    Hi all,
    creating material master dta i am using BAPI_MATERIAL_SAVEDATA .is there any f.m with same structures as BAPI_MATERIAL_SAVEDATA to retrieve the materi master data.

    Hi,
    Not sure if there is any function module to get material master data with the same structure..
    But..
    You can select the data from MARA, MARC, etc...and convert it to the BAPI structures using the following function modules..
    CFX_MAP2E_MARA_TO_BAPI_MARA
    CFX_MAP2E_MARC_TO_BAPI_MARC
    Thanks,
    Naren

Maybe you are looking for

  • HP Laserjet P2055dn doesnt take paper from tray 2

    Problem is with a P2055dn printer, it incorrectly thinks there are no paper at tray2. It says "load paper" The situation is as such when: There is more than 10 papers and less than ab 1.5cm stack of papers. The "sticky roller" that should take the pa

  • Japanese Character Display Problem

    It seems like the new JRE does not allow Japanese characters to be displayed on anything but the title bar of an application when running on a US English XP SP2 system with all of the proper language support installed. I can see the Japanese Characte

  • Different results on consecutive runs of OFT for Web Applications

    I am using Oracle Functional Testing for Web Applications to test share point site [using: OS = WinXP SP3, default browser = IE8.0.6] I've recorded simple scenario - browsing through two pages (home page > menu link > page 1) there is no user input i

  • My itunes doesnt want to open on my computer

    what to do because my itunes doesnt open on my computer

  • Upgrading to OS X 10.5

    This isn't as much of a problem as it is a request for advice. I am currently using a late model 12" iBook G4 with a 1.2 Ghz processor, and 1.25GB of RAM. This machine is currently running 10.3.9, and has been since it was bought in late 2004. Unfort