Skip to Content
author's profile photo Former Member
Former Member

ABAP proxy related issue

Hi All,

Good morning,

i working with ABAP proxy to file scenario. the requirement for this scenario is we are fetching data from data base to internal table then using that table we have to write code and send data to xi. can give me past response that how to write code using internal table. i want only code related internal table not total code.

thanks for fast response.

regards

sai

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:16 AM

    Hi Sai komala,

    After genrating the Proxy, you can view the calss & structures genrated by proxy.You need to create an object with refrence of Class and to be create workareas for your Message type and Data type strucutres. Create an Internal table with your desired structure and do the validations as per your mapping rules.After completion of your all validations you need to populate your final internal table data to the structure of message type and call the execute asynchronous method.

    Have a look into following weblogs

    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2

    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy

    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

    TO debug u r proxy code, just like your normal R3 report program. put a breakpoint and execute the program , you can view the debugging of your proxy.

    Hope it will helps to solve u r probolem

    Cheers

    Veera

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:17 AM

    HI,

    Reer the weblog:

    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

    In the above weblog only one sets of data is filled in the strucutre if you wanted to fill more data then you need to use the loop statement and fill that internal table.

    Thnx

    Chirag Gohil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:45 AM

    Hi

    DATA:M_EMP TYPE ZMT_SRC_FILEABAP_CLIENT_PROXY,

    I_EMP TYPE TABLE OF ZEMPDETAILS,

    W_EMPD TYPE ZEMPDETAILS,

    W_EMP TYPE ZDT_SRC_FILEABAP_CLIENT_PROXY,

    S_EMP TYPE ZDT_SRC_FILEABAP_CLIENT_PROX1,

    T_EMP TYPE ZDT_SRC_FILEABAP_CLIENT_P_TAB.

    SELECT * FROM ZEMPDETAILS

    INTO CORRESPONDING FIELDS OF TABLE I_EMP.

    LOOP AT I_EMP INTO W_EMPD.

    W_EMP-EMPLOYEE_ID = W_EMPD-EMPLOYEEID.

    W_EMP-NAME = W_EMPD-EMPLOYEENAME.

    APPEND W_EMP TO T_EMP.

    ENDLOOP.

    S_EMP-EMPLOYEE = T_EMP.

    M_EMP-MT_SRC_FILEABAP_CLIENT_PROXY = S_EMP.

    Try with the above code.Finally Export M_EMP table.

    This sends the data to XI.

    Hope this code helps u.........

    Regards

    Yuga

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.