For Response mapping

select columnid
FROM tablename
WHERE column1 = 'Z' AND (column2 <> 'N' AND column2 <> 'M')
For above query response mapping...do i need to use action= SQL_QUERY ?.
or simple datatype is fine?.

Hi Rahul
You Can do it by defining datatype.
Make the occurence of COL2 as 1 to unbounded and then in your mapping
duplicate the Target Subtree and map it to the corresponding values.
Just go thru this doc -http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Rehards

Similar Messages

  • FNDLOAD for Responsibility Mapping setup in Oracle Service

    Hi,
    Is there a FNDLOAD command for Responsibility Mapping setup in Oracle Service.
    Thanks
    Vishnu
    Edited by: user12063411 on Dec 2, 2009 4:01 PM

    Yes, SR Type- Responsibility mapping is done in JSP page.
    But Dataloader works in JSP page or almost any application like Microsoft excel, outlook etc..

  • Creation OData Service Response Mapping

    Hi Marvin Hoffmann
    @jitendr_kansal
    first of all thanks for sharing this blog.
    Marvin Hoffmann's Blog
    in this blog under the Heading of "Implement the OData Service"  at point number 6.
    when i download the WSDL file and upload for response mapping i am getting the below in which left hand side is empty.
    Kindly guide me how to do it?
    Regard
    Ali

    If you are running behind proxy server:
    you can set proxy settings  > windows>preferences>network connections>
    Manual>HTTP
    check How to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network

  • How to store the value of request message and use it in Response mapping

    Hi All,
    We have an requirement where we need to store the data coming in Request Mapping and use the stored value in Response Mapping. Can anybody help us in how to proceed?
    Thanks
    Sujata

    Hi!
    In Mapping you may use the RFC Lookup function to store values in database table during request mapping and to read values from database table during response mapping.
    You can also use an ABAP or Java Mapping "in front of your" message mapping to store/read the values.
    You can also use an Adapter Module (if applicable for the adapter type you use) and/or a UDF to store the data e.g. in Dynmaic Configuration Header of Request Message and to read these data from Dynamic Configuration Header of Response Message. But this works only for synchronous scenarios (and it means overhead in your message traffic).
    Hope these thinkings help you o find the most suitable way for your concrete scenario!
    Regards,
    Volker
    Note:
    These techniques help you to avoid using BPM.
    Edited by: Volker Kolberg on Aug 27, 2009 11:18 AM

  • Encountering Error in webadi : "&Value is invalid. Enter a valid value for the Mapping column &Column"

    We are having a custom WebADI, containing a field (Employee Name) which is a LOV.
    The LOV has ID : Person ID, Meaning : Employee name, Description : Position Name.
    There are multiple records with same Employee name but different Person ID.
    If I select an Employee in the LOV which has multiple records (through different IDs), I am getting an error in WebADI:
    "Enter a valid EMPLOYEE_NAME.
    XX is invalid. Enter a valid value for the Mapping column EMPLOYEE_NAME"
    The Query for the LOV is correct and is returning correct records.
    Any pointers on this issue highly appreciated.

    Hi,
    The problem could be with HR security profile attached to the responsibility from where you are launching the spreadsheet. Check it once.
    Thanks.

  • How to get digital signature for Google Map geocoding V3 in PL/SQL?

    Hi, Gurus:
        Could anyone provide me an example about how to generate digital signature for Google Maps service v3 in PL/SQL? We tried to upgrade our program using Google maps service from v2 to v3. We are using PL/SQl on background to send request to Google for geocoding. We found some sample code to register with digital signature, but none of them is based on PL/SQl. Notice I used Google business client ID "gme-XXX" and wallet.
    https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
    Google Maps API - more URL signing samples
    Here is my code for V2. I notice in order to get signature, I need to use HMAC-SHA1 algorithm.
    procedure Get_Geocoding(P_s_Address in varchar2, P_s_Geocoding out varchar2, P_n_accuracy out number, P_b_success out boolean) is
      l_address varchar2(4000);
      l_url varchar2(32000);
      l_response varchar2(3200);
      n_first_comma number;
      n_second_comma number;
      n_level_length number;
    BEGIN
      /* TODO implementation required */
      l_address:=APEX_UTIL.URL_ENCODE(P_s_Address);
      l_address := replace(l_address,' ','+');
      l_url := 'http://maps.google.com/maps/geo?q='||l_address||'&'||'output=csv'||'&'||'client=gme-XXX';
    l_response := utl_http.request(l_url, APEX_APPLICATION.G_PROXY_SERVER, '/u02/app/oracle/admin/apexsb/wallet', 'XXXXXXXX');
      n_level_length:=0;
      n_first_comma:=instr(l_response,',',1,1);
      n_second_comma:=instr(l_response,',',1,2);
      n_level_length:=n_second_comma-n_first_comma-1;
      P_n_accuracy:=0;
      if n_level_length>0 then
      P_n_accuracy:=to_number(substr(l_response,n_first_comma+1, n_level_length));
      end if;
      l_response:=substr(l_response,instr(l_response,',',1,2)+1);
      --dbms_output.put_line('In function: l_response ='||l_response);
      P_s_Geocoding:=l_response;
      if (P_s_Geocoding<>'0,0') then
      P_b_success:=true;
      --dbms_output.put_line('true');
      else
      P_b_success:=false;
      --dbms_output.put_line('false');
      end if;
    END;
    Thanks!

    Hi, guys:
        I tried to generate digital signature for Google map service
         Maps for Business: Generating Valid Signatures - YouTube
        Generating an HMAC-SHA-1 Signature Using Only PL/SQL
          OAuth and the PL/SQL | Data Warehouse in the Cloud
       but I got error message from Google:
    Unable to authenticate the request. Provided 'signature' is not valid for the provided client ID. Learn more: https://developers.google.com/maps/documentation/business/webservices/auth
       I think there is something wrong with my code to generate signature, as if I remove the part regarding client and signature, it will work, can anyone help me on this problem?
    /*Procedure Get_Geocoding is used to get geocoding with accuracy level for V3 business account, you can find Google map digital signature descrirption from
    https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
    if geocoding is 0,0, procedure returns false to indicate failure of get geocoding*/
    procedure Get_Geocoding2(P_s_Address in varchar2, P_s_Geocoding out varchar2, P_n_accuracy out number, P_b_success out boolean) is
      --private key for Google business account, this is provided by Google with client name.
      l_private_key_src varchar2(200):='xxxxxxxxxxxxxxxxxxx';
      l_private_key_b64_alter varchar2(200):= translate(l_private_key_src,'-_','+/');
      l_private_key_bin raw(2000);
      l_client_name varchar2(100):='gme-xxx';
      l_signature_mac raw(2000);
      l_signature_b64 varchar2(200);
      l_signature_b64_alter_back varchar2(200);
      l_Google_service_domain varchar2(200):='http://maps.googleapis.com';
      l_address varchar2(4000);
      l_url varchar2(32000);
      l_path varchar2(32000);
      l_response varchar2(32000);
      l_page UTL_HTTP.HTML_PIECES;
      n_actual_length number;
      json_obj json;
      json_tempobj json;
      jl_listOfValues json_list;
      json_geom_obj json;
      json_loc json;
      l_lat  VARCHAR2(40);
      l_lng  VARCHAR2(40);
      l_status VARCHAR2(255);
      json_accuracy json;
      --temp_string varchar2(10000);
      n_first_comma number;
      n_second_comma number;
      n_level_length number;
      BEGIN
    /* TODO implementation required */
    l_private_key_bin := utl_encode.base64_decode(UTL_I18N.string_to_raw(l_private_key_b64_alter, 'AL32UTF8'));
    l_address:=APEX_UTIL.URL_ENCODE(P_s_Address);
    --dbms_output.put_line(l_address);
    l_address := replace(l_address,' ','+');
    l_path := '/maps/api/geocode/json?address='||l_address||'&'||'sensor=true';
    dbms_output.put_line(l_path);
    l_signature_mac :=DBMS_CRYPTO.mac(UTL_I18N.string_to_raw(l_path, 'AL32UTF8'), DBMS_CRYPTO.hmac_sh1,l_private_key_bin);
    l_signature_b64:= UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(l_signature_mac));
    l_signature_b64_alter_back:=translate(l_signature_b64,'+/','-_');
    dbms_output.put_line(l_signature_b64_alter_back);
    --get response from Google map service
    l_url:=l_Google_service_domain||l_path||'&client='||l_client_name||'&signature='||l_signature_b64_alter_back;
    --l_url:=l_Google_service_domain||l_path;
    dbms_output.put_line(l_url);
    l_page:=utl_http.request_pieces( l_url, 99999);
    for i in 1..l_page.count loop
    l_response:=l_response||l_page(i);
    end loop;
    n_actual_length:=length(l_response);
    dbms_output.put_line(n_actual_length);
    dbms_output.put_line(l_response);
    --parse JSON result
    json_obj:=new json(l_response);
    l_status := json_ext.get_string(json_obj, 'status');
    IF l_status = 'OK' then
    jl_listOfValues := json_list(json_obj.get('results'));
    json_tempobj := json(jl_listOfValues.get(1));
    json_geom_obj := json(json_tempobj.get(3));
    json_loc := json_ext.get_json(json_geom_obj, 'location');
    l_lat := to_char(json_ext.get_number(json_loc, 'lat'));
    l_lng := to_char(json_ext.get_number(json_loc, 'lng'));
    P_s_Geocoding:=l_lat||','||l_lng;
    dbms_output.put_line('##########'||P_s_Geocoding);
    case json_ext.get_string(json_geom_obj, 'location_type')
    when 'ROOFTOP' then P_n_accuracy:=9;
    when 'RANGE_INTERPOLATED' then P_n_accuracy:=7;
    when 'GEOMETRIC_CENTER' then P_n_accuracy:=5;
    else P_n_accuracy:=3;
    end case;
    P_b_success:=true;
    else
    P_b_success:=false;
    P_n_accuracy:=0;
    P_s_Geocoding:='0,0';
    end if;
      END;

  • Soap response mapping error

    hi
    i got payload of response from webservice as below;
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <m:requestResponse xmlns:m="http://tempuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <result xsi:type="xsd:string">20060911tt11</result>
      </m:requestResponse>
    when i test mapping with above contents in mapping test tab, i got mapping error as blow;
    16:03:59 Start of test
    Cannot produce target element /ns1:Rnumber_MT/rnum. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns1:Rnumber_MT/rnum. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    16:03:59 End of test
    source side in MM_response, comming from wsdl for MT.
    result          xsd:string
    target side in MM_response, i created DT, MT.
    Rnumber_MT
             |__
                 rnum  xsd:string
    i sent data to webservice succesfully, and i can see return value as well, but mapping error.
    please guide me.
    thanks in advance
    venjamin

    hi
    in response procedure;
    my scenario abap proxy 2 soap sync
    1. response from webserivce --> r/3
      there is no DT, MT due to coming from wsdl.
      only i can see result xsd:string
    2. data type for r/3
       Rnumber_DT
           rnum xsd:string
       message type Rnumber_MT
       Rnumber_MT
           |_
               rnum  xsd:string     
    3. mapping for response
       1. source (webservice)
         external message : requestResponse
         result xsd:string
       2. target  (r/3)
       Rnumber_MT
           |_
               rnum  xsd:string  
       i did map ,,, result ---> rnum..
      here is payload for response from webservice....
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Request Message Mapping
    -->
    - <m:requestResponse xmlns:m="http://tempuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <result xsi:type="xsd:string">20060911tt11</result>
    </m:requestResponse>
    please help me
    thanks in advance
    venjamin

  • Store value from request message to be processed in response mapping

    Hi,
    I have the following synchronous scenario:
    R/3 (ABAP Proxy) <>  XI/PI <> 3rd party Web Service
    I need to reference a value in the sender (request) message in the response mapping.
    For example:
    A request with a user ID is received from R/3 to XI/PI.  I want to store the user ID in the request message.  A response is received from the web service.  I then want to use the user ID in the response mapping.
    I believe XI/PI can meet this requirement with a BPM using container or possibly using a custom table to store Message GUID and the variable value in the request message mapping.
    Are there any other methods that can be used to meet this scenario?
    Thanks and regards,
    Duke

    Hi All,
    This is the first time I've encountered such a requirement.  Most of the time we create our own programs that call the sender proxy, so to interogate the results and call another proxy would be the ideal solution.  But, in this case the standard LSO process controls the execution of the proxy.  We may look into doing an enhancement to the standard code, but I was looking for a way we can do this in PI with minimal effort.
    As Stefan stated, I also noticed that the DynamicConfiguration is emptied in the response.
    We will explore the use of BPM, but from what I can see, utilizing a custom table with the runtime constant MESSAGE_ID may be the simplest solution in PI.
    Thanks and regards,
    Duke

  • UDF  for this mapping rule

    Hi Friends,
         I have one difficult issue which have one mapping rule to write user defined function. I am sending mapping rule Please give me java coding to create udf for this mapping rule which is following below:
    CRFT.COSTR = M_ORD_01 and
    CRFT.CRID = CRHE.CRID and
    CRFV.FTNO = CRFT.FTNO and
    CRFV.ATNAM = ZPPI_ORDER_SCHED_EN_DATE
    And
    CRFT.COSTR = M_ORD_01 and
    CRFT.CRID = CRHE.CRID and
    CRFV.FTNO = CRFT.FTNO and
    CRFV.ATNAM = ZPPI_ORDER_SCHED_EN_TIME
    From ATWRT of ZPPI_ORDER_SCHED_EN DATE+ ATWRT of ZPPIORDER_SCHED_EN_TIME
    In format yyyy-MM-ddTHH:mm:ss
    using this mapping rule, ATWART field can map with target field "End Time" i think.
    Actually source field is CALCULATE but this field is not in Source structure
    target field is "End Time"  this field is in Target Structure.
    I will wait for ur response
    Thanks adn regards
    Sai

    Hi Jagadish,
    This RFC is CONTROL_RECIPE_DOWNLOAD
    in this RFC, i want to map ATWRT field to Target field "End Time" with mapping rule which i had already given.
    In Graphical mapping, i am doing . but i can not get it because mapping condition is difficult. if you have any idea in graphical mapping give me early
    before that i have to give explantion about this is  date value and time value passed through this ATWRT field as different records.
    i am doing as a condition ie  first i have taken date condition. from that condition, first two fields  CRFT.COSTER and M_ORD_01 has given to "equals" funtion     like that have done remaining fileds then the output of those "equals" functions given to "and" functions finally i get one output of "and" function.  while sending DATE values from RFC this output  of "and " function.
    Like this, for Time condtion i have done mapping same way and giving a TIME values from RFC as Second record then output of this "and" function while sending second record with time value.
    here mainly i am getting problem is .....
    here i am taking source field ATWRT( in this field i am sending date format adn time format as different records) with the outputs of the mapping conditons as input vaules of another function. i dont have any idea for another function why because is first date record should be wait until the time record comes in this function.after then both vaules should concat .
    now here whenever you send date value through this field ATWRT as first record and after satishfy the date condition form mapping rule,  The date value of ATWRT should go to input of concat function. next i will send time value like date value through ATWRT as second record . It should go to another input of concat function. Then here both date value and time value concat with T  and should be come output in the format  yyyy-MM-ddTHH:mm:ss and this will go to Target field "End Time".
    I will be wait for ur possitive reply
    thanks for giving response
    Thanks adn regards
    sai

  • URL for Response msg from cidx to idoc

    Hi Experts
    The Senario is sap_idoc to CIDX(msg protocal RNIF and Transport protocal HTTPS)Receiver Elemica Gateway.
    while creating communication channel for receiver cidx adapter, we need to give URL details in target tab.that URL was provided
    by receiver Elemica gateway that is
                      PI Server to Elemica gateway (https://quality.connect.elemica.com:2345/invoke/gateway.b2b.xml/receiveChemXML).
      i need      Elemica gateway to PI Server URL ? How to get this URL to give elimica?
    Thanks

    Hi Raja,
                      1, For Response message they are asking URL from us . here sender adapter is  CIDX and receiver adapter is >IDOC. How can i find the URL for above scenario
    Here we have to give the partner address to which the adapter sends the CIDX Signal Message. (ask your partner for this address)
    For more information
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0222aba-0516-2c10-67a9-d8d37af83861&overridelayout=true
                      2, i think we can see the processed xml messages using tcode sxmb_moni.Is this processed xml msgs stored in xi >application server? if stored  how can we see those xmls msgs in App server?
    These details can be stored in the App server for a certain amount of time only. we can view these details in the SXMB_MONI only.
                      3, do we need to create data types,msg types, msg interface,msg mapping, interface mapping for response >msgs?
    Yes you have to create all the steps that are created for the request message.
                      4, if possible can you provide design and configuration simple steps for response msg. (i will be useful if you type >here)  
    Check this link for your referrence
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH  
    Regards
    Ramesh

  • Jar file for Java Mapping

    Hi All:
    Can any one send me the<b> .jar</b> or<b> ZIP</b> file that is required for Java Mapping.
    My email id is [email protected]
    <i>Will Rewards points for the quick response.</i>
    Thanks & Regards
    Farooq.

    Hi Amir,
    I know this paath, but I dont have an access to access that dir. So just form test purpose (NWDS) I need that .jar file. If you send it that will be great for me:)
    Thanks
    Farooq.

  • Iview Transaction with Windows GUI send "waiting for response"

    Hi all,
    I Have EP 7.0 with SP21
    I create a sap system to connect to R/3.
    Create a transaction iview.
    Whenever I preview the iview the SAP gui opens. But it gets hang with message "Waiting for response".
    I am using windows gui for transaction iview.
    I am able to log in to the SAP independently for machine. Also user mapping is also fine.
    When I am using HTML gui for transaction iview, it works perfect.
    Can you please support me on the same ?
    Regards,

    Hi,
    You need to install SAP GUI software in every clinet machine, if any one trying to access the Tranction ivew with SAP GUI option, if it HTML option it is not required
    Pls go thr below link it will help you
    SAP transaction iview.....Issue
    Thanks,
    Sreeni.

  • Task response and dependent task on response mapping

    Hi All,
    I am using OIM 10g. I was wondering if anybody has a query which gives task response vs dependent task on response mapping.
    For example if Tasks A's response is Success C then on that I will run Task B so the query should return all these three element.
    Thanks in advance.

    Hi,
    You can use this query as per you requirement,
    select pkg.pkg_name, mil.mil_name, rsc.rsc_data, rsc.sta_key, sta.sta_status, sta.sta_bucket, mil2.mil_name
    from pkg pkg, tos tos, mil mil, mil mil2, rsc rsc, sta sta, rgm rgm
    where pkg.pkg_key = tos.pkg_key
    and tos.tos_key = mil.tos_key
    and mil.mil_key = rsc.mil_key
    and rsc.sta_key = sta.sta_key
    and rgm.rsc_key = rsc.rsc_key
    and rgm.mil_key = mil2.mil_key
    and pkg.pkg_name = 'Exchange' -- Your application name
    order by pkg.pkg_name, mil.mil_name, rsc.rsc_data, sta.sta_status, mil2.mil_name.
    Thanks,
    Kuldeep

  • SPNego for user mapping

    Hi All,
    How to use SPNego for user mapping?
    Please tell me how to configure SPNego for USer Mapping?
    Kumar

    Update User Mapping ID api
    i followed the above thread and wrote the code in a java file as below
    IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();
    IUserMappingService umapser = (IUserMappingService)
    PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
    IUser userid = req.getUser();
    IUserMappingData iumdata = umapser.getMappingData ("System Alias", userid);
    Map map = new HashMap ();
    try {
    map.put("user","userid");
    map.put("mappedpassword","password");
    iumdata.storeLogonData(map);
    } catch (Exception e) {response.write(e.getMessage());}
    but problem is it is throwing compilation error for  IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();(getReques() cannot be used for the type classname)
    please help me in resolving this issue
    points will be rewarded for sure.

  • BAdI UC_DATATRANSFER for BCS Mapping in "Load from Data Stream" method

    Hello Everyone,
    I need some help on finishing up the code for the UC_DATATRANSFER BAdI.
    I have looked up in the SDN and other places, but could not get comprehensive breakdown of documentation except for the "F1" documentation available on the BAdI.
    So, any help would be appreciated.
    The Steps so far completed,
    1. Have activated the BAdI and have created the filter value for the BAdI.
    2. After the BAdI has been activated, I was able to go into the MAP method and have written the logic for profit center derivation from consolidation hierarchy.
    The issue is there are four components for the Map method,
    IT_DATA_SOURCE
    IS_DATA_TARGET
    ES_DATA_TARGET
    ET_DATA_TARGET
    The data is available from Source system in the table IT_DATA_SOURCE.
    But this is not changeable as it is "Importing" type. Whereas the actual ET_DATA_TARGET which is passed over into FINALIZE method of the BAdI is not filled initially.
    When I try to do a MOVE-CORRESPONDING from the IT_DATA_TARGET into ET_DATA_TARGET I continuously am getting the short dumps as both the tables length is not the same.
    Did anyone else face the same issue as above when trying to do the BAdI implementation for Mapping.
    I will really appreciate if any one can provide me a sample code if possible.
    Let me know if you need additional information.
    Thanks
    Dharma.

    Hello,
    Thanks for looking into the question.
    I already had tried doing that, I get the Short dump stating the object tables are not convertible.
    When I looked into the table structures, I found out that the table structures "IS_DATA_TARGET", "ES_DATA_TARGET" & "ET_DATA_TARGET" belong to the same category in terms of these structures being flat structures or tables of length 484 as per the debugger.
    Whereas the structure "IT_DATA_SOURCE" has the length 404.
    Due to this reason when I say,
    ET_DATA_TARGET = IT_DATA_SOURCE, I keep getting the short dumps.
    Also, is your consolidation process legal or managerial.
    Our Consolidation process is legal and we have the Company and Profit Center fields assigned to the Consolidation Unit role in the Data Basis definition.
    Can you please let me know what is the structures length in your system.
    Thanks
    Dharma.

Maybe you are looking for

  • Photoshop CS6 temporarily freezes

    Hello, Basically PS is freezing up temporarily, after 2-3 minutes then it becomes usaable again until it decides to feeze again. I do most of my editing in Lightroom, and only use PS because I like to just do soem finally touch ups if needed (bit of

  • ICal entries after transfer to palm tungstene2

    I recently purchased tungstenE2. Synchronizing it with my iBook was a breeze following apple help page. Problem is with entries in ical as they were visible in palm. Like kids school break shows up perfectly in ical but in palm whole period as two en

  • Backup with tandberg type

    i want backup oracle using tandberg type with rman i donnot know how to do it details: oracle runs 24/7 Does anyone have the idea?

  • JTable question/problem

    I am extracting data from 3 different database tables and I want to display the contents in seperate JTables, I am developing a table model class as a subclass of AbstractTableModel to be passed to the constructor of my JTable but because I will be c

  • Please help me in finding and downloading NW2004s SR1 from SAP SMP

    Hello Experts, Good day, I downloaded all the required files to install NW 2004s SR1 4 months back. But I didn't realize that I forgot to download main file i.e Master Installation file for SR1. Now when I am trying to download it from SMP, I can see