Bapi for part lists

Hi all,
I have a question about part lists and bapis.
I have to export part lists from SAP R/3.
To connect to SAP I use JavaConnectors.
But I don't know how to get for example a list of all part lists.
Do I have to use any interfaces, too?
Which BAPIs do I have to use?
In the BAPI-explorer I found MaterialBOM and there
BAPI_MATERIAL_BOM_GROUP_CREATE
BAPI_MAT_BOM_EXISTENCE_CHECK
But which is the right method to get each part list?
Can anybody help me?
thx

Hi Holger,
Please check this sample code.
data: begin of istpox occurs 0.
        include structure stpox.
data: end of istpox.
  call function 'CS_BOM_EXPL_MAT_V2'
       exporting
            capid                 = 'PP01'
            mehrs                 = 'X'
            datuv                 = sy-datum
            mtnrv                 = matnr
            werks                 = werks
            emeng                 = menge
       tables
            stb                   = istpox
       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,
Ferry Lianto

Similar Messages

  • BAPIs for Equipment list, Equipment classification details

    Hi,
    Can somebody give me the details of BAPs for getting
    1.    Equipment list for a given function location.
    2.    Equipment classification details for the given equipment number.
    Thanks & Regards
    Lakshminarayanan J

    Hi,
    what do you mean with details? Do you need the fields? You can do a double click on the data type of the details filled for browsing deeper into the structure of the details. Or you can use TCODE SE11 and check the type in the data dictionary.
    Best Regards,
    Marcel

  • Document Management System : BAPI for Distribution list creation CVI1 Tcode

    Hi ,
    Cn you please provide me the available BAPI to create Disctribution lists using CVI1 transaction .
    Urgent
    Regards

    Hello Murugesh,
    Thanks for the responce ,
    But When i tried to use the same FM to create Distribution list i didnt find ant parameter within the FM to pass the correct recepient name linked to the document(recepient list id) .
    Can you please provide me the sample code or help me ,how to pass the recepient name coom type and num of copies for each recepient listid .
    Urgent
    Thanks a lot

  • Bapi for invoice lists for a customer

    Can some one tell me the bapi which can be used to view all the invoice lists for a customer for date range.

    Hello
    I am not sure if there is such a BAPI available. However, you could try a two-step-approach:
    (1) Read sales orders of customer using BAPI_SALESORDER_GETLIST
    (2) Feed selected sales orders into REFDOCRANGE of BAPI_BILLINGDOC_GETLIST
    Regards
      Uwe

  • Touchsmart IQ700 For Parts Listed on Ebay

    Hi,
    I have had a lot of enquiries about the spare touchsmart I have kicking around so decided to list it on ebay for spares or repair.  Its starting at 0.99p so you could get yourself a bargain and I just want to get it out of the way.
    The listing is here
    Hope I am allowed to list this in the forum.  If it doesnt sell I am happy to rip it apart and send out the parts individually.
    Thanks againf or everyones help and advice.
    Kind regards
    Paul
    The Laptop Fixers
    http://www.TheLaptopFixers.com
    http://www.PCease.com
    We offer affordable PC and Laptop repairs throughout the UK. Have been getting by mainly by word of mouth... and getting busier and busier every week!

    Hi,
    I have had a lot of enquiries about the spare touchsmart I have kicking around so decided to list it on ebay for spares or repair.  Its starting at 0.99p so you could get yourself a bargain and I just want to get it out of the way.
    The listing is here
    Hope I am allowed to list this in the forum.  If it doesnt sell I am happy to rip it apart and send out the parts individually.
    Thanks againf or everyones help and advice.
    Kind regards
    Paul
    The Laptop Fixers
    http://www.TheLaptopFixers.com
    http://www.PCease.com
    We offer affordable PC and Laptop repairs throughout the UK. Have been getting by mainly by word of mouth... and getting busier and busier every week!

  • Bapi for Order list(iw38) and PM Notification(iw21)

    Hi experts,
    Can you please tell me are there any BAPI's which can fullfill the functionalities of the tcodes: IW38 and IW21 ??
    Thanks & regards,
    Aayush Aggarwal

    Please find the list of bapi's present in maintenance notification and orders
    ORDERS:  
    BAPI_ALM_COMPONENT_GET_DETAIL     Read Detail Data for a Component
    BAPI_ALM_OPERATION_GET_DETAIL     Read Detail Data for an Operation
    BAPI_ALM_ORDERHEAD_GET_LIST       Determination of a List of Maintenance/Service Orders from Selection
    BAPI_ALM_ORDEROPER_GET_LIST       Determination of a List of Operations from Selection
    BAPI_ALM_ORDER_GET_DETAIL         Reading of Detail Data for an Order
    BAPI_ALM_ORDER_MAINTAIN           Process Maintenance-/Service Order 
    NOTIFICATIONS:  
    BAPI_ALM_NOTIF_CHANGEUSRSTAT      Change User Status of a PM/CS Notification
    BAPI_ALM_NOTIF_CLOSE              Complete PM/CS Notification
    BAPI_ALM_NOTIF_CREATE             Create PM/CS Notification
    BAPI_ALM_NOTIF_DATA_ADD           PM/CS Notification: Add Data
    BAPI_ALM_NOTIF_DATA_DELETE        PM/CS Notification: Delete Data
    BAPI_ALM_NOTIF_DATA_MODIFY        PM/CS Notification: Change Data
    BAPI_ALM_NOTIF_GET_DETAIL         PM/CS Notification: Read Detail Data
    BAPI_ALM_NOTIF_LIST_EQUI          Select PM/CS Notifications by Equipment
    BAPI_ALM_NOTIF_LIST_FUNCLOC       Select PM/CS Notifications by Functional Locations
    BAPI_ALM_NOTIF_LIST_PARTNER       Select PM/CS Notifications by Partners
    BAPI_ALM_NOTIF_LIST_PLANGROUP     Select PM/CS Notifications by Maintenance Planner Group
    BAPI_ALM_NOTIF_LIST_SORTFIELD     Select PM/CS Notifications by Sort Field
    BAPI_ALM_NOTIF_POSTPONE           Reset PM/CS Notification
    BAPI_ALM_NOTIF_PUTINPROGRESS      Release PM/CS Notification
    BAPI_ALM_NOTIF_SAVE               Save PM/CS Notification
    BAPI_ALM_NOTIF_TASK_COMPLETE      PM/CS Notification: Complete Task
    BAPI_ALM_NOTIF_TASK_RELEASE       PM/CS Notification: Release Task
    BAPI_ALM_NOTIF_TASK_SUCCESS       PM/CS Notification: Set Task to Successful
    BAPI_SERVICENOTIFICAT_CREATE      Create service notification
    BAPI_SERVICENOTIFICAT_GETLIST     Select service notifications according to customer or contact person

  • BAPI for Source List Upload ( ME01 )

    Hi All..
    Is there any BAPI available for uploading source list for a material??
    Transaction involved - ME01.
    Thanks & Regards,
    Nidhi

    Hi,
    Try the below function module ME_UPDATE_SOURCES_OF_SUPPLY which is being used by standard transaction ME01.
    sample code
    REPORT ZTEST.
    DATA: BEGIN OF XORD OCCURS 50.
    INCLUDE STRUCTURE EORD.
    DATA: UPDKZ,
    END OF XORD,
    YORD type table of EORD with header line.
    clear xord.
    clear yord.
    xord-MATNR = '100-100'.
    xord-WERKS = '3000'.
    xord-ZEORD = '00001'.
    xord-ERDAT = '20080403'.
    xord-ERNAM = 'SAPDEV02'.
    xord-VDATU = '20080403'.
    xord-BDATU = '20100510'.
    xord-LIFNR = '0000001000'.
    xord-FLIFN = 'X'.
    xord-EKORG = '1000'.
    xord-UPDKZ = 'U'.
    append xord.
    move-corresponding xord to yord.
    append yord.
    CALL FUNCTION 'ME_UPDATE_SOURCES_OF_SUPPLY' IN UPDATE TASK
    EXPORTING
    I_CHANGEDOCUMENT = 'X'
    TABLES
    XEORD = XORD
    YEORD = YORD.
    COMMIT WORK.
    Cheers,
    vasavi.v

  • Finding FM/RFC/BAPI For PO list In Perticular Vendor

    Hi,
      Can u help for Finding PO list For a perpicular vendor.
      i.s i want to pass Vendor No as In put it will give list of PO as out put
    Regards,
    Sunil sahoo

    Hi
    Try the below code
    types : begin of ty_ekko,
               ebeln type ekko-ebeln,
               lifnr type ekko-ebeln,
              end of ty_ekko.
    data : it_ekko type table of ty_ekko,
             wa_ekko type ty_ekko.
    parameters : lifnr like ekko-lifnr.
    select ebeln lifnr into table it_ekko from ekko where lifnr = lifnr.
    loop at it_ekko into wa_ekko.
    write : / wa_ekko-lifnr,
                wa_ekko-ebeln.
    endloop.
    Regards
    Madhan
    Edited by: Madhan Doraikannan on Oct 8, 2008 12:23 PM

  • BAPI for getting  list of repetitive order

    Hi,
    Can anybody say
    What BAPI is used to get the list of repetitive order...

    Boss,
    ISU_DB_ERDK_SELECT_VKONT
    If you see the function module table parameters you will get to know.
    Pass the contractaccount into ISU_RANGES to get the invoice documents.
    Regards,
    Shiva Kumar.

  • Views for list web parts. Is there a way to allow users to change the view for a list web part without being redirected?

    Hi,
    I added a list view web part into a SharePoint 2013 page and it  is working as expected, except for one thing.
    I have enabled the option for the user to change the view for the web part. However when the user changes it, the user is redirected away from the page containing the web part, to the URL of the list itself.
    Is there a way to circumvent this issue so when the user selects a different view it updates the listing in the web part itself, rather than the user being redirected?
    Thanks in advance for the help.
    Regards,
    P.

    Hi,
    Please understand that one page can only display one view. You could find it out by observing the Address in browser when switching among different views for a list.
    If you would like to change the view of a list web part, you could go to web part propertites > Select view and configure it.
    In addition, here is a thread with similar requirement that might help:
    http://social.technet.microsoft.com/Forums/en-US/18dba190-5ee2-4b50-b005-1360d862f4ba/how-can-end-user-change-the-view-in-a-list-view-web-part?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • BAPI for fetching the list of scheduling agreements

    This is my first post in SDN Forums so pardon me if I commit a mistake.
    My question is: Is there a standard BAPI for fetching a list of scheduling agreements?
    I know that there are BAPIs for creating and maintaining scheduling agreements like BAPI_SAG_CREATE and BAPI_SAG_CHANGE and iBAPI_SAG_GETDETAIL but each of these require the scheduling agreement number. My requirement is to list out all the scheduling agreements that are present in the system.
    I found a BAPI named BAPI_DOCUMENT_GETLIST and BAPI_DOCUMENT_GETLIST2 but I'm not able to find out what documents it is able to display. If I don't specify any selection criteria, it is fetching just two records of document type DRW. No other document of any other type is fetched.
    Another BAPI that I found was BAPI_SALESORDER_GETLIST in which if I specify the Transaction group as "3" (for scheduling agreement), it fetches them but those are related to Sales orders and not purchase orders.
    So, if anyone has any info and can help me out, I would really appreciate it.
    Edited by: rkarthea on Jul 30, 2010 10:44 AM

    Hi Raj,
    As I had said earlier, I need the Scheduling agreements related to purchase orders and not sales orders. The ones in EKKO table (Doc category: L).Will this program fetch this info?
    Also, I need a Java app (that's being developed) to fetch this info, so I'm looking for a BAPI. Is there any or can this program (if it fetches the right Scheduling agreements) be called from an external Java app?

  • Missing Part list for Plant to Plant Purchase order

    Hi,
          I need the following requirement in CO24,
          In CO24 its shows the missing parts for Sales order, similarly we want the missing parts list for Plant to Plant Purchase order in the same report. Also the report,
    1.It  should not consider the Planned order for a sales order.
    2.It should not consider the planned order which can be convert into purchase requisition.
    3.The procurement type should be "E" or "X".
    Kindly guide me is there any standard layout changes in available or any development we have to do.
    Thanks
    Muthamil Murugan.G

    Hi Purushothaman,
    If you have the following settings in OPJK:
    Plant                 XXXX
    Order Type       XXXX
    Availability Check    2
    [X]Status Check
    [X]Check material availability when saving order (may not need)
    Checking Rule        PP PP checking rule
    Component Check Type    ATP check
    Release material     2  Release permitted despite missing parts
    Then in COHV you try to mass release the order with the following parameter:
    List: Order Header
    Selection: Your selection criteria
    Mass processing:
    Function: Release
    Max. No.of Processes 99
    Save Log: Always
    Release control order: Collective Order Release
    Then after the order is released, you can find the missing part list of that order in CO03 menu path:
    Goto->Missing Parts->Missing parts list
    Hope it helps.
    Regards,
    Rachel

  • Need bapi for vendor contact list

    Hi all
    I need a bapi to get vendor contact list. I already have bapi for getting customer contact list, bapi_customer_getcontactlist.
    Please help in this regard.
    Thanks in Advance
    Rakesh

    Hi,
    same problem here: I need a BAPI that lists all contacts for a vendor. BAPI_VENDOR_GETDETAIL does NOT return the contact list and there is no BAPI_VENDOR_GETCONTACTLIST.
    Any hint?
    Walter

  • IDOC for missing parts list

    Hi,
    We would like to send the missing parts list generated from CO24 to other system. Is there any standard IDOC available to send missing parts?
    I would appreciate your help.
    Thanks.

    Karthik,
    Thanks for your quick reply. But this is not what I am looking out for. I am sorry, I think my question was not clear.
    There is one functionality in Production Planning area that we can find out the missing parts for the production order. We have to send the information to our warehouse asking for the missing parts to fulfill the production order. Our warehouse is not on SAP so we want to send the information through an ALE/IDOC. In order to do this I wanted to know that is there any standard IDOC type which can be used or we have to create a custom IDOC.
    Thanks.

  • How to create a Virtual part list for the particular assembly.

    Dear Gurus,
                        For our single purchasing order of particular assembly, we have multiple suppliers who can contribute in that Assembly. For example The purchasing order of Assembly X is given to supplier A and in that some part should be also ordered which should be delivered to supplier A from supplier B. In this situation, I want to create a virtual part list of the assembly which can be used to order both of this supplier seperately. So I do not forget to make purchasing order to the supplier B.
                       Thanks in advance.
    Regards
    Mayur

    Dear Mayur,
    One of option for you is: using document draft as the template for the part list of supplier B.  Then create user alert whenever the supplier A need to be ordered.
    Thanks,
    Gordon

Maybe you are looking for

  • Creation of sales order from Non Sap to Sap using sap xi

    hi can any body expalin me how to create sales order in sap from data  in MS Sql with highest performance becz the sales order is going to be of around 1000 items , sales order needs to be created in sap pl help immediately as its anongoing project r

  • Upgrading from a 20" G5 to Intel Quad Core

    I'm considering the purchase of a new iMac 27". I'm wondering if most of my work on this computer is transferable, photos, movies, Appleworks, Final Cut Express 3.5.

  • Table for Material-Cost center-Settlement Rule_REM product cost collecter

    I want to generate a report to see for particular material which cost center and which settlement rule is available. If we go in Product cost collecter (PCC) there we have an option to see settlement rule under header tab, I want to fetch that data f

  • How can I reinstall safari without losing bookmarks

    I need to reinstall my Safari and preserve all my Bookmarks. For a previous problem, i have to reinstall my MacOS and safari now does not work. So i want to reinstall it, but I'm not sure if I'm going to lose my previous bookmarks that I had in my la

  • Elements 12 not opening after previously working

    This is the second copy of elements 12 i've had and yet again it's stoppped working, says my trial has run out and i need to buy the full version but it's the full version I have. Can anyone help me because Adobe can't or won't help. I've spent over