How can i write code in Inbound ABAP proxy method

Hi,
All
Iam doing server proxy ascenario
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
i have done
steps:
1:I have done inbound  proxy interface in xi
2:i have created a inbound abap proxy in my SAP WEB AS6.4 using SPROXY.
3:I need to write code in Z11_EMPDETAILS_IN~EXEXUTE_ASYNCHRONOUS method
if i double click on that method it is not opening how can I write code.

Hi,
You have to goto the class
<b>ZCL</b>_EMPDETAILS_IN~EXEXUTE_ASYNCHRONOUS not
<b>Z11</b>_EMPDETAILS_IN~EXEXUTE_ASYNCHRONOUS
Check on the third step.
Regards
Vijaya

Similar Messages

  • How can i write code inside methods.

    Hi,
       I am new to wbdynpro. How can i write code in Webdynpro?
    I have created one layout in that two textboxes are there. After entering the details when i click on the button the datas should be saved into the database table. How can i write code in this.
    please help me.
    Shyja

    Hi,
    First in context create node for 2 input field. Then disign layout for input filds and do data binding. Then create button and assign ON action event to it. In action method use wizard to read the values from the node.
    DATA: Node type REF TO IF_WD_CONTEXT_NODE,
    elem_node1 TYPE REF TO if_wd_context_element,
    stru_node1 type ZEMP.
    Node = wd_Context->get_Child_Node( Name = `S_NODE2` ).
    get element via lead selection
    elem_node1 = node->get_element( ).
    get all declared attributes
    elem_node1->get_static_attributes(
    IMPORTING
    static_attributes = stru_node1 ).
    INSERT ZEMP FROM stru_node1.
    If helpful reward points.
    Regards,
    Karthick S

  • ABAP Code for Inbound ABAP PROXY Creation

    Hi,
    Can anybody help me to create Inbound ABAP proxy programee, by using PRoxy.
    As interface is between PI and ECC.
    Through RFc setting i hv to accomplish it.
    If u provide psuedo code that would we be grateful.
    Regards
    Vivek

    Hi,
    Can anybody help me to create Inbound ABAP proxy programee, by using PRoxy.
    As i hv to fetch data from Pi/Xi, by using proxy,
    then i have to send it to SAP tables.
    If u provide psuedo code that would we be grateful.
    Regards
    Vivek

  • How can i write code for close my application

    Hi,
    I m doing one apps in which i have 2 option and Agree and Quit. When user press Quit then my apps should be close and direct to main page of iphone. My apps should terminate.
    So anyone know that how can i do that?
    Thanks.

    Thank friend......... thanks a lot.... its working.......

  • How can I write code that uses schemas returned by one query to run another

    I need to use the data returned by this SQL
    Select owner
    From dba_tables
    Where tablename = 'TRANSACT';
    To run the following SQL for every schema in the database:
    Select $vschema, count(*)
    from $vschema..transact;
    Where I am using $vschema as a variable to hold owners returned by the first statement.
    I have tried using 1 cursor, 2 cursors, 1 coursor and an execute immediate command and either my code fails or I get a message that it ran successful but I cant see the data that I want returned by the second query.

    I don't actually want to get the count on the transact table for each schema I just used that as an example to simplify... Maybe the code that I have written so far would be better... Here is one attempt:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    DECLARE
    v_schema Varchar2(50);
    v_chgdate DATE;
    v_debits NUMBER(14,4);
    v_amount NUMBER(14,2);
    /* First cursor */
    CURSOR get_schemas (v_schema OUT char) IS
    SELECT DISTINCT t.owner
    FROM sys.dba_tables t
    WHERE t.table_name = 'GERCVLOG'
    ORDER BY t.owner;
    /* Second cursor */
    CURSOR get_stats (v_schema IN char) IS
    SELECT MAX(g.chgdate),
    SUM(g.debits),
    SUM(g.totalamt)
    FROM &&v_schema..gercvlog g
    WHERE g.chgdate >= '01-Jan-07' or
    g.chgdate = (SELECT MAX(g1.chgdate)
    FROM &&v_schema..gercvlog g1);
    BEGIN
    /* Open first cursor*/
    OPEN get_schemas (v_schema OUT char);
    LOOP
    FETCH get_schemas INTO v_schema;
    EXIT WHEN get_schemas%NOTFOUND;
    dbms_output.put_line('Schema: '||v_schema);
    OPEN get_stats (v_schema IN char);
    LOOP
    FETCH get_stats INTO v_chgdate, v_debits, v_amount;
    FETCH get_schemas INTO v_schema;
    EXIT WHEN get_stats%NOTFOUND;
    dbms_output.put_line('Latest Import: '||v_chgdate);
    dbms_output.put_line('Total Debits: '||v_debits);
    dbms_output.put_line('Total Dollars: '||v_amount);
    dbms_output.put_line('______________________________');
    END LOOP;
    CLOSE get_stats;
    END LOOP;
    CLOSE get_schemas;
    END;
    /

  • How can i write the EPCF

    I want to wrtie some ECPM code
    but I don't know how can i write code in IViewo
    How to install or enable EPCF development enviroment
    Where should i write the EPCF code?

    Hi,
    Try this link for EPCF:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enterprise portal client.pdf
    <b>Regards,
    Sai Krishna.
    PS: Plz do assign points if it helps. ;-)</b>

  • How can i write the below code using "For all entries"

    Hi
    How can we write the below code using "for all entries" and need to avoid joins...
    Please help
    SELECT aaufnr aobjnr aauart atxjcd a~pspel
    agstrp awerks carbpl cwerks
    INTO TABLE t_caufv
    FROM caufv AS a
    INNER JOIN afih AS b
    ON aaufnr = baufnr
    INNER JOIN crhd AS c
    ON bgewrk = cobjid
    AND c~objty = 'D'
    WHERE ( a~pspel = space
    OR a~txjcd = space
    OR NOT a~objnr IN
    ( select OBJNR from COBRB AS e
    WHERE objnr = a~objnr ) )
    AND a~werks IN s_plant
    AND a~auart IN s_wtype
    AND NOT a~objnr IN
    ( select OBJNR from JEST AS d
    WHERE objnr = a~objnr
    AND ( dstat = 'A0081'OR dstat = 'A0018' )
    AND d~inact 'X' ).
    Reward points for all helpfull answers
    Thanks
    Ammi.

    Hi,
    SELECT objnr objid aufnr
            from afih
            into table t_afih.
    SELECT objnr
            from JEST
            into table t_JEST
            where stat = 'A0045'
               OR stat = 'A0046'
               AND inact 'X'.
    SELECT objnr
            from COBRB
            into table t_cobrb.
    SELECT arbpl werks objid objty
          from crhd
          INTO table it_crhd
          FOR ALL ENTRIES IN it_afih
          WHERE objty eq 'D'
          AND gewrk = it_afih-objid.
    SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
            FROM caufv
            INTO table t_caufv
            FOR ALL ENTRIES IN it_afih
            WHERE aufnr = it_afih-aufnr
              And pspel = ' '
              AND txjcd = ' '
             ANd objnr ne it_crhd-objnr
              AND auart in s_wtype
              AND werks in s_plant.
             AND objnr ne it_jest-objnr.
    dont use NE in the select statements, it may effect performance also. Instead use if statements inside
    loops.
    loop at t_caufv.
    read table it_chrd............
      if t_caufv-objnr ne it_chrd-objnr.
      read table it_jest..........
       if   if t_caufv-objnr ne it_jest-objnr.
        (proceed further).
       endif.
      endif.
    endloop.
    hope this helps.
    Reward if useful.
    Regards,
    Anu

  • How can we write the code for opening the command prompt and closing the

    how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)

    rakeshsikha wrote:
    how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)?

  • How do i write UTF convertor in ABAP  sample code for ABAP please

    How do i write UTF convertor in ABAP
    Regards,
    Jagrut BharatKumar Shkla

    you want to convert a string to utf format?
    try this code
    app_type = 'text/xml; charset=utf-8'.
    call function 'SCMS_STRING_TO_XSTRING'
      exporting
        text     = xml_string
        mimetype = app_type
      importing
        buffer   = xl_content.
    concatenate  cl_abap_char_utilities=>byte_order_mark_utf8
                 xl_content
                 into xl_content in byte mode.

  • How can i write a code to get sume of value from days.

    Hi,
    how can i write a code to get the sum of value of days(example 1 to 30).
    This is in BPS ...
    i created multi planning area and creted planning function with {keyfigure name,planning area,days}.
    now i want to read all the actual values  from basic planing area(basic cube) and calculate the sum of the value.if you have idea can you share the code.
    ENTRIES = VARC ( 'zvardays' ).     ex(zvardays like 28 days or 29 days or 30 days or 31 days)
    COUNT = ENTRIES.
    *Get the all the days value from actual
    FOREACH PAREA = 'basic planning area'.
      COUNT = 1.
    DO
         SUM = SUM + {amount, count}      (amount is a keyfirgure value)
    ENDDO.
    COUNT = COUNT+1.
       SUMACT =  SUM.
    ENDFOR.
    can you correct the above code ....to read the values and sum of the those value.
    Thanks...

    Hi ..
    That is ok..
    Can you provide sample code for my requirement..
    and also how can i pass the error message (can you help me syntax )
    and if my acutal-total  is not equal to plan-total  then
    i have to pass the error message and then  i have to restrict save the data  how i can i restrict(user can not save the data until the values should be equal) .
    Can you help me it is very urgent..
    thanks.//
    Edited by: Eyda rose on Jun 4, 2008 9:29 PM

  • How can I write HTML code in this forums

    Sorry but I didn't know where to post this thread.....
    How can I write HTML code in this forums?

    Hello,
    Every piece of code in your post should be wrapped with the forum tags [ code] and [ /code], without the blanks.
    In case of the &lt;a> tag, that is not enough. In this case, you have several options. The most elegant one is to use the entity name for the less-then sign - & lt; - without any spaces. Other options is to add a space between the less-then and the ‘a’ character (and make a note of it) or change the less-then character with a left bracket one.
    When posting code, you should always use the forum preview option, just to make sure the forum software “understood” your code correctly.
    Hope this helps,
    Arie.

  • How can i write this C-Code in G-Code

    hallo
    how can I write this C-Code in LabVIew ,
    for a=0; a=<10; a++
       for b=0; b=5 ; b+2
            X= 3+b;
      Y=1+a;
    please see the attachment and tell me where is the problem
    Attachments:
    Unbenannt 11.vi ‏43 KB

    Well, at least you tried and got some of it right.
    I think this should do what you want, but my C is rusty. Is the increment performed before or after the loop executes? If it's after, then I believe the loop should iterate 11 times, not 10.
    In any case, you should note that for a literal translation, you would need to add a sequence structure to guarantee that Y was written to only after the inner loop finished because of the way data-flow works.. Also, note that controls and indicators in LabVIEW are not equivalent to variables. They can be used as such, but they usually should not be.
    Another point about this is that you probably want to use the correct data type - the orange terminals are floating point indicators (of double precision, in this case) and you want integers.
    To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
    Try to take over the world!
    Attachments:
    C.png ‏4 KB

  • How can I write the analogous code to the logic:iterate tag functionality

    Hai This is Rayalu .And I am very new to the Java World. I have a doubt?.How can I write the analogous code to the<logic:iterate> tag functionality using the JSP Tag Libraries . Pleae Send me some examples .

    Hi,
    SELECT objnr objid aufnr
            from afih
            into table t_afih.
    SELECT objnr
            from JEST
            into table t_JEST
            where stat = 'A0045'
               OR stat = 'A0046'
               AND inact 'X'.
    SELECT objnr
            from COBRB
            into table t_cobrb.
    SELECT arbpl werks objid objty
          from crhd
          INTO table it_crhd
          FOR ALL ENTRIES IN it_afih
          WHERE objty eq 'D'
          AND gewrk = it_afih-objid.
    SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
            FROM caufv
            INTO table t_caufv
            FOR ALL ENTRIES IN it_afih
            WHERE aufnr = it_afih-aufnr
              And pspel = ' '
              AND txjcd = ' '
             ANd objnr ne it_crhd-objnr
              AND auart in s_wtype
              AND werks in s_plant.
             AND objnr ne it_jest-objnr.
    dont use NE in the select statements, it may effect performance also. Instead use if statements inside
    loops.
    loop at t_caufv.
    read table it_chrd............
      if t_caufv-objnr ne it_chrd-objnr.
      read table it_jest..........
       if   if t_caufv-objnr ne it_jest-objnr.
        (proceed further).
       endif.
      endif.
    endloop.
    hope this helps.
    Reward if useful.
    Regards,
    Anu

  • How to get Messageid in Inbound ABAP Proxy ?

    Hi,
    Please advise how to get messageid in Inbound ABAP Proxy, so far i could not find anythings most of the forum discuss about "How to get messageid for Outbound Proxy).
    Thank You and Best Regards
    FL

    Hi Fernad,
    By using below code you can take message id.
    java.util.Map map = container.getTransformationParameters();
    return ((String) map.get(StreamTransformationConstants.MESSAGE_ID));
    Create one simple UDF by using above code and map this to one field (you may create one dummy field for this). Then at runtime the mapped field contains the message id.
    Regards,
    Venkata Ramesh

  • How to use Java code inside WebDynpro-ABAP

    Hi,
        How to use Java code inside WebDynpro-ABAP.
    Could any one provide sample code.
    Cheers,
    Sam

    Hi Sam,
    We can't Bring Java Inside the ABAP. Both are running in different Environments.
    and also ABAP Codes are runs on BASIS.
    -Basis is a middleware between ABAP codes and Ur OS.
    -Contains set of programs to load,RUN,intepret the ABAP program..
    So Both are Different.
    Regards,
    Ramganesan K.

Maybe you are looking for

  • Word/Excel 2013 Hangs when trying to open mapped drive

    Issue:  when opening up a document from a shared drive, microsoft word will freeze. This also happens with excel.(the freezing occurs right as you try to browse to "My Computer" you can browse anywhere else and it will not freeze)  I have tested this

  • Winhttp 5.1 error on Windows 2008 R2

    Hi,  I have a VB Script that uses WinHttp.WinHttpRequest.5.1, it runs fine on Windows 7x64 and Windows 2003, but dies a horribly on Windows 2008R2.   I tried the STACKOVERFLOW suggestion of re-registering the dll, but that did not work.  After many f

  • The apps wont open but are fully updated in the creative cloud manager menu, how do I get them to open?

    the apps wont open but are fully updated in the creative cloud manager menu, how do I get them to open?

  • How does Vault Update - all or only altered data?

    With a vault already established, how does the update vault process works? In other words, let say I modified or created 10 image versions (of the 3,000 plus stored in Aperture). If I update the valut (on a external HD), are all pictures overwritten

  • Logic and Superior 2.0!?

    Hello everyone! Trying to find out if anyone here uses Superior 2.0 or EzDrummer for recording with Logic or GB09?! Want to find other user's on here to share,give,ask advice learn how to use any of this software any better!