Function module for getting Vendor Address details

Hi,
Im new to this group,and new to ABAP
plz hep me out by solving ABAP Query...
i want to generate a report for getting Vendor Details
like Vendor address,Ph num and Email
input fields are Company code,country key and Account Group.
im Using Smart Forms for this..
but im not getting the Exact Function module to get All Required Details..
regards
Smitha

thanks for ur quick reply...
SELECT SINGLE LIFNR
  FROM LFB1
  INTO V_LIFNR
  WHERE BUKRS EQ V_BUKRS.
  CALL FUNCTION 'VENDOR_READ'
    EXPORTING
      i_bukrs         = V_BUKRS
      i_lifnr         = V_LIFNR
    EXCEPTIONS
     NOT_FOUND       = 1
     OTHERS          = 2
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
this is the code i have written...
but my problem is there no table in the Function module....
for Example...
CALL FUNCTION 'QPAX_PLMKB_READ_FROM_PLKO'
    EXPORTING
      i_plnty            = 'Q'
      i_plnnr            = V_PLNNR
      I_PLNAL            = V_PLNAL
      i_sttag            = V_DATUV
   TABLES
    T_PLMKB_TAB        = IT_TAB
i want the function modules with tables and proper input...

Similar Messages

  • Function module for getting the partner details and Classifications

    Hi,
    Can any one tell me FMs for getting the Partner Details and for getting the characteristics associated with an equipment??
    Thanks

    Hi Anu,
    are you talking about the SAP Business Partner???
    Well, if yes, then just check the FM 'BAPI_BUPA_CENTRAL_GETDETAIL'.
    Or just search for oher FMs with BAPI_BUPA*.
    Hope this helps...
    Ciao Bernhard

  • Bapi or Function module for getting Bom Item Details (Urgent)

    Hi All,
    I Want to get the Bom Item Details Corresponding to Production Order Number.
    So Please Provide me Some Function Module or Bapi So that by giving the
    Production Order number I will get all material related to that PO.
    Thanks In Advance.

    Hi,
    use the function module.
        call function 'CS_BOM_EXPL_MAT_V2'
          exporting
            capid                 = 'STD1'
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mmory                 = '1'
            mtnrv                 =  matnr
            werks                 = werks
          tables
            stb                   = it_stb2
            matcat                = it_matcat
          exceptions
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            others                = 8.
    Regards,
    Sankar.

  • 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

  • Any Function Module For getting Shipment Details

    Hi All,
    I want to get all details of shipment. i tired , but unable to get any function? I was able to find the creation or change shipment function modules, but not able to find the function module for getting the details for Shipment.
    like BAPI_SHIPMENT_CHANGE           Change Shipment
    BAPI_SHIPMENT_CREATE           Create Shipment
    similary
    Do you have any idea for getting (display)the details of Shipments?
    Regards,
    Raju

    hi,
    you can use
    VTTP,VTTK
    or
    RV_SHIPMENT_READ

  • Function module to get the BOM details for a material-plant combination

    hi
    Is there any function module to get the BOM details such as
            BOM Usage       -STLAN
            Alternative BOM -STLAL
            Items                -POSNR
            Required Quantity-EMENG
            Resulting Quantity-MENGE
            Unit of measure    -BMEIN
            Base unit of measure-MEINS
    for a given material-plant combination
    if so please suggest me some FMs.................
    Awaiting for ur reply..............

    try the below fm it may be useful for you
    DATA : BEGIN OF I_BOM OCCURS 0.
            INCLUDE STRUCTURE STPOX.
    DATA : END OF I_BOM.
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          DATUV                 = SY-DATUM
          MEHRS                 = 'X'
          MTNRV                 = P_MATNR
          WERKS                 = P_WERKS
        TABLES
          STB                   = I_BOM
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          CONVERSION_ERROR      = 8
          OTHERS                = 9.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
    Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
    regards
    shiba dutta

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all,
    Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest.
    Thanks,
    Subba

    Hi,
    search for function module ACCPOSTING* or get development class of transaction FB01 and goto SE80, enter development class - and search in function group's function module.
    Cheers.
    ...Reward if useful.

  • Function module to get vendor-CNPJ by vendor number

    Hello SAP Experts,
    Is there any function module to get vendor CNPJ number (For Brazil) by vendor number? If not, is there any alternative to get the CNPJ by vendor number?
    Thank you,
    Magesh.

    Can you check below FM
    J_1B_NFE_IN                    NF-e incoming
    J_1BNFE_GET_CUSTOMER_FROM_CNPJ Derive vendor from CNPJ
    J_1BNFE_GET_ORGDATA_FROM_CNPJ  Derive company / plant from CNPJ
    J_1BNFE_GET_VENDOR_FROM_CNPJ   Derive vendor from CNPJ

  • Is there any function module for getting distribution list name

    Hi all,
    Is there any function module for getting distribution list name when there is same description for two distribution list name.
    or
    help me how to fetch the correct distribution name when there is same description.
    In order to send mails.
    Tell me ASAP.
    thanks
    sagar.

    http://www.sapbrainsonline.com/REFERENCES/FunctionModules/SAP_function_modules_list.html
    list of Fms

  • Any function module for getting fiscal year week numbers

    can any one provide me function module for getting fiscal year week numbers ? if no function module please let me know work around.
    Thanks!
    Lakshmikandh

    hi,
    Use FM <b>'DATE_GET_WEEK'</b>...
    parameter D1 LIKE SCAL-DATE.
    Data w like scal-week.
    CALL FUNCTION <b>'DATE_GET_WEEK'</b>
    EXPORTING
    date = D1
    IMPORTING
    WEEK = W
    EXCEPTIONS
    DATE_INVALID = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write W+4(2).
    Regards,
    Santosh

  • Functional module for Getting Material classification data.

    Please tell me Functional module for Getting Material classification data like class type , class, characteristics and characteristics values for material.

    Dear,
    FM:
    CLAF_CLASSIFICATION_OF_OBJECTS
    Table KLAH Class Header Data
    - KSML Characteristics of a Class
    Regards,
    R.Brahmankar

  • Are there BAPI or function modules for creating posting address ?

    Are there BAPI or function modules for creating posting address and budget address? We are currently use BDC program and T code FMBSPO_MULT (Posting address) and T code FMBSBO_MULT(budget address), but it is a very slow processing because we have thousands of funds centers.
    Your input will be appreciated!
    Regards,
    Fisher Li

    Li,
    You will have, may be more answers in the technical forum :
    https://www.sdn.sap.com/irj/sdn/collaboration
    Regards
    Valérie

  • Function module to get the payment details for PO

    Hi,
    Is there any standard function modlue to get the payment details for specific purchase order  or is there any table where we can get the payment details till date.
    My requirement is purchase order wise how much already paid to vendor  and what is the balance amount  to be paid vendor.
    thanks in advance....
    Regards,
    Sree

    Hello
    BAPI_PO_GETDETAIL will help you.
    Look at structures PO_ITEM_HISTORY and PO_ITEM_HISTORY_TOTALS
    Also you may use table EKBE

  • Function module for display production order details

    Hi All,
           I want to display production order details including operation,sub-operations and components using standard FM.I checked 4 FMs, but some are not displaying my require details. I found PM_ORDER_DATA_READ function module, it is displaying all details.But you can execute the function module 2 times for different orders it is giving ABAP dump 'itab_error'. Please get back to me if any one faced this problem or know solution.I am also checked BAPI_ALM_ORDER_GETDETAIL FM.
    My require fields are
    AUFNR, WERKS, PLNAL, PLNFL, VORNR,UVORN, ARBPL, KTSCH,
    LTXA1,OFFSTB,VGW01 etc.
    I am using SAP 4.7 release. Please send me either standard FM or BAPI to display all details of production order.
    Thanks in Advance
    Shaik Basha

    Hi,
    I had the same problem this morning and I found out a FM you have to run to fix this problem.
    FM: CO_IT_SET_FLG_ITAB_NEW
    Rgds,
    Parise

  • Function module to get Service Order details created with a Sales Order

    Hi,
    Could anyone tell me if there is any function module to get the details of the Service order that is created automatically for a line item in a sales order. Let me explain my requirement clearly.
    When a sales order is created with specific line item, a service order is automatically created for that line item. I need to get the information about the associated service order. I can't find this information in VBAK, VBAP or VBEP tables obviously. But, i can see the link between the service order created and related Sales document # and item #  in the DB view  CAUFV. But, the key field here is Service order #. But my requirement is to get the service order details from the key field of Sales document.
    I tested the FM SD_SALES_DOCUMENT_READ_POS that reads the sales document header and item material tables, but this doesn't help me in getting the service order details associated with the material line item.
    Your early response is greatly appreciated.
    Thanks in advance,
    venu

    Hi Akshay,
    I actually saw this , but surprisingly, there is nothing stored in this field in either of the tables VBAK or VBAP. I mean, even for the sales orders which have associated service orders, nothing is stored in either of the above tables.
    Can you please tell me if there is anyother way.
    Thank you,
    venu

Maybe you are looking for

  • Problem with file layout in File Reciever

    Hi, I am working with Idoc to File Scenario. I am getting a different layout when i am opening a file in notepad and wordpad. wordpad format: 1 000000171620                SN           N                    F  F            3           PS7815003    1.0

  • No error code, iTunes just won't open

    ok...i'm doing this for a friend's computer so I may not know all the details, but here goes... My friend has a Dell laptop that runs on Windows Vista. We have installed the latest version of iTunes on her computer but no it seems she is having probl

  • Send printer friendly page per mail

    Hello everybody. I'm very new with APEX and I couldn't find an answer to solve my problem: I have a printer friendly page with several text elements and a report so that it nearly looks like a letter in the end. Now I want to send this page as a "pdf

  • Green tint to Macbook Pro Retina screen.

    Hello, I have a Macbook Pro Retina less than 2 months old, earlier today the screen started to get a green tint on everything. I already attempted adjusting the color profile, which didn't affect the greenness of the screen. Thoughts? -Peter.

  • APO DP - loading InfoCube data into a planning area

    I am using APO DP V5. In my planning object structure I have planning characteristics, some of which have 'navigation attribute' characteristics. For example, my planning characteristic 'product' has navigation attribute 'product group'. In the stand