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

JDBC Scenerio.

hi guruz,

i want to insert the data into a table from a file.

when i am doing meassge mapping , i need to give the the action as "INSERT" .

how i will know the constant properties window to give this insert.

pls help me.

warm regards.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Posted on Aug 08, 2008 at 10:57 AM

    U have to provide action property as constant. See this

    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm

    Regards,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 08, 2008 at 10:59 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 08, 2008 at 11:01 AM

    Dear Pawan,

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC&

    Go through the above link. You can solve your problem.

    Regards,

    Jagan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 08, 2008 at 11:09 AM

    Hi Pawan,

    while designing the message mapping..

    create a target structure as follows

    <root>

    <StatementName1>

    <dbTableName action=u201DINSERTu201D>

    <table>realDbTableName</table>

    <access>

    <col1>val1</col1>

    <col2>val2new</col2>

    </access>

    where in action part we have to map a constant naming INSERT to that constant and map to action element.and for the table element also do like this only..i mean take a constant and name it as table name and map to the table element.so that in runtime query will get executed.

    Pls award marks if found useful.

    Thanks

    Hamja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 08, 2008 at 11:43 AM

    in Message Mapping ,

    click in Constant in Mapping Editor

    now double click in Constant and give "INSERT". ...

    now assign this to Action Attribute

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2008 at 10:50 AM

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC&

    hope this link helps.

    Regards,

    Parvathy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2008 at 10:55 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 11:25 AM

    Double Click on CONSTANT to get Constant Properties Window..

    there u just give "INSERT". and press ok....

    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.