How to call infopackage bapis for other system?

Hi Experts,
I want to start infopackage of CRM from BW using BAPI. I do not see any place to mention the target system (here CRM) where infp package should be started?
Thanks in advance,
Purvang

Hi
You  can create program and call this BAPI
BAPI_IPAK_START
using follwoing statment
CALL FUNCTION 'BAPI_IPAK_START' DESTINATION 'CRMCLNT400'
  EXPORTING
    INFOPACKAGE       =
*   JOBNAME           =
* IMPORTING
*   REQUESTID         =
  TABLES
    RETURN            =          .
where 'CRMCLNT400' is the target system.
In case, if you are not required to use this frequent , then you can run this BAPI in se37-> Execute
then specify the target system in field  RFC target sys:
Hope this helps...
Sonal....
Edited by: Sonal Patel on Dec 31, 2009 2:31 PM

Similar Messages

  • How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

  • How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style.

    How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style. It should decide at run time means at run time it will come to know the type of address style and based on that only the fields which belong to address details mapped to calling hr_location_api.create_location.
    Thanks in advance.

    You can create a wrapper package on top of the API (hr_location_api.create_location)
    In the wrapper package you set all the values dynamically based on your requirements(say the style and add_line columns are populated on your conditions) and then you call the API.
    Does that not work ?

  • Need a  code / How  to  call outstanding notification for a loggined user !!

    hi all ,
    Need a  code / How  to  call outstanding notification for a loggined user !!
    i need to create a service  such then when the user logins in he should see the outstanding service..

    Hello Prashanth,
    1) Goto QMEL table read OBJNR of the notification.
    2) Pass the notification number and the language to the function module "STATUS_TEXT_EDIT".
        in the return parameter read the parameter LINE, based on the first four characters you can find out       the status of the notification.
    OSNO - Outstanding notification
    NOPR - Notification in process
    NOCO - Notification completed
    Regards,
    TP

  • How to call a BAPI in EJB application

    Hi ,
    I need to develop an webservice that takes data from a BAPI and insert in to ORACLE database. I think webservices can be created through EJB application.
    I am not having idea regarding how to call an BAPI in EJB application. can anyone help me out in this.
    Regards,
    Laxmi.

    Hi,
    you can use JCO Connection,
    look this
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fcadaf90-0201-0010-4091-bd0bcd7b7f6a]
    Regards,
    Matteo

  • Exact Steps to Generate Installation keys for other systems In SolMgr4.0

    Hi friends,
    Please provide me exact Steps to Generate Installation keys for other systems In SolMgr 4.0 SR1.
    I have steps to make this thing in solmgr 3.2 as please change as it in solmgr4.0 sr1
    txn SMSY
    Expand Landscape components -> Systems
    Right click on Systems  ->New System
    Type SAPID, & Installation No. (S44 , 0040099252) & sAVE
    Expand Newly Added system
    Right Click & Create
    Now we can use the key provided by the system.
    Please make required changes as applicable in solmgr4.0 So that I can proceed.
    Also clear vat is the difference between ECC & ERP as solmgr4.0 mention both as two systems.
    Thanks & regards
    Jaswant
    +91 9949676055
    Cheers 'N' Joyce

    Hi Jaswant,
    to generate a Solution Manager Key you can process a little bit easier.
    Call transaction SMSY, press shift+F5 (you get the "other objects" popup).
    As System enter the SID of your Solution Manager.
    ->select gen.Installation/Upgrade Key (shiftctrlF10))
    then you get a new popup. In this popup you DELETE all values, enter SID of the new system, the message server of the new system and the system number of the new system. Then press generate key.
    With this procedure you do not have to add the system to SMSY to generate the key.
    Later you should add it to SMSY, maybe you have added an SLD to SMSY then the system will be added automatically. If not you have to add it manually.
    Second question ERP <> ECC
    Good question, ECC is part (a main instance) of ERP, so it is up to you if you classify your system as an ERP or ECC.
    Regards,
    Udo Lang

  • How to call a Bapi or RFC from a custom logon module

    Can you provide an example of how to call a bapi or rfc from a custom logon module? (used to authenticate in portal)

    Hello all,
    Is it possible to use SAP JRA instead?
    We have a Connector deployed on the WebAS 6.40. From an EJB (Webservice) it is possible to lookup the connector, but if i try to lookup the connector from a custom LoginModule, i get the following error:
    Path to object does not exist at java:comp, the whole lookup name is java:comp/env/eis/SAPJRA_CRMDC.#
    The whole lookup in LoginModule looks
    try
                   initialcontext    = new InitialContext();
                   connectionFactory = (ConnectionFactory) initialcontext.lookup("java:comp/env/eis/SAPJRA_CRM");
              } catch (Exception ex)
                   location.errorT(ex.getMessage());
    Regards Oliver

  • How to call a BAPI from Visual Composer

    hi,
       I am new to Visual composer. can some body give me step by step information of calling a bapi or RFC from VC.
    Thanks in advance,
    Gopi

    Hi Gopi,
    Steps involed for calling RFC/BAPI from VC
    1. Choose Model->Select Data Services.
    (Alternatively, click the Data button in the task panel toolbar.)
    2. In the Portal field at the right end of the main toolbar, enter the URL of the portal from
    which you can access the back-end system used by the iView.
    For example, you could enter: http://<yourportal>:50000/..
    3. Click the traffic light icon to the right of the Portal field. The portal Welcome screen
    appears.
    4. Log on to the portal as a user that exists in the connected back-end system, or which is
    mapped to a user of that system. Click OK.
    Once a connection to the portal is established, a list of system aliases defined in the
    portal system landscape appears in the System drop-down
    list.
    From the System drop-down list, choose the SAP system that contains the function module.
    6. Under Search SAP System, click the Search tab and in the Name field, enter the search string: <RFC/BAPI name>. Then click Search (at the bottom).
    5. A list of function modules matching the search string is displayed.
    7. Drag the function module/bapi from the Data task panel into the
    workspace: The data service is added to your model.
    8. Periodically save your work. To do so, choose File->Save Model.
    Finally test the iview in VC.
    In the workspace, drag your mouse from the Input port of the data service, <inputform> and dragn your mouse from the outut port from the data service <tabelview and etc..>
    or
    Go through the this documentation...
    http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
    Thanks,
    Suriya.

  • A proxy and in that proxy we will call the BAPI for creating Purchase Requi

    HI all,
    I am explaining a situation please resolve if possible.
    I got source data to create purchase requisition .  the source data was not cleaned and requires lot of validations and crossmapping with actual sap tables . I did it for testing and used bapi ( bapi_requsition_create) and was able to test the data to create a pr in sap. but now as per the instructions from my onsite co-ordinator , they told thy will use  a proxy( in place of idoc) and in that we will call bapi to create purchase requisition in sap. please explain about what kind of proxy it may be and how we call bapi in it . thanx in adv..

    HI all,
    I am explaining a situation please resolve if possible.
    I got source data to create purchase requisition .  the source data was not cleaned and requires lot of validations and crossmapping with actual sap tables . I did it for testing and used bapi ( bapi_requsition_create) and was able to test the data to create a pr in sap. but now as per the instructions from my onsite co-ordinator , they told thy will use  a proxy( in place of idoc) and in that we will call bapi to create purchase requisition in sap. please explain about what kind of proxy it may be and how we call bapi in it . thanx in adv..

  • How to call the RFC from XI system

    Dear Friends,
        My requirement is RFC to RFC scenario      i.e SAP to XI to Third party system.
    I have the BAPI_EUQI_CREATE rfc, this RFC is available in ECCsystem, that RFC I imported in XI system, so third party system how to call this RFC.
    please give me the suggestion it is very helpful.
    Regards,
    Shalini Shah

    Hi Shalini,
    You have create a RFC in the 3rd party system and import that RFC in XI System using 3rd party adapter.Do the necessary mapping and configure the sender RFC Adapter and at receiver side configure 3rd paty Adapter.
    The 3rd party adapters must be installed via Deploy Tool or JSPM. But u should have a sda file with the adpater content.
    see here for more details on JSPM
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5006901f-925c-2910-5f98-9ae26cc07eca
    For more info:
    If you still want to do it,
    1. Import the RFCs of sender and of receiver.
    2. Do the necessary mapping.
    3. Configure sender and receiver RFC adapters.
    Before that check if you have RFC destination for the RFC adapter. If not You should establish it. To establish an RFC destination for the RFC adapter.
    1. Call the transaction Display and Maintain RFC Destinations (SM59).
    2. Select an existing RFC destination of type ABAP Connections (for example, ABAP_Old) by double-clicking it.
    3. Choose Destination ® Copy and copy the RFC destination using a new name (for example, ABAP_New).
    4. Save the new RFC destination (ABAP_New) and delete the old RFC destination (ABAP_Old).
    5. Create a new RFC destination (for example, RFC_Adapter) of type T (TCP/IP connection) as the RFC destination for the RFC adapter.
    6. Select the registration type Registered Server Program and in the Program ID field enter the corresponding program ID from the configuration of the sender RFC adapter.
    7. In the Gateway host and Gateway service fields, enter the gateway host and gateway service from the configuration of the sender RFC adapter.
    8. If the sender system is a Unicode system, define the RFC destination as Unicode.
    9. Using the name of the old ABAP connection (ABAP_Old), create a new RFC destination of type L (logical destination with reference entry).
    10. In the Reference Entry field enter the RFC destination (RFC_Adapter) for the RFC adapter.
    For more details take a look at this link. http://help.sap.com/saphelp_nw70/helpdata/en/25/76cd3bae738826e10000000a11402f/content.htm
    Dont forget to Reward points if this helps
    Regards
    Pragathi.
    Edited by: Pragathi on May 24, 2008 7:21 AM

  • Calling the RFC from other system.

    Hi Everybody.
    I have two systems.One is ECC and other is SAP R/3.
    I have created one RFC in SAP R/3 system and I am calling this
    RFC fom ECC system.On click of one button,I have to show some
    fields from the RFC onto the screen of WDA .
    How can I achieve it ? Is there any code for that or some link
    available for that.
    Thanks In Advance.

    hi vaibhav...
             using rfc you will be calling a function module in r/3. so it will return some exporting parameters, bind it to the attributes that are created in the context or
           create a destination in ecc6 to call the r/3 system .u se service call and mention that destination while creating it.
    ---regards,
       alex b justin

  • How to call a BAPIs that requires a commit as a Web Service

    We have a Web Dynpro Java application which has some business objects that generate notifications in a backend R/3 system.  Using JCo we simply call BAPI_ALM_NOTIF_CREATE, followed by BAPI_ALM_NOTIF_SAVE, and finally BAPI_TRANSACTION_COMMIT all using the same connection (e.g. these are stateful calls.) 
    Now we need to change from using JCo to calling these BAPIs as Web Services.  We have generated the deployable proxy for these but can't find a way to call them in the same "ABAP session."  The ports generated in the deployable proxy are set to use HTTP Cookie based sessions but the BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT return empty results as if they are not being executed in the same ABAP session as the call to BAPI_ALM_NOTIF_CREATE. 
    We're running WAS Java 6.40 SP15.  Any help would be very much appreciated.

    Hi Jason,
    try to do this using JRA.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cb/072642c9dedd2ce10000000a1550b0/frameset.htm
    Vito
    Best regards,
    Please mark helpful answers

  • BAPI for WBS system statuts

    hi,
    We are looking for a BAPI in order to change system status of wbs.
    We tried with BAPI_BUS2054_SET_STATUS but we probably did something wrong because we have errors:
    Error in processing. Function was partially executed.     
    Resetting status CLOT for object J888880805PC not supported
    Setting status LANC not supported for object J888880805PC
    Any idea?
    Best regards,
    Julien

    Hi,
    the BAPIs for PS requires some additional function calls. In this case you need to call BAPI_PS_PRECOMMIT. It's described in documentation for your BAPI.
    Cheers

  • How to call same vi for 4 times in a single vi?

    Hi.. I ve one vi named 1D array Mult. I need to call this vi four times in another vi program. The problem i ve experienced is all the four vi outputs are same.
     My question is: How to call the same vi for many number of times?
    Thanks in advance
    Solved!
    Go to Solution.

    There is no problem (programmatically) with calling the same VI by placing it 4 times onto the block diagram.  You do not have to rename them VI1, VI2, VIn if they all do the same thing, as you have done here with 1D-arrayMult...  It's just messy.
    You may need to make re-entrant in certain cases.
    A better way to do it would of course be to use a For loop as shown (I left what you did in tact).
    Are the two formula nodes identical?  I didn't check.  If so, use a for loop there too.  Build your A and B matrices to a 3D array and auto-index in For loop - single instance of your formula node.
    It is quite concerning what you have done in your 1-D Array VI.  I have no idea what it is supposed to be doing, but it appears to be nothing; it is completely wrong.
    There are backwards wires, your While loop does nothing (there is not shift-register) - how will it Stop?!, your cases 0, 1 and 2 are all the same!  Timer of 1000ms??! hmm..
    If you are trying to multiply two matrices (arrays) together then just use the native LV function to do it and to add them at the end try this:
    Hope this helps you!
    Message Edited by battler. on 03-12-2010 03:49 AM

  • How to call the BAPI in BI from SAP

    I want to run the process from SAP and then call a BAPI in BI to retreive some data into SAP.
    What syntax should I used?
    Thanks
    Bye

    Hi,
    While calling BAPI use "Destination" and provide the RFC destination created for BI in SM59.
    Neel Thakkar.
    Edited by: neelthakkar on Mar 27, 2010 12:37 PM

Maybe you are looking for

  • Question about backing up to an external hard drive and then restoring

    I want to back up my iPhone to an external hard drive rather than to CDs/DVDs, and it isn't an option under "Backup." I thought this could be done by consolidating the iTunes library and then copying the entire iTunes folder to the hard drive. But no

  • HDMI Option Not Available in Windows 7 (x64) [HP Pavilion DV5 1138-NR Entertainment Notebook PC]

    I have just recently upgraded my laptop from Vista Home Premium (x64) to 7 Ultimate (x64). I currently have my laptop connected to an HP w2338h monitor with built-in speakers, and it gave me the option to use it in Vista. When I upgraded, I get the v

  • Adding a button to a rollover state

    I made the register page with imageready for the graphics, over/click/out states... then saved the optimized as html and user dreamweaver to add the check boxes text forms... now i need to add a button or a link to an image so that it sends the infor

  • Moving i photo to external drive

    Hello I need to clear up space on my mac book pro, so I purchased an external hard drive to copy my photos on to. I just dragged i photo library icon from pictures, to my external drive icon in devices. It copied over, took a while as i have many pho

  • Regarding Total Quantity and Base Quantity in Process Order

    Hello Gurus, Please help me out, I am working for Beverage Industry, we are using Unit Conversion from Litre(L) to Barrel (BBL). 195 Litre = 1 BBL, so If I am producing 9880 Litre, which is giving me 50.667 BBL, how and where I can change the setting