cancel
Showing results for 
Search instead for 
Did you mean: 

HTML code to ABAP in WD for OCI

Former Member
0 Kudos

Hello All,

How can I convert the below code in ABAP. The example below is what needs to be generated by the catalog engine, after the user is done with picking items in his shopping basket. But, this code is in ITS in HTML format and I need to accomplish similar task in ABAP. Kindly let me know how can I do this in ABAP.

<HTML>

<HEAD>

SAP Open Catalog Interface: HTML - Example

<BODY bgcolor="#DED6C2">

<FORM action="<%=Request.QueryString("HOOK_URL")%>" method=post target=_top>

<input type="hidden" name="NEW_ITEM-VENDOR[1]" value = "1768">

<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value = "648570">

<input type="hidden" name="NEW_ITEM-MANUFACTCODE[1]" value = "4711">

<input type="hidden" name="NEW_ITEM-MANUFACTMAT[1]" value = "4712">

<input type="hidden" name="NEW_ITEM-EXT_QUOTE_ITEM[2]" value = "">

<input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[2]" value = "">

<input type="submit" value="Transfer Items to B2B shopping basket" id=submit1 name=submit1><br>

</FORM>

</BODY>

</HTML>

Thks & Rgds,

Hemal

Edited by: Hemal Gandhi on Jan 11, 2010 7:27 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi ,

u donot need to create this code in webdynpro

in ur WDA ( transaction SE80) , create a View

go to the layout tab , right click on the Root Element Container and choose insert element .

create the similar layout as u have for ur HTML

in ur Context tab , create a context node and as many context attributes under it as there are input fields

bind the Value property of ur Input field to the context attribute

now ur layout is created ..

now create a application for ur application , choose test , and ur layout wud be dispalyed in a browser

choose View->Source ,u can see the similar HTML code

regards,

amit