Function Modul for Order Number from VA02

Hallo
i have a delivery number and want read the order number from VA02.
Of course, select the database from LIKP --> LIPS --> VBKD is possible but 
maybe it has function modul for read the order number from transaction VA02.
THX ANU

Hi,
I think is better recover the data directly from DB tables (in table LIPS you have the fields VGBEL, VGPOS, VGTYP ) if you only want the order number.
With the delivery number you only need to acces 1 table. If you use a FM, you will recover this data and a few fields that is not interesting for you. The access to table LIPS is using table index (delivery number)
Regards,
Pepe

Similar Messages

  • Function Module for getting address from address number

    Hi all,
    Is there any function module for getting address from address number. kindly reply.
    regards,
    siya

    HI,
    just try this function module:
    CALL FUNCTION 'HR_GET_ADDRESS'
        EXPORTING
          ankey          = ankey
          anart          = anart
          molga          = '01'
        IMPORTING
          address_detail = adr_data
        EXCEPTIONS
          not_found      = 1
          OTHERS         = 2.
    HOPE IT WILL HELP YOU
    regards
    rahul

  • Function module for converting number to exponential???

    Hi All
      please tell me Function module for converting number to exponential.
    Deepak

    try:
    REPORT Zconvertf.
    parameters p1 type p decimals 2 default '4711.99'.
    data f1 type f.
    move p1 to f1.
    write: / p1, f1.
    hope that helps
    Andreas

  • Function Modules for Order Settlement

    Hi,
    I need simulate the transaction KO88 for Order Settlement with a function module but without batch input. Please, somebody can tell me which function module I can use and give me a example?
    Also, I need another function module for order release...
    Thanks in advance,
    Regards,
    Irina

    Here`s the way to find out how its using ...
    GO to TR.SE93-> give "KO88" 0>  click display
    Double click program name and find "call fucntion" when list come up "serach "Settlement" . You`ll get idea.
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • How to config Check Digits function module for Student Number Validation

    Hi SLCM Experts,
    In the SAP-SLCM, How to use check digits function module for validate student number.  Just only config it or need to customizing program.
    *Any idea to student number validation in SLCM?*
    Best Regards,
    Suvatchai K.

    Hi ,
    Can you expalin it further ?
    You configure the St. no in piq_matr . And set it  as external or internal no. range which suits your business .
    What is the validation you are looking for ?
    Regards
    Gajalakshmi

  • Function module for finding number of records in table

    Do we have any function module to find number of records in a table?
    Thanks,
    Shweta

    use the EM_GET_NUMBER_OF_ENTRIES. You just have to write your table name into the input table IT_TABLES in the TABNAME field

  • Function Module for getting Number ranges between two number

    Hi guys,
    Is there any Function module which provide us the number range between two numbers?
    For Ex:If i give 1 and 10 to FM it must give me 1
    2
    3
    4.....upto 10.
    is there any FM for doing this,but i'm not able to find exact Fm for same.
    I can write small piece of code for getting number ranges, but if i get FM it could save little work.

    Hi
    But why do u need a fm, can't you do it by yourself?
    DATA: FROM_NUMBER TYPE I VALUE 1,
          TO_NUMBER   TYPE I VALUE 15.
    DATA: NUMBER            TYPE I.
    DATA: BEGIN OF T_NUMBER OCCURS 0,
                  NR TYPE I,
              END    OF T_NUMBER.
    NUMBER = FROM_NUMBER.
    DO.
      IF NUMBER <= TO_NUMBER.
        T_NUMBER-NR = NUMBER.
        APPEND T_NUMBER.
      ELSE.
        EXIT.
      ENDIF.
      NUMBER = NUMBER + 1.
    ENDDO.
    LOOP AT T_NUMBER.
      WRITE: / T_NUMBER-NR.
    ENDLOOP.
    Max

  • Function modules for data retrieval from diff. tables

    Hi,
    I would just like to ask if there are function modules that can be used to retrieve data from the ff. tables:
    TSAD3T
    KNVV
    ESTRH
    for TSAD3T i need to get the value of title_medi
    for KNVV    i need to get the fields klabc vkorg vtweg
    for ESTRH  i need to get the fields subcat subid.
    Thanks.

    I doubt if you have such a FM

  • Function module for adding number of months to the date

    Hi,
    Is there any function module to get the date by adding number of months...
    Regards,
    Yadagiri

    Normally all SAP FM will return that value. As 1 month in general means 30 days only.
    You can check the code in this link for logig of 31 -
    add month in the date to find next date
    Regards,
    Amit

  • Need standard Function Module for Get price from KONP

    Hi All,
    I need to code for the following logic
    1) Select access sequence code from T685 (field KOZGF)
    2) Using this code get an access sequence tables from table T682I(field KOTABNR). There is a number in this field which is a table name if to add letter 'A' before it. This table name is a table where you can find condition records. Every condition table has got field 'KNUMH' which is a reference to condition rate table.
    3) Select condition rate from table KONP (field KBETR)
    4) Select scale rates if you are using them from table KONM (field KBETR).
    Just want to ensure, if there is any standard FM which can help in above logic.I got a FM 'SD_COND_ACCESS'. But not sure, how it can help me?
    Thanks in advance.

    Thanks Anji for your quick reply.
    I do have Access Sequence with me, it is Z011. here i am writing more details, I do have material number.Here article means Materail number.
    o     Determine the merchandise category for the article in the list from MARA-MATKL
    o     Determine the department for the article from first 3 characters of MARA-PRDHA
    o     Determine the vendor for the article from EINA-LIFNR where EINA-MATNR = article in list and EINA-RELIF = ‘X’
    o     Now use the access sequence Z011 (table T682I) to determine the ‘A’ tables and sequence in which in these table must be read for determining the condition records.
    o     Use table T682Z to determine which fields must be used to read the ‘A’ tables above (in T682I).
    o     The ‘A’ tables must be read using condition types Z006 (margin) and Z007 (discount) where the Order Book effective date is between the valid-from and valid-to dates in the A- table, and in the sequence according to table T682I. When a condition record is found, the program must stop reading the subsequent tables, and determine the discount or margin from table KONP-KBETR, where KONP-KNUMH = A table-KNUMH.
    &#61607;     If the condition type is Z006, KONP-KBETR is positive. For condition type Z007, KONP-KBETR is negative.
    &#61607;     Divide KONP-KBETR by 10 to give KBETRX. Retain sign in KBETRX.
    &#61607;     Calculate the discounted / price with margin as follows:
    (1 + (KBETRX/100)) * wholesale price.
    Is it possible to get above logic by standard FM.
    Message was edited by:
            Vipin Nagpal

  • FUNCTION MODULE FOR MICROSOFT WORD

    Is there any function module for getting data from Microsoft Word document?
    I had tried 'GUI_UPLOAD' but some data could not be recognized. Probably because of format in Microsoft Word.

    Hi
    use this fun module LXE_SP_MSWORD_TO_ITF
    and convert from MS word to OTF and use other fun modules
    Regards
    Anji

  • Need Function Module for convertion of  Foreign currency to Indian currency

    hi friends,
    i need function module for converting amount from
    Foreign currency to Indian currency
    thanks

    hi Venkat,
    Please use the function module CONVERT_TO_LOCAL_CURRENCY
    <b><u>Sample code:</u></b>
          call function 'CONVERT_TO_LOCAL_CURRENCY'
            exporting
              date             = p_alv_tab-begda
              foreign_amount   = p_alv_tab-kkost_p_person
              foreign_currency = p_alv_tab-kwaer                 " foreign currency
              local_currency   = l_ev_waer                           " Indian currency
            importing
              local_amount     = p_alv_tab-kkost_p_person
            exceptions
              no_rate_found    = 1
              overflow         = 2
              no_factors_found = 3
              no_spread_found  = 4
              others           = 5.
    Hope this helps,
    Sajan Joseph.

  • Buffered Function Modules for EKKO, EKPO, EKBE, EKES etc

    Hi,
    Could you please let me know of some buffered function modules for reading data from EKKO EKPO EKBE EKES EKET?
    Regards,
    Suraj

    Try BAPI_PO_GETDETAIL  , BAPI_PO_GETITEMS  , BAPI_PO_GET_LIST

  • Function Module for open Purchase Order & Sales Order?

    Hi, commonly I read the data from tables and calculate the open quantity for sales order and purchase order, but I want to know, are there any standard function modules for getting the list of open "purchase order" and "sales order" respectively?
    Thanks and Regards.

    hi Ren,
    u can check all these bapi's related to 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
    May be this FM can help you
    MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
    Regards,
    Naveen

  • Function Modules for Actual, Plan, Budget Cost over internal orders

    Dear All,
    I need a function module for getting the Actual, Plan, Budget Costs for the internal orders assigned.
    I want to fetch the cost related to internal order which is assigned to project C projects in PLM.

    hai tehre are no such funcion moduels
    u have to select from bpge and bpja tables
    and sum up them
    afzal

Maybe you are looking for

  • How to secure data by operating unit in oracle payments

    Hello We are in the process of setting up to make payments from one single bank account across all operating units to avoid maintenance and number of templates. As part of our process we submit the payment process request across all operating units a

  • Jinitiator not Working in Windows 7

    Hi All, I recently got Windows 7 machine in my office, I tried to login to my client oracle apps 11i link through the IE 8 which comes default in Windows 7. Every time I log on to the screen and clicked any responsibility, the second window opens and

  • Nokia N95 email please?

    HI re Nokia N95 silver PAYG...currently virgin. What's the best way of setting this up for e mail. For sometime I was using this (out going mails only) with the yahoo account on the phone through my router.  It stopped working for some/no reason. I w

  • 1.1.4 update ipod touch

    Is there a way to update ipod without using itunes?? it gives me the same error 1602 as many other people but i tried everything and it doesn't work! Any suggestions?

  • Buring CD affect Original File in iTunes?

    I feel like when I make a mix cd in my itunes, when I go back and listen to the original file on my ipod or laptop the sound quality gets slightly lower. Does burning a cd in iTunes affect the original iTunes files? I don't mess around with settings