Ccalling the webservice in WSDL based on the incoming value from source

Hi Experts,
i am doing the inteface like SAP -(Client proxy)SAPPI(SOAP)----thirdparty
i got WSDL from the third party it provides the structure like this when i was impoted through external defination
BLE
Fault
Exception code
Exception message
ADDPARTS
Add parts
Parts
Each record
Field1
Field2
Field3
Price
Usd
Field4
ADD PARTSRESPONSE
Add parts response
Status
Success
Message
DELETEPARTS
Deleteparts
Parts
Criteria
DELETEPARTSRESPONSE
Deletepartsresponse
Status
Success
Message
GETPARTS
Getparts
Parts
Criteria
GETPARTSRESPONSE
- -Getpartsresponse
Status
Parts
Eachrecord
Field1
Field2
Field3
Field4
UPDATEPARTS
Updateparts
Parts
Eachrecord
Field1
Field2
Field3
UPDATEPARTSRESPONSE
Updatepartsresponse
Status
my question is how can i call the perticular webservice suppose if the partsmaster values are new values we need to update so in that time we need to call the update parts webservice
in the same manner deleteparts and getparts
please any body suggest to me how can iachinve this one
Thanks in advance
Edited by: katakoti on Mar 23, 2011 9:35 AM

To process adapter attributes in the message header of the XI message, select Use Adapter-Specific Message Attributes and Variable Transport Binding.
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm

Similar Messages

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • How to determine the length of variable based on the character contents

    Hi Experts,
    I need to determine the length of variable based on the character contents I am looking for.
    Example;
        lv = 'FENCE - Construction bond'
    Where I need to know the exact field length of 'FENCE -'.
    It's possible that variable will have different values in different lengths.
    Thanks.
    Kath

    Kathy Amion  ,
    hello Will you please elaborate ...!
    The suggestion for your proble as i understood it is you will have to split the string at seperator '-' in two say variable name and conten. and then  you will calculate the length of the VARIable name by using string function.

  • Fetch the operating unit name based on the country name

    Hi all,
    I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
    Can any one know how to get this thing.
    any help or idea is appreciable.
    Thanks,
    Giri

    Giri,
    I don't think you will find such a link. One country can be used by multiple operating units.
    Hope this helps,
    Sandeep Gandhi

  • What is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.

    Hello Gurus,
    I want to know what is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.
    For example:
    X=EssVCalculate("Sheetname","Calc_Script name",True)
    In the above code instead of the *"Calc_Script name"* I want a script which is called dynamically and the values are calculated accordingly.
    Thanks in advance
    Saurabh

    Hi Todd,
    This is the situation:
    I have a calc script in Essbase which I can call to perform the calculations on the current sheet that is retrieved. I want calculation for the following formulas:
    x = EssVCalculate("Sheet2", "CalcBC", False)
    CalcBC is my calc script which is present in Essbase
    So instead of passing the above script I want to pass the conditions dynamically in the VBA code . I don't want to mention the script name directly in EssVCalculate option
    For example:
    I have three drop down menus from which I would select three different( zero level )members. It would then retrieve the data for that particular values in the excel sheet and now when I click on Calculate button it should calculate the script dynamically.
    I don't know how calc scripts can be executed dynamically in the VBA code itself.
    Thanks in Advance
    Saurabh

  • How to update the Sent Idoc Status based on the Response From Webservice

    Hi All,
    I have to develop Idoc--SOAP Sync Process Scenario Using BPM .
    I have configured every thing using BPM and mapped
    MATMAS----SOAP Request
    SOAP Resp----STATUS.SYSTAT01
    In R/3  the Main Idoc Number(MATMAS) Status needs to be update , but it is creating the new Idoc with STATUS.SYSTAT01.
    I have used STATUS.SYSTAT01 Idoc to Update the status of the Original idoc based on the Response that is coming from webservice .
    I was posted the same thread a days ago and there Bhavesh suggested me some sugessions.
    How can we make the status of the Idoc based on some response Text
    iam unable to follow OR not able to clear my self on this.
    Please suggest me or give some over view kind of thing on this
    Regards

    Hi Suman,
    It is clearly mentioned in SAP help that "SAP Intermediate Documents (IDOCS) are EDI like documents that are asynchronous in nature."
    So Your Scenario is Asynch(receive) - Synch(WS call) -Transformation (Multimapping)- Asynch(Send to R/3).
    now go in this way:
    you can develop all the message Interfaces  of  Abstract catagory (not manditory )
    MI_AA_MATMAS   -> Abstract Asynchronous message    interface for your Matmas IDOC
    MI_AS_SOAP_ReqandResp  -> Abstarct Syncronous MI for SOAP request and response.
    MI_AA_STATUS ->Abstract Asyncronous MI for Status Idoc
    MI_AA_SOAP_Req ->  Abstarct Asyncronous MI for SOAP request .
    MI_AA_SOAP_Res ->  Abstarct Asyncronous MI for SOAP response .
    Thats all in Message interface.
    your first reciever :
    (This will receive the message asynchronously from R/3)
    create a conatainer varaiable (say preceive) and assign it message interface MI_AA_MATMAS
    Now in thw Propert TAB of this step: give this message name.
    Step2: Synchronous call :
    create container Variable psoaprequest and psoapresponse  give abstract message interface MI_AA_SOAP_Req and MI_AA_SOAP_Req  resp.
    Now in thw Propert TAB of this step:
    Synchronous Interface : MI_AS_SOAP_ReqandResp
    Request Message : psoaprequest
    Response Message: psoapresponse
    Transformation Step :
    Here you will specify Interface Mapping that will conatain Multimapping between Synch Response - MATMAs and STATUS
    Let's name it as IM_ResandMatmasToStatus
    create a container variable as pstatus and assign it abstract interface MI_AA_STATUS.
    In Property pan of this step :
    Interface mapping :IM_ResandMatmasToStatus
    Source Message :psoapresponse
                                preceive
    (IT will ask you for two source messages as IM selected in this transformation has 2 source messages)
    Target Message :pstatus
    Send step:
    Select a message as pstatus.
    thats all in IR.
    If have doubt in ID just let me know.
    Thanks
    Sunil Singh

  • How to resize the spark datagrid collumns based on the headertext?

    Hi friends,
         I am using spark datagrid for displaying the tablur data in my application, when i setting the dataprovider property of the datagrid, it displays the content exactally what i expeceted.
    but the widht of the collumns are based on the content of the dataprovider, i am not able to see the full collumn name in the datagrid's header. I want to display the full collumn name to the users without setting the collumn width explicitly because the data are dynamically returned from the server. could you pls give me some ideas to acheive this...?
    Thanks in advance.

    Hi Karthikeyan Subramain,
    You can make use of typicalItem proberty to set the column width.
    Here is the link for sample code which uses typicalItem:
    http://butterfliesandbugs.wordpress.com/2011/03/08/its-a-best-practice-to-size-a-spark-dat agrids-columns-with-a-typicalitem/
    Hope this will help you
    Thanks and Best regards,
    Pooja Kuber | [email protected] | www.infocepts.com

  • How do  we check the check box items based on the databse fields.

    Hi All,
    I have a requirement like as mentioned below#
    1. I have a combox box whcih i will be populated from database.
    2. I have created two check box as "Stategric " and "Non Stategric".
    3. Now when i select the combox box condition i need to select the check box items.
    4. But the problem is i wil be knowing weather it is a stategric or Non stategirc based on the database column.
    5. How do i need to map the database point of view and correlacte with javascript pont of view.
    6. Do we need to write any Application process to achieve this task and who we can do that.
    Thanks,
    Anoo..

    Hi VC,
    As per my understanding the code should be placed between --.
    Based on this i have placed the code
    function setCheckbox(pThis, pItem){
    alert('inside');
        var l_code = '';
        // Get checkbox name
        rName = document.getElementsById('P1_ENG_BAU').firstChild.name;
    alert("The value is"+rName);
        // Fire AJAX
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=CHECKBOX_LIST',0);
        get.add('F120_COMPANY',pThis.value);
        gReturn = get.get('XML');
        if (gReturn) {
          var values = gReturn.getElementsByTagName('value');
          var messages = gReturn.getElementsByTagName('message');
          // Build the checkbox
          for (i=0; i<values.length; i++) {
            var rValue = values.firstChild.nodeValue;
    var rMessage = messages[i].firstChild.nodeValue;
    l_code+='<input id='+P1_ENG_BAU+'_'+i+' type=checkbox value='+rValue+' name='+rName+'>';
    l_code+='<label for='+P1_ENG_BAU+'_'+i+'>'+rMessage+'</label>
    document.getElementsById('P1_ENG_BAU').innerHTML = l_code;
    Correct me if iam understanding is wrong.
    Thanks,
    Anoo..
    Edited by: Anoo on May 31, 2012 11:04 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Count the number of rows based on the values!!!

    Hi all,
    What I am using:
    I am working with a multidimensional database in Visual Studio 2010 using its Data source view and calculation member and dimension usage.
    What I want to do:
    I have a fact table that has five columns(leg(s),hand(s), Head and body,overall) that shows the category of how severe the injury is. Let say for the records all columns never have an empty value(no injury is stated with 'No injury' ) . These five columns
    are connected with a dimension that has all the available values (Category A-E of injury).The overall has the most severe from the other four columns. I want to create a bar chart with five different measure
    values, one for each column, and count the values in those columns. 
    For example : I have a slicer in the excel and a bar chart and the slicer has all the values of the Category of the injury ( Cat a,Cat B, Cat C, ... Cat E, No injury ) and when i select one of them, lets say
    Cat C,  the bar chart should update and show how many Cat C each measurement column has. 
    Example FACT table:
    ID      LEG      HAND    HEAD   BODY OVERALL
    1        No         A           No        No        A
    2        No        D            C          C         C
    3    E         C            D           A         A
    4         E          E           B            C         B
    So if i selected C the bar chart will count   (Leg = 0, Hand = 1, Head = 1, body = 2 and Overall = 1).
    Any ideas ?
    Thanks for the help and the time :) 

    Hi DBtheoN,
    According to your description, you want to create a chart on excel worksheet to count the rows based on the value, right? If in this case, I am afraid this issue is related to Office forum, I am not the expert of Office, you can post the issue on the corresponding
    forum.
    However, this requirement can be done easily on SQL Server Reporting Services. You can using the expression below to count the rows.
    =COUNT(IIF(Fields!LEG.Value=Parameters!TYPE.Value,1,NOTHING))
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to delete rows in the SQL Server table based on the contents of Excel file

    Hello, everyone,
    I have an Excel file which contains data for certain dates. I need to load it in a SQL Server table. But before doing that, I need to check if the table already contains data for the dates in the Excel file. If it does, I need to delete those data
    first. Not sure what is the best and efficient way to do this. Your help and guidance would be much appreciated.
    Thank you in advance.

    there are multiple ways of doing this
    Fastest method would be below
    1. Have a data flow task using excel source. Then add a OLEDB destination to dump the data to a staging table
    2. Have a Execute sql task to delete data from your actual table based on staging table data. The query would look like
    DELETE t
    FROM YourTable t
    WHERE EXISTS (SELECT 1
    FROM StagingTable
    WHERE DateField = t.DateField)
    3. Have another execute sql task to do final insert like
    INSERT YourTable (Col1,Col2,...)
    SELECT Col1,Col2,..
    FROM StagingTable
    the above operations will be set based and faster
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to find the latitude and longitude based on the Customer's address

    Hi All,
    I have a requirement where in I need to maintain the latitude and longitude for a Customer in the database table. I need these details for calculating the distance between the Customer and the nearest plant for the organisation to deliver from the nearest plant.
    Can someone help  me as to how to go about this.
    Thanks and Regards,
    Deepika

    Hi Zhenglin,
    You meen to say we have to create two custom fields, one each for the latitude and longituude. Once created, how do we upload the latitude and longitude based on address could you please expalin by giving some sample code.
    Thanks in advance.
    Thanks and regards,
    Deepika C

  • Needs Query to get the cycle time automatically based on the value provided in the UDF on OWOR  table

    Dear all,
    Need a query to get the Cycle time in hr based on the value provide in the udf on OWOR table.
    Details of UDF:-
    1.Start date =10/07/14  (Field Name U_EA_REST)   
    2.Start time =10:00        (Field Name U_EA_REASTARTTIME)
    3.End date =11/07/14    (Field Name U_EA_REET)
    4.End Time=14:00          (Field Name U_EA_REAENDTIME
    Cycle Time=_______      (Field Name U_EA_REACYCLETIME)
    Regards,
    BanugopanRajendran

    Dear all,
    Need a query to get the Cycle time in hr based on the value provide in the udf on OWOR table.
    Details of UDF:-
    1.Start date =10/07/14  (Field Name U_EA_REST)   -  Date Type
    2.Start time =10:00        (Field Name U_EA_REASTARTTIME) - Hour Type
    3.End date =11/07/14    (Field Name U_EA_REET) - Date Type
    4.End Time=14:00          (Field Name U_EA_REAENDTIME - Hour Type
    Cycle Time=_______      (Field Name U_EA_REACYCLETIME) - Hour Type
    Regards,
    BanugopanRajendran

  • Updating the BPM workspace view based on the number of instances in view

    Hi All,
    We are using ALBPM 6.0.5 enterprise with Weblogic 10 server. We have a requirement to update dynamically the view name in the left side panel in BPM workspace. Based on the number of instances created, the view(view name ABC) should carry something like "ABC(2)". 2 being the number of instances in the view. It's more like a mailbox client InBox. Depending on the number of mails, the Inbox changes the number highlighting new mails.
    I've tried using the Workspace API to update the cusom decorator class getRow() method to update the view CSS property. But it doesn't seem to work. All I'm able to do with the decorator class is to update the propeties of instances, but not other panels?
    Is there any API to control the panel properties in BPM workspace?
    By the way, I'm using the standard workspace without any changes.
    Any pointer will be much appreciated.
    Cheers.

    Yes, I'm hoping to fill in DataGridA with all records from dc where dc["ENTITY_ID"] = dr["ENTITY_ID"] 
    I tried your statement and received the following errors:
    Error 1
    The left-hand side of an assignment must be a variable, property or indexer
    C:\ISMG_7210\MedicalSequenceDataAnalysisProject\OTCS_Algorithm\OTCS_Algorithm\Form1.cs
    87 71
    OTCS_Algorithm
    Error 2
    Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?)
    C:\ISMG_7210\MedicalSequenceDataAnalysisProject\OTCS_Algorithm\OTCS_Algorithm\Form1.cs
    87 99
    OTCS_Algorithm
    Thank you for your help.
    Joel Fredrickson
    Yes, please follow example provided by Kristin, the error is because of missing comparison operator ==, and that the dr["ENTITY_ID"] is of type object that needs to be converted to int. I've updated my code, if you have Entity_ID in your DB as
    double use Convert.ToDouble instead.
    Fouad Roumieh

  • Is the Decimal Notation Setting based on the country of the vendor?

    I would like to ask help with regards to an error which i encountered when I Print Preview a Purchase Order Document via Transaction ME23N.
    Within the Print Program, the Decimal Point setting is normal ( for example 2.90, 192.97, 1,903.00 , etc.), but when the value is passed on to the SAPscript Form the Decimal Point setting is incorrect ( for example 2,90 , 192,97 , 1.903,00). This error is only observed on a single Vendor being used in the creation of the PO.
    I would like to confirm if indeed the settings for Decimal Notation is based on the settings being used in the specific country of the vendor.
    I hope anyone can help me out with this one. Reward points up for grabs.

    Hi
    In my case in sapscript while printing total for JPY is for three decimals but after calculating it used to take two decimals & leave one decimal to left ex as below.
    FOB : 100.000
    Freight: 10.00
    Total  : 1000.00 (In figures One Hundered & Ten Only).
    here in sapscript program this decimal notation was given for two hence it was going to left side we correct it to three decimal notation.
    kindly check with script & you can fix it there.
    Regards
    Rang

  • If you create a 3 level deep site heirarchy (with the first two levels based on the document centre template) the sharepoint OOTB breadcrumbs break

    if you create a site collection with document center as the template, then create another document center site (as a subsite) underneath it. Then create a team site (as a subsite) in this document center site. So now you have a 3 level deep site heiarchy
    with 2 levels of doc center followed by a teamsite.
    Note that the breadcrumb (when I say breadcrumb I mean the drop down folder button which shows the heirachy) shown on the teamsite skips the middle level doc center.
    I have replicated this bug in production and in my test server.  Has anyone run into this before?  This must be something peculiar with the Doc Center template.  If I do the same thing but I make the middle level a team site I do NOT have
    this problem
    krd

    Hi,
    Per my test, it seems that if the second level uses a different category template except the Collaboration templates, the site will not show on the breadcrumb.
    No matter if the first level uses any template, when we view the subsite which uses the Collaboration templates, all the subsites which uses a different category template above will not show in the breadcrumb.
    You can create your own breadcrumb using code.
    http://blog.mastykarz.nl/building-breadcrumbs-sharepoint-2010/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for