Triggering SAP workflow from non-SAP system

I am trying to use WF-XML to trigger a workflow in SAP from non-SAP system. 
I have already created a workflow template in SAP and want to test the scenario if this will be really hit by the incoming xml message.
Questions:
1. How the data from incoming xml is tranferred to workflow container element? IF system does it, how is done? If not how to address it?
2. Do we have some tool here, to simulate this situation - to create a test xml incoming message with SAP and really see if that triggers the desired workflow template. Pupose is testing the scenario first in SAP and then going to the other system to test the real interface.
This is somewhat similar that we see in incoming IDoc. In Idoc we can simulate the incoming IDoc structure and test.
Is any one here who can guide on this?
Thanks in advance.
Rgds.

Hi,
You don't need a triggering event. In the xml it says which workflow should be started. You don't need a class to fill the container. The service does this.
I think there is a way to generate an example xml but I don't know exactly how. In the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/54/de9e3887d6174fe10000009b38f842/frameset.htm">SAPHelp</a> there are some examples of the documents. Check also the entry above it about the creation of a WF_XML document. In the first and third example it shows a container element and its value (QUESTION).
Try to get a copy of the book "Practical workflow for SAP" by Alan Rickayzen. It has got a part about this.
Also check this link from the SAPHelp:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e8/ea8d380be34e6ce10000009b38f842/frameset.htm">Call Tab Page</a>
Regards,
Martin

Similar Messages

  • Data load into SAP ECC from Non SAP system

    Hi Experts,
    I am very new to BODS and I have want to load historical data from non SAP source system  into SAP R/3 tables like VBAK,VBAP using BODS, Can you please provide steps/documents or guidelines on how to achieve this.
    Regards,
    Monil

    Hi
    In order to load into SAP you have the following options
    1. Use IDocs. There are several standard IDocs in ECC for specific objects (MATMAS for materials, DEBMAS for customers, etc., ) You can generate and send IDocs as messages to the SAP Target using BODS.
    2. Use LSMW programs to load into SAP Target. These programs will require input files generated in specific layouts generated using BODS.
    3. Direct Input - The direct input method is to write ABAP programs targetting on specific tables. This approach is very complex and hence a lot of thought process needs to be applied.
    The OSS Notes supplied in previous messages are all excellent guidance to steer you in the right direction on the choice of load, etc.,
    However, the data load into SAP needs to be object specific. So targetting merely the sales tables will not help as the sales document data held in VBAK and VBAP tables you mentioned are related to Articles. These tables will hold sales document data for already created articles. So if you want to specifically target these tables, then you may need to prepare an LSMW program for the purpose.
    To answer your question on whether it is possible to load objects like Materials, customers, vendors etc using BODS, it is yes you can.
    Below is a standard list of IDocs that you can use for this purpose to load into SAP ECC system from a non SAP system.
    Customer Master - DEBMAS
    Article Master - ARTMAS
    Material Master - MATMAS
    Vendor Master - CREMAS
    Purchase Info Records (PIR) - INFREC
    The list is endless.........
    In order to achieve this, you will need to get the functional design consultants to provide ETL mapping for the legacy data to IDoc target schema and fields (better to ahve sa tech table names and fields too). You should then prepare the data after putting it through the standard check table validations for each object along with any business specific conversion rules and validations applied. Having prepared this data, you can either generate flat file output for load into SAP using LSMW programs or generate IDoc messages to the target SAPsystem.
    If you are going to post IDocs directly into SAP target using BODS, you will need to create a partner profile for BODS to send IDocs and define the IDocs you need as inbound IDocs. There are few more setings like RFC connectivity, authorizations etc, in order for BODS to successfully send IDocs into the SAP Target.
    Do let me know if you need more info on any specific queries or issues you may encounter.
    kind regards
    Raghu

  • Migration of SAP Workflow to non-SAP system

    Hi All,
    If there is a SAP Standard or custom Business Workflow in SAP system and if we want to implement the same business flow in some non-SAP system(EX: Oracle Apps,Workflow tools etc.,) where Workflows can be used...
    Can we migrate the SAP workflow into that system (non-SAP) by converting to the SAP Workflow template in xml or other format that supports the non-SAP system?
    Can the above said scenario be done?
    Or what is the process of Migrations of Workflows from SAP to non-SAP or Vice versa.?
    Thanks in advance
    Hraish Kollipara

    Hi,
    From your posting what I can understand is you want to model the same Process in other System e.g. Oracle Apps  which is already modeled and working properly in SAP system. I wonder if its possible to download the template from a system and use it in other. As per my knowledge every system has its own development Engine which is configured to work in a specified way. So if its possible then its really time saving.
    Regards,
    Vaishali.
    Edited by: Vaishali Rautray on Nov 20, 2009 5:20 PM

  • How to insert data in Ztable from Non Sap tables like Msaccess table

    hi
      i want to know how to insert data in sap Ztable from non Sap table for example i have a non Sap application developed in Visual basic as Front end and data base in Sql2000. i want retrive data fron sql table into Ztable of SAp.
    Regards,
    Manish Gangwal

    look F1 for EXEC SQL and that link:
    Re: SQL Table

  • SSO from non-SAP application to EP system

    Hi all,
    Is it possible to configure the Single sign-on from non-SAP application to SAP Enterprise portal?
    My requirement is
    I have a link to "Enterprise Portal" in my company's website home page. If I click on the link, it should directs to EP portal with out asking for logon.
    Please suggest, is it possible??
    Regards,
    Sujoy

    Hi Sujoy,
    SSO implementation to non-browser applications i.e non-SAP systems is possible in 3 ways which are listed .Can find useful info in the below links.
    http://help.sap.com/saphelp_nw70/helpdata/EN/12/9f244183bb8639e10000000a1550b0/frameset.htm
    among the non-browser applciation if it is an MS dotnet system then the below article will give a clear understanding of SSO implementation.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05ae0f0-bf93-2b10-ed9e-a7320c012841
    Regards
    Supraja

  • Uploading data from non sap system to sap system

    hi to all experts,
    my requirement is to upload data into the sap system from non sap system . the data is in  a flat file ,but the problem is that  in the flat file all the field lengths and fields are not in order or same as sap system. How to upload the data into sap system ....

    hi,
    the data is in a flat file,but the problem is that in the flat file all the field lengths and fields are not in order or same as sap system.
    If the data is in excel sheet use this FM.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = 1
          I_BEGIN_ROW                   = 1
          I_END_COL                     = 17
          I_END_ROW                     = 3000
        TABLES
          INTERN                        = itab
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    It will read the data from excel sheet column wise and then store it in ITAB. you can change the order after reading the file.
    In case of Text file use FM  GUI_UPLOAD.
    You can change the order of the fileds after reading it from file, but the length and all you have to make compatible to SAP standard fields.
    Regards,
    Sachin

  • Receiving IDocs from non-SAP system ...

    Hello guys,
    I have problem with implementing IDoc-XI-IDoc scenario. The sender system is a subsystem (non-SAP system) sending IDocs but XI is not able to receive them. I thing the IDoc metadata can not be found.
    Logical system name of the sender is IF6020DEV. I registered the system in SLD. In Integration Directory I imported the Bussines System IF6020DEV to my scenario and I created communication channel of type Sender IDoc Adapter in it.
    In IDX2 I created new port called IF6020DEV and I copied needed metadata into the port. But it doesn't work. Probably I don't do it right because I'm beginner with SAP XI.
    Could you give me any advice how to configure XI for receiving IDocs from non-SAP system?
    Thank you in advance!
    Regards
    Zbynek

    Thank you very much. The issue described in refered discussion is almost same issue what I'm solving. Unfortunetally the described solution dosn't work for me.
    The sender system still returns following error. I know you probably won't understand it because you don't know the subsystem, but maybe you could get some idea what is wrong.
    05/29/09 16:09:19.482 idoup2 Logon...
    05/29/09 16:09:19.482 idoup2 RfcOpenEx (TRACE=1 CLIENT=110 USER=xxxxxx LANG=D LCHECK=1 GWHOST=xxxxxx GWSERV=3361 ASHOST=xxxxxxx SYSNR=61 PASSWD=<password>)
    05/29/09 16:09:19.529 idoup2 Logon RfcOpenEx result=1
    05/29/09 16:09:19.607 idoup2 Call to (IDOC_INBOUND_ASYNCHRONOUS) failed (3)
    05/29/09 16:09:19.607 idoup2 Handle=1
    05/29/09 16:09:19.607 idoup2 key............:
    05/29/09 16:09:19.607 idoup2 status.........:
    05/29/09 16:09:19.607 idoup2 message........:IDoc-Adapter Eingang: Der Absenderport ist initial
    05/29/09 16:09:19.607 idoup2 internal status:
    05/29/09 16:09:19.607 idoup2 idoc_upload failed with rc=(3), try(2)
    05/29/09 16:09:20.607 idoup2 key............:IDoc-Adapter Eingang: Der Absend
    05/29/09 16:09:20.607 idoup2 status.........:EXCEPTION SYSTEM_FAILURE RAISED
    05/29/09 16:09:20.607 idoup2 message........:IDoc-Adapter Eingang: Der Absenderport ist initial
    05/29/09 16:09:20.607 idoup2 internal status:
    05/29/09 16:09:20.607 idoup2 idoc_upload failed with rc=(18), try(1)
    05/29/09 16:09:21.607 idoup2 Logoff...

  • Sending IDoc from Non-SAP system to XI

    Dear all,
       We have a non sap system which needs to send IDoc to XI, Please could you answer my following four questions
    1. What should be the values for the following fields in the IDoc control record
    e.g. RCVPRN = <logical system name of XI>
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPRT
    RCVPOR
    2. How does XI decide which port(idx1) to be used when it receives an idoc
    3. The third party system is a non sap one, so it does not have a client no, so I would assume, I need to use another SAP system as a meta data provider, in that case, how would i tell XI to use that port when it receives IDocs from the non-SAP system ?
    4. In what step does XI use the logical system name of the Business system(in SLD)?
    Thanks in advance
    cheers
    danus
    Edited by: Chidambaram Danus on Jan 25, 2008 2:21 PM

    Hi
    there is bit wrong interpretation of the statement
    If the sender system is a non-SAP system, the sender service is identified from the logical system name of the sender port.
    If the sender system is nonSAP it indicates taht the data is coming to XI from non sap systems such as file, database, webservice etc. to XI and from XI it will pass to sap as IDOC inbound.
    For this you need to create the logical system in SAP (receiver) and pass on that value to IDOC header.
    You could maintain it in the Business service used for Sender system (nonSAP). here it will be available in the tabs ---> History.
    note : IDOC is the concept of data container in SAP, you will not be able to have the IDOCs in non sap systems...
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 25, 2008 2:54 PM

  • Call rfc sender adapter from non-sap systems

    Hi,
    is ist possible to connect to an rfc sender adapter from non-sap systems? I want to use the the RFC-Connector from http://rfcconnector.com, but in the client connect options there is no way to specify the program id.
    Best regards,
    Daniel

    hi,
    you don't need to use RFC type T (with program ID) - you can use whole connection string - just like in the example:
    http://www.rfcconnector.com/documentation/examples/client/#functioncall
    so just specify: host system number etc.
    it should work like that - but let me know as I don't know this RFC connector
    Regards,
    Michal Krawczyk

  • Invoice posting for the PO from Non-SAP system

    Dear Friends,
    I have one requirement like from Non-SAP system PO details will be accessed from SAP and after certain calculations Invoice will be posted for the same PO back to SAP.
    Everything needs to be done in Non-SAP system by accessing SAP system.
    There are some BAPI which can be used for the purpose, but I am not able to get the correct BAPIs to get the PO details and Posting the Invoice for PO.
    Please anybody can help me out with the BAPI details.
    Thanks in Advance.

    Hi,
    Use following BAPIs
    BAPI_PO_GETDETAIL - To get Purchase Order details
    BAPI_INCOMINGINVOICE_CREATE - For Incoming Invoice
    Regards
    Vinod

  • 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.

  • File Transfer from non-SAP System.

    Hi Experts,
    We have the requirement to copy/transfer file from non-SAP system to SAP system file server. Can we use these FMs FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT?
    or can we also use SXPG_COMMAND_EXECUTE?
    Thanks,
    Edson

    Hi Varma,
    Thanks. I'm looking at the FTP_COMMAND FM. If I got it right the 'command' parameter here should be the OS level commands? Example would be cp <file path from source> <file folder of destination> for unix. ?
    Thanks again,
    Edson

  • Problem in Fetching data using RFC FM from NON SAP system

    Hi All,
    Need help from experts on data transfer using RFC from a non SAP system/database. I have creasted the destination in sm59.
    I have created a function module too which has an import parameter as a query and export parameter as an internal table.
    No when i test run this function module it returns some entries. But when I call this FM in a program it throws a dump 'rfc_external_abort' .  Here is what the call to FM looks like in my program. Please guide me on this.
    Thanks in advance,
    Saket.
    DATA : lv_query TYPE string,
           it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT *  FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION  'D39'
      EXPORTING
        in_sql_query       = lv_query
    IMPORTING
       ET_GDDB_DATA       = it_gddbdata

    Hi,
    your question..
    DATA : lv_query TYPE string,
    it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT * FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION 'D39'
    EXPORTING
    in_sql_query = lv_query
    IMPORTING
    ET_GDDB_DATA = it_gddbdata
    you are telling that you are fetching the data  from non sap system  using RFC function module.. how it is possible..you canot fetch the data from non SAP system using RFC FM alone.. you have to use the concept BAPI.. it will work..
    I hope this will help  you..
    Regards,
    Kiran

  • Master Data cleansing and transformation from non-SAP source systems

    Hi all,
    Our client (Media)wants to cleanse and transform his master data from non-SAP source system to be uploaded into BW (no R/3 yet). If anybody has a document regarding this topic that i could use, i will appreciate if u sent it to me.
    thanks.

    Hi,
    https://websmp203.sap-ag.de/~sapidb/011000358700001965262003
    https://websmp203.sap-ag.de/~sapidb/011000358700006591612001
    https://websmp203.sap-ag.de/~sapidb/011000358700001971392004
    https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000471477&_OBJECT=011000358700008927932002E
    /manfred

  • What ATP category to use when loading from non SAP system

    Hi Experts,
    We are sourcing transactional data from SAP R/3 and using CIF to transfer these data to APO.
    Now we have new sets of material locations where we are going to source transcational data from non-SAP system. We are going to extract file from non-SAP system and load it to APO. My question is, do I need to create new categories (non SAP categories) for all these transactional data (sales order, production order, purchase order, etc...) Or can I just use existing SAP categories that are getting populated when data are coming from R/3 through CIF.
    If its possible, can I use RLCDELETE to delete previously posted transactional data? because we are planning to do full refresh and reload everyday.
    Appreciate your help. Thanks
    Regards,
    Mylene

    Hi My lene,
    If i undersood your question correctly, you are trying to upload transaction data into APO system using file interface.
    You can use custom or standard ATP categories to upload any type of transaction data and deletion of those orders also possible for both the ATP categories using RLCDLETE report (except salesorder and fixed planned orders, they can be deleted by SDORDER_DEL & DELETE_PP_OREDER reports respectively).
    Custome categoires will be used in case additional data needs to get stored in APO system along with the standard transaction data coming from ECC system . For example, salesorders coming from ECC and uploaded from file.
    If the transaction data coming from only one source system then it is better to use standard categories.
    Hope this answers your question.
    Thanks & Regards,
    Jagadeesh

Maybe you are looking for

  • Hi,i have macbook pro ,,how can i install snapchat for my mac

    how to install snapchat for macbook pro

  • Invoiceposting

    Hi all, actually i have created "terms of payments" as below- 2 days - 3%discount 4 days - 2% discount 5 days no discount. so i have posted one invoice with RS 1000/- using this payment terms on the date of "05.02.2010". but when i am posting the inv

  • Chinese word download to excel

    How to download a Chinese character into excel thoru=gh GUI_DOWNLOAD> I have passed the parametr CODE PAGE as '8400'.But still some kunk character is coming.how to do this? Thanks in Advance.

  • Footnote numbers to reflow in ID5.5?

    I have a lengthy document laid out in InDesign 5.5, with one imported word doc flowed across several pages, in one story.    Footnotes are fine for this first step, at this point.    The trouble comes when I try to import a separate word document, co

  • Enforcing UNIQUE as well as CHECK constraint

    I have a database table in which I want the unique constraint enforced based on following condition: unique(parent_id, name) and parent_type != 'abcd' What is the best way to achieve this?. Thanks.