BAPI for extracting Capacity profile from resources

Hi,
I have a requirement of extracting the capacity profile from resources.
Is there any BAPI etc that can be used?
Thanks in advance,
Zeeshan.

Thanks Nandha,
The BAPI is not returning any values. Probably i am not calling with the right parameters. is it possible to send some more details on the necessary parameters? a screen shot would be great.
Regards,
Zeeshan.

Similar Messages

  • IDOC/BAPI for Production order creation from Legacy system

    Hi all
    We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
    thanks a bunch

    Hi John,
    For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
    If there is an inbound IDoc available, I would recommend to use an IDoc.
    IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
    BAPI is also good approach to use and fast in term of  processing.
    For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
    Hope this will help.
    Regards,
    Ferry Lianto

  • BAPI for extraction sales price

    Hi, friends:
    are they BAPI for extract pricing conditions?
    Thank you

    this might help: BAPI_PRICES_CONDITIONS
    or FM: PRICING
    Re: BAPI for PRICING conditions

  • BAPI for deletion of employee from work center T Code IR02

    Any one can give me a BAPI to delete position/person from work center ?
    T Code IR02
    IR02 -> HRMS - > Expand - > select person - > delete.
    Thank you
    Mrudang

    Thanks for your fast reply!
    I have looked to both functions before. Beside that they are both not remote enabled (which is not such a big problem as I could copy them or build a custom BAPI around them) I'm not quite sure how they could solve my problem.
    If I got it right, I would first use CR_CAPACITIES_OF_WORKCENTER to get the KAPID and using it as input for CLOI_WC_CAPACITY_READ. But I have problems to understand the output of CLOI_WC_CAPACITY_READ. The data type of the capacity is a float ( FLTP ) and the number seems to be to big, eg. 9.800000000000000E+01= 98h for one day.
    Could you try to explain your solution once again?
    Thanks,
    Simon

  • BAPI for Getting Project Profiles in Project System

    hi,
         Can any 1 tell me the BAPI to invoke to get project profiles from project system.
    Thanks,
    Debashish Sarkar

    see if this thread is of any help
    Re: File Inputfield - ABAP functions to store files?

  • Using SYPART01 IDOC for setting partner profiles from external system

    We wish to maintain our partner profiles from an external system.
    Is there any existing interface for doing this.
    It seems that the sypart message is only for output, not input.
    Any ideas or suggestions?
    Thanks!
    Dan

    Hello Dan,
    Thanks for your post.
    I hope the following code helps in future.
    http://wiki.sdn.sap.com/wiki/display/Snippets/Copy+partner+profiles+with+SYPART+message+quickly.

  • BAPI for reading capacity of a workplace/work center?

    Hi,
    I'm looking for a BAPI/RFC using SAP MII to read the capacity of a workplace/work center in a given time period (eg. one or more days/weeks/...). I would like to use the import parameters plant ( WERKS ), date from, date to, workplace/work center (eg. CRHD-ARBPL ) and capacity category (eg. KAKO-KAPAR ). As output I would like to get a list of (planed/used) capacities as the working time for the given time period at the specified workplace/work center.
    In theory the BAPI CBP_EXC_WC_CAPACITY_REQUEST nearly does what I want. The only drawback is, that it outputs the "wrong" time.
    Let me give an example: The work center uses at a given day a capacity from 6 to 22 clock, including one hour break. This gives us a working time of 15 hours for this workplace and day. And "15h" is the time I need. But as there are working 5 worker at this work center the BAPI CBP_EXC_WC_CAPACITY_REQUEST returns 75 hours (which is 5 * 15). But the result "75" is useless for me as long as I don't additonal get the number of workers.
    I've searched in our SAP system and in this forum, but wasn't able to find another BAPI that gives me the correct time. As an alternative I would need another BAPI to get me the number of workers for a workplace/work center at a given time. But I also was out of luck finding one.
    Looking out for help,
    Simon

    Thanks for your fast reply!
    I have looked to both functions before. Beside that they are both not remote enabled (which is not such a big problem as I could copy them or build a custom BAPI around them) I'm not quite sure how they could solve my problem.
    If I got it right, I would first use CR_CAPACITIES_OF_WORKCENTER to get the KAPID and using it as input for CLOI_WC_CAPACITY_READ. But I have problems to understand the output of CLOI_WC_CAPACITY_READ. The data type of the capacity is a float ( FLTP ) and the number seems to be to big, eg. 9.800000000000000E+01= 98h for one day.
    Could you try to explain your solution once again?
    Thanks,
    Simon

  • Bapi to extract applicant data from SAP

    Hi folks,
    I need some help to extract the applicant data from the SAP system.  I do know that there is an FM HR_GET_APPLICANT_DATA that gives the name, address, ethnic origin, qualifications. edcuation. It is insufficient. I need to have fetch the information from PB4002, PB4001 (the number of requisitions applied for, applicant activities) . How can I do it?
    Besides this a FM, I need a bapi because we have to output the data on a web application. Can anyone help me here how to get the complete data? The version is SAP 4.6C
    Any help is widely appreciated. Thanks in advance,
    VG

    I got it.
    VG

  • Performance tuning for extraction of data from MSEG table

    Hello experts,
    I m trying to extract data via select query from MSEG table based on non-primary keys, which affects my performance.
    Below is my select query  :
    SELECT SINGLE menge
    FROM mseg
    INTO w_rejqty
    WHERE ebeln = it_mseg-ebeln AND
          ebelp = it_mseg-ebelp AND
          bwart = '122'.   
    Kindly suggest some alternative way for it apart from creating secondary index on table MSEG which would be my last option because already four secondary index are created in my present situation and also is it advisable to create fifth secondary index for my problem?? Would it affect my database performance?
    Thanks in advance
    Raj

    Hi Raj,
    is that possible to use this query below ? You might ask to Functional whether is possible or not.
    SELECT SINGLE belnr gjahr buzei INTO w_ekbe FROM ekbe
        WHERE ebeln = it_mseg-ebeln
        AND     ebelp = it_mseg-ebelp
    SELECT SINGLE menge FROM mseg INTO w_rejqty
       WHERE mblnr EQ w_ekbe-belnr
       AND   mjahr EQ w_ekbe-gjahr
       AND   zeile EQ w_ekbe-buzei
    Best Regards
    Fernand

  • BAPI for calling Z transaction From NON-SAP system

    hi all, am new to BAPI i want to know that can we call any standard or Z transaction from NON-SAP system using BAPI if yes then plz let me know how.???
    thanx...

    BAPI's are not used for calling transactions. They have the same result though, a business partner for example kan be created, and maintained via the GUI, but it can also be done via a BAPI. These BAPI's are created for calling them from (non-) SAP systems since they are remote enabled. However, this means that the calling application / party will have to 'build' some sort of application themselves in order to call these BAPI's from 'outside' of the SAP system.
    The calling application will have to have access to the system, which can be maintained in the remote destination transaction SM59.
    But enough of this, there are lots and lots of posts on SDN about BAPI's, remote destination etc.

  • Datsource for extracting Project profile to BW in CJ20n TCode

    Hi,
    I'm lookin for a datasource which brings Project Profile to BW.Project profile can be seen in Transaction code
    CJ20n>Control Data>Project Profile
    Thanks,
    SP.

    Hi SP
    did u manage to extract  this?? Im looking for the same filed.
    Please let me know how did u do it??
    Regards
    Robyn.

  • Software tools for extraction and transformation from legacy..

    Hi,
    Any conversion process consist of typical three steps :
    1) Extraction: Using custom program for legacy or third party tools
    2) Transformation: Third party tools
    3) Loadting: SAP provided techniques, in mycase I am using LSMW.
    Q1 ) What are the third party tools we use typically for doing extarction and transformation ?
    Q2 ) At what step <b>data cleansing and data staging</b> takes place in above Three steps.
    Thanks.
    Regards,
    Rajesh.

    Q2 ) At what step data cleansing and data staging takes place in above Three steps
    I would say that data cleansing could begin before the data is actually extracted from the source system, if needed.  In some home-grown systems,  you may have obselete data or plain corrupted records which you do not want to bring to the other system,  obviously you can simply delete these records from the source DB.  You could also do some data cleansing when converting the legacy data to SAP data. 
    Regards,
    Rich Heilman

  • Set up for Extraction the data from SAP ECC system

    Hi!
    I would like to analyze the transaction and master data from SAP ECC system into SAP BI system.
    I have created the connection (entry for SAP ECC system) within SAP NetWeaver System.
    Unfortunately when I try to load the transaction data for Info source the process does not end successfully.
    There are no information within SM58 on source system.
    The ST22 does not contain some suitable information.
    Question:
    Which settings do I miss and how can solve my problem?
    (user authorization, etc.)
    Thank you very much!
    regards
    Holger

    Hi!
    many thanks for your reply.
    The error I get:
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source
    Can you please help me to identify the error?
    Thank you!

  • BAPI for extracting GL line items

    Hi could anyone help me with this one?
    I'm looking for a function module that can get the line items given the GL account.

    Hi Maple,
      Try out with the following BAPI's:
    BAPI_GL_ACC_GETDETAIL  : G/L Account Details
    BAPI_GL_ACC_GETLIST       : List of G/L Account for each company code
    Hope this will be helpful.
    Regards,
    A.Fahrudeen

  • BAPI for Sales Order Creation from Third-party Application

    Hi,
    I need to create a Sales order in a SAP system from a third-party applications. Please provide the list of BAPIs/Interfaces that are involved in creation of Sales Order.

    Hi,
    Check this link, explains step by step.
    http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html
    Thanks,
    Krishna

Maybe you are looking for