How can i use C# method to SAP IDoc

Dear Friends
i have to do one scenario in which i have to connect to database let us say SQL Server but i can't touch Database directly i can call a C# method(3rd party application is in .NET) and using XI i have to send it to SAP iDOC.
can any one help me in this how to proceed
Thanks in Advance.
Ishika

<i>Do you have any document for that on how to do it with webservices.</i>
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
See this
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Regards,
Prateek

Similar Messages

  • How can i use the subitem in SAP PR Item ( like 1,1.1,1.2,1.3,2,2.1,2.2,2.3

    Dear Experts,
           how can I use the subitem in SAP purchase requisition  Item ( like 1,1.1,1.2,1.3,2,2.1,2.2,2.3,3,3.1,3.2,3.3,4,4.1,4.2,4.3,5,5.1...)?
    Could you please tell me how can i configure Item Number Interval  in SAP purchase requisition  ?
    Best Regards,
    Merry

    The purchase requisition item number is a numeric, it can not contain anything except digits.

  • How can I use staitc method?thanks!

    here is my code :
    class a
    void go()
    System.out.println("now you are calling a.go method!");
    public class b extends a
    public static void main(String args[])
    a t1=new a();
    t1.go();
    It can be compiled and excuted perfectly,but I read from book that "in static method ,we can olny call static variable or method....." ,but t1.go() method is not static method ,why? thanks!

    static methods cannot refer to the methods and variables in their scope. They can however instantiate an object and use it... just like you did in your code.
    Think about this.
    public class SuperString extends String{
      public static void test(){
        String hello = "Hello";
        System.out.println(hello + " The string length is: " + hello.length());
    }in this example whe have String class that we added a static function to. It is otherwise the same thing as a String. Notice how I can instantiate and use a String class, but If I tried something like this
    public class SuperString extends String{
      public static void test(){
        System.out.println(this + " The string length is: " + this.length());
    }it would fail.

  • How can I use instance methods created with HashMap

    class Template
    static HashMap customer;
    a few methods created various customer
    public static display() //to display a particular customer information among i've created above
                 String objectName,currentObjectName;
              Customer customer;
              Scanner scan=new Scanner(System.in);
              System.out.print("Please enter the customer name");
              objectName=scan.nextLine();
              Iterator iteratorForCustomer=CustomerMap.entrySet().iterator();
              Map.Entry customerEntry=(Map.Entry)iteratorForCustomer.next();
             while(iteratorForCustomer.hasNext())
                    customerEntry=(Map.Entry)iteratorForCustomer.next();
                    if(objectName.equals((String)customerEntry.getValue()))
              System.out.println("Name : " +customer.getName()); //I'm trying to reference to an instance method getName() here but i can't do that .
    }The problem is I've created as many as I want and later in the program I tried to redisplay a particular customer information based on the input (objectName). User type in the objectName and I tried to look for a particular customer Object in the HashMap and display only the relevant customer information. Is there any way to do it ? Thanks everyone in advance.

    Peter__Lawrey wrote:
    use the get method
    [http://www.google.co.uk/search?q=map+tutorial+java]
    [http://java.sun.com/docs/books/tutorial/collections/interfaces/map.html]
    And then either look at a generics tutorial, or, if you're stuck on a pre-1.5 version of Java, find out about casting

  • How can I use Object's methed by OO4O

    I have done a type as following
    create or replace type classteacher as object
    tchid number,
    tchname varchar2(30),
    tchhomepage varchar2(100),
    tchsex varchar2(4),
    member procedure getCourseList(crslist out sys_refcursor)
    and the method is define as following
    create or replace type body CLASSTEACHER is
    member procedure getCourseList(crslist out sys_refcursor)
    is
    begin
    open crslist for
    select a.crs_id,a.crs_name,a.crs_notice
    from tb_courselist a,tb_teacher b
    where trim(a.tech_name) = trim(b.name)
    and b.teacher_id = tchid;
    end;
    how can I use the method by OO40 in vb.net.

    What is that post supposed to be?

  • I just made a new account and i placed the account in my ipod but now its asking me submit a payment method which i do not want to place because i do not want to purchase any app that requires money. how can i use my account without giving a payment metho

    now asks me to put in my payment method. i do not wish to place it in because i am not looking forward to purchase any app that needs to be paid for. How can i use my account but not give in my credit card data?

    Create a NEW account/ID using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
    http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • How can I use my array in another method.... Or better yet, what's wrong?

    I guess I'll show you what I am trying to do rather and then explain it
    public class arraycalc
    int[] dog;
    public void arraycalc()
    dog = new int[2];
    public void setSize(int size)
    dog[1] = size;
    public int getSize()
    return dog[1];
    This gives me a null pointer exception...
    How can I use my array from other methods?

    You have to make the array static. :)
    Although I must admit, this is rather bad usage. What you want to do is use an object constructor to make this class an object type, and then create the array in your main class using this type, and then call the methods from this class to modify your array. Creating the array inside the other method leads to a whole bunch of other stuff that's ... well, bad. :)
    Another thing: Because you're creating your array inside this class and you want to call your array from another class, you need to make the array static; to make it static, you must make your methods static. And according to my most ingenious computer science teacher, STATIC METHODS SUCK. :D
    So, if you want to stick with your layout, it would look like:
    public class arraycalc
         static int[] dog;
         public static void arraycalc()
              dog = new int[2];
         public static void setSize(int size)
              dog[1] = size;
         public static int getSize()
              return dog[1];
    }But I must warn you, that is absolutely horrible code, and you shouldn't use it. In fact, I don't even know why I posted it.
    You should definitely read up on OOP, as this problem would be better solved by creating a new object type.

  • How can I use Seeburger java functions on SAP XI's user defined functions?

    Hi All,
    As my title implies; how can I use Seeburger java functions on SAP XI's user defined functions?  I've tried searching over the net in tutorials regarding this topic but I failed to find one; can someone provide me information regarding my question? thanks very much.
    best regards,
    Mike

    Hi Mike !
    You should check your documentation about which java classes you need to reference in the "import" section of your UDF. And also deploy the java classes into the java stack or include them as a imported archive in integration repository...it should be stated in the seeburger documentation.
    What kind of functions are you trying to use?
    Regards,
    Matias.

  • How do i get a list of all Roles defubed under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?

     

    Sorry for the typographical mistake.
    Please read the question as:"How do i get a list of all Roles defined under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?"

  • How can I use Method in the bean

    Hi every one
    please I made a method in for example employees entity "EmployeesImpl"
    the name of method getmax() it return number
    how can I use it at the bean
    for eaxmple when I want to press button give me the value from this method
    sorry Iam still beginner
    thanks in advance

    Thanks sir for your response
    my version
    oracle jdeveloper reales 1 (11,1,1,4,0)
    I use business component
    I make method
    this metod wrote at enitity "EmployeesImpl"
    public Number getMax() throws JboException
    PreparedStatement stat=null;
    ResultSet rs=null;
    try {
    String sql="select max(EMPLOYEE_ID)+1 from EMPLOYEES";
    stat=getDBTransaction().createPreparedStatement(sql, 1);
    rs=stat.executeQuery();
    if (rs.next()) {
    return new Number (rs.getInt(1));
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    throw new JboException("error");
    } finally {
    try {
    rs.close();
    stat.close();
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    // oracle.jbo.domain.Number
    return new Number (1);
    I made a jsf page
    and I put button at the page
    I want when press the button give me message contain the number which come from previous metod
    thanks my dear

  • How can we call the method of used controller?

    Hi All,
       i created two WDA Applications.( like YWDA1,YWDA2 ) . i am using the component WDA2 in WDA 1.and displaying the one view of WDA2 as popup window in WDA1 on action of one of the input element in the view of WDA1 by using the method l_window_manager->create_window_for_cmp_usage
    I have a button on the view of WDA2 which has appear in the popup window...how can i call the method which has binded to that button....and where should i code that...and i need to assign selected value in the popup window to input elemetn of view  WDA1
    Please help me to resolve this....
    Regards,
    Ravi

    You can not directly call view's event handler from other component.
    create a method in component controller of the second component and in the button click call the component controller method. ( also make the method as interface so that you can call it from other components )
    Now, you can call the interfacecontroller's method
    DATA: l_ref_INTERFACECONTROLLER TYPE REF TO ZIWCI__VSTX_REBATE_REQ_WD .
      l_ref_INTERFACECONTROLLER =   wd_This->wd_CpIfc_<comp usage name>( ).
      l_ref_INTERFACECONTROLLER->Save_Rr(
        STATUS = '01'                       " Zvstxrrstatus
    save_rr is the method of second component controller

  • How can I use propertiers in workflow-task like "sap.bc.bmt.wfm.groups"

    Hello Friends,
    i'm hoping you can help me with this question:
    - How can I use the properties in the task definition of a workflow?
    - And what can i do with it?
    At http://help.sap.com is a very low level documentation.
    Best regards,
    Christian

    Answered myself.
    Thanks
    Christian

  • How can i use Catalog in Method Type?

    Dear Experts,
    How can i use Catalog in Method Type?
    I want to use Multiple method type mean require selection option(help from catalog)and also need to entere the result against certain parameters. So how can i do this possible ?
    Except use of additional infrmation field
    Regards,
    Abhishek

    Hi,
    Can i provide selection option F4 help at Method while enteing the result?
    Because for 1 MIC as per buyer method testing different so it will come alternately.
    i.e i have 3 methods which comes altarnative for one MIC
    TST_ISO
    TST_AATC
    TST_ASTM
    So how it is possible???

  • How can i use SAP R3 (se11) structure  in SAP XI

    hi,
    how can i use SAP R3 (se11) structure in SAP XI?
    is it possible.?
    Edited by: ruban R on Apr 1, 2008 6:14 PM

    HI raj,
    I am sorry...I think...i did not say clearly..
    I mean I am not talking about transaction.
    I want to import/use that (se11) SAP R3  structure into my data type/message type (example) in SAP XI..is it possible?
    I do not have any save option if i open any structure in SAP R3  in se11....  Example:  mara_cSAP XI
    how can i use that mara_c str. in SAP XI.?

  • How can I use srvctl command line for change "Failover type" and "F method"

    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.

    user10674190 wrote:
    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.srvctl modify service -d database_name -s orcldb -q TRUE -m BASIC -P BASIC -e SELECT -z 180 -w 5 -j LONG
    Also see
    11gR2(11.2) RAC TAF Configuration for Admin and Policy Managed Databases [ID 1312749.1]

Maybe you are looking for

  • Long Load Times On PSD Inclusive Projects

    Ive concluded premeiere doesnt crash, it cant just take hours to load project which includes large PSD files, this has only happened since CS3, i used to bring in Big PSD Projects and they would load fine but something to do with implmentation photos

  • Diamond question mark boxes instead of unicode via ssh in term.

    Terminal and iTerm both show the diamond shaped question mark box (instead of the proper unicode when I am SSHed into a remote machine. For the most part this is just a cosmetic issue, though it's annoying when I am trying to read non-english message

  • I cannot print a web page or selection using 6.0.2

    I need to copy and paste a webpage or selection into another program...this is time consuming. Never had this before 6.0.2.

  • Dynamic DropDownByKey

    Hi, I'm creating a DropDownByKey: select * from ycenas into corresponding fields of table lt_cenas. loop at lt_cenas into ls_cenas.     l_palias-value = ls_cenas-palias.     l_palias-text = ls_cenas-palias.     insert l_palias into table lt_palias. e

  • Need an introduction on Sessions

    I'm making a site where people can search for an article on my site and it gets listed as normal, but if they want to view more information I want them to sign up. If they are not signed in, the should be offered to sign up before they can see the co