Creating OCI in Webdynpro ABAP

Hi Friends,
We are planning use OCI external catalog for adding items to the shopping cart. I am creating WDA application which will act as the external catalog.
In my application I am able to read the Hook_url and other parameters of the OCI configured. I got stuck in returning the hook_url by posting the html page back to SRM shopping cart which should be like below.
<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 = "">
</FORM>
</BODY>
</HTML>
Is this acheivable using webdynpro ABAP? If so how we can do this?
Thanks in advance.
Regards,
Prabhuraj

Hello Vikas,
I am having the same kind of requirement. We are creating Web dynpro abap component as external Catalog. When user enters or selects some kind of materials in external catalog (custom wda), the data should be returned back to Shopping cart.
I have HOOK_URL value with me, which when i call, goes back to "Create Shopping cart" screen.
How to send the data to SC screen.
I donot have the document which was referred in this post and I am unable to navigate to the link mentioned by you.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bc9fa090-0201-0010-fbbf-82e1f38cd2e1?quicklink=index&overridelayout=true
Please give me a copy of document, so that i can proceed further with my requirement.
Thanks,
Guru Sane.

Similar Messages

  • How to create Radiobutton in webdynpro abap

    Hi experts,
    I am new to webdynpro abap.I have been given 1 scnario in webdynpro abap to develope:the scnario is as follows:
      In first screen there are n no of user are present, i hv to select any user using radiobutton then that user will  able to write some text or message in second screen or view( i hv to decide where user can write text or message).similarly other user which has been selected by radiobutton will able to write text in screen or view belongs to them respectbly. Then if user click on save or delete button the text should be saved or deleted from ztable.
                                                      I think i hv to create TEXTVIEW or TEXTEDIT so that respective user can write text or message in their view or screen. Please suggest me how to prossed.How to create TEXTVIEW & TEXTEDIT & what is its use.
    Secondly please give me steps to create Radiobutton in webdynpro abap.
    Thanks In advance,
    Sanjay

    Hi,
    Refer the Standard comp : wdr_test_events . View - Radiobutton.
    SAP Online help : http://help.sap.com/saphelp_erp2005/helpdata/EN/c0/e8884118aa1709e10000000a155106/frameset.htm
    For TextView and TextEdit :
    Refer this  : http://help.sap.com/saphelp_erp2005/helpdata/EN/6a/a6884121a41c09e10000000a155106/frameset.htm.
    This will give a clear idea with diagram about both these UI element.
    Edited by: Saurav Mago on Aug 21, 2009 8:35 AM

  • Getting prob while creating view in webdynpro ABAP application

    Hi Guys,
    I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
    can anybody let me know how to solve this problem.
                   Thanks In Advance
    Regards
    Ravikumar

    I think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
    Please reward if useful.

  • Issue on Creating RFx in webdynpro ABAP application - SRM Business Package

    Hi
    We are in to SRM 7.0 with the same version of Business Package in SAP Portal also.
    I am trying to create a RFx from Portal which in turn calls the webdynpro ABAP application (Strategic Purchasing->Strategic Sourcing->Create Documents->RFx)
    sap/bc/webdynpro/sapsrm/wda_l_fpm_oif.
    This Application has some button called "Tech RFx", "Permissions" etc., When I click on those buttons it throws the error as below :
    "There is no iView available for system "SAP_SRM": object "TechResp". For more information, contact your administrator."
    Please let me know where we are missing. I have checked all the Portal permissions. Even I can able to access all other iviews except this two buttons.
    Any settings or parameters required on webdynpro ABAP side.
    Regards,
    Raja.J

    Dear Raja,
    this behavior occurs if the IView com.sap.pct.srm.gp.iv_tech_resp
    is not assigned to the role which is assigned to the user.
    Please assign this IView to the desired user.
    Here are the steps to follow in your systems:
    STEP 1: Login to the Portal with Content Admin Authorization.
    STEP 2: Navigate to Portal Content -> Content Provided by SAP ->
    specialist -> SRM7.0 -> Core -> Roles -> Open the desired role and
    choose Navigation Folder.
    STEP 3: Now navigate to Portal Content -> Content Provided by SAP ->
    specialist -> SRM7.0 -> PPS -> iViews -> Tendering -> Select Tech
    Responses (Technical name is iView com.sap.pct.srm.gp.iv_tech_resp) and
    right click and choose 'Add iView to Role' -> Delta Link and save.
    STEP 4: Log off and login with the user and check the issue.
    Best regards,
    Tamas

  • Error when the time of create apllication in webdynpro abap

    hi,
      when i am trying to create apllication for webdynpro component it shows the error message like
    'you are not authorized to use transaction sicf '   in the status bar .  what is the problem and how can avoid this issue.

    Hi Babu,
    You are not authorized to use SICF tcode in development client. So try to create Webdynpro application in testing client where u have authorization for this tcode.
    Because whenever you create a webdynpro application, Internet Communication Framework (ICF) services for that application has to be maintained.since you are not authorized to access SICF it fails to do the same.
    For more information refer the below link
    [http://help.sap.com/saphelp_nw70/helpdata/en/46/d28dfa34bb12bee10000000a1553f7/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/46/d28dfa34bb12bee10000000a1553f7/content.htm]
    I hope this will help you.
    Regards,
    Rama

  • Creating viewset in webdynpro(abap)

    Hi all,
           in my project i want a single window(view) and in this window i want to embed 4 views.I read somewhere that i need to create a viewset since i am new to this
    could you all please help me out...Thanks

    Hi Urbashi Dewan  ,
                             Create Your 4 view separetly, then on the view in which you want to embed ather view, insert view container Ui element as much u want, ie if u want to embed 2 view then insert 2 view_container. then go to window, map the base view, now it will display all the view container in that view, then right click in each view container and embed your required view.
    Thats all
    Regards
    Sarath

  • Returning OCI hook_url to SRM shopping cart in Webdynpro ABAP

    Hi Friends,
    We are planning to use OCI external catalog for adding items to the shopping cart. I am creating WDA application which will act as the external catalog.
    In my application I am able to read the Hook_url and other parameters of the OCI configured. I got stuck in returning the hook_url by posting the html page back to SRM shopping cart which should be like below.
    <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 = "">
    </FORM>
    </BODY>
    </HTML>
    Is this acheivable using webdynpro ABAP? If so how we can do this?
    Thanks in advance.
    Regards,
    Prabhuraj

    Re: Creating OCI in Webdynpro ABAP

  • Webdynpro ABAP based Iviews personalisation

    Hi,
    Can you please confirm if the right click +control option to personalise the iview method could be used for the iviews created out of webdynpro abap as well. or this method is only applicable for webdynpro java based iviews.
    Rgrds,
    Saket Kumar

    Hi,
    Kiran is right, you have certain approaches for personalization/customizing a WD4A. In the link he pointed you to, there already are two of three: End user Personalization and administrative Personalization (sap-confiq-mode=x). However, I advise you to use the way of component and application configuration as these are valid system-wide. Administrative Personalization only is valid client-wide.
    I would advise you to go through this WD4A tutorial:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c
    best regards, Lukas

  • Apply custom themes to WebDynpro ABAP application in Portal

    Hi,
    We have just upgraded the E-Recruitment to EHP4. We have two instances of ECC in which one acts as HR instance and the other one for E-Recruitmet. We have created custom themes for portal and need to apply the same for the WebDynpro ABAP applications for E-REcruitment. I have downloaded the theme and from portal and uploaded the same in MIME folder using SE80 transaction. I have also added the parameter sap-cssurl=/sap/public/themes/<my custom theme folder name>.
    Also tried giving the url in application parameter as
    SAP-EP-THEMEROOT=http://<hostname>/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/customer/<custom theme>
    Is there any other way to apply themes for WD ABAP applications. I dont want to customize the standard applications and just want to apply the themes.
    Any suggession on this is highly appreciated.
    Kind Regards,
    Vivek.

    Hi,
    to create theme for webdynpro abap application, use Eclipse Plugin.  Please remeber to check the version of theme file before using theme.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d5ef40-465e-2c10-9ca9-f548bfc3f236
    setup custom theme for webdynpro abap application.
    FEATURED EVENTS
    Regards
    Baby

  • Webdynpro ABAP Reporting

    Hi All,
          Is it possible to create variants in webdynpro abap reporting.If it is possible how to create varitants in webdynpro reporting like normal reports in abap?
    Thanks in Advance.

    Hi Raji,
    In Web dynpro we don't have variants like in traditional dynpro. However there is a new and similar concept called Application Customization:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/83/61a042f036c46ae10000000a155106/frameset.htm]
    Appreciate if its helpful.
    with Regards,
    Anita Vizhi Arasi B

  • Create PMD (Clinical Document) Document from Webdynpro ABAP

    Greetings everyone,
           I have developed two PMD document category(Tcode :N2T6 ) for Clinical documents in SAP R/3 and somehow with the limitation of R/3 in terms of developing user friendly screens like Auto fill and image processing etc...,Users do not satisfy with it.So we are planning to develop in Webdynpro ABAP.But i am not sure how do we integrate the webdynpro development with IS-H PMD (clinical documents) documents ,also I am looking for BAPI's to create our customized parameterized documents.Any help will be really appreciated.
    Thanks,
    Vignesh

    Hi Vignesh,
    You are right that certain features, such as auto-completion, are not supported in the PMD toolset. But as most of the data captured in those documents have a high importance for treatment process, you need to elobarate whether such a feature has any impact on patient safety. Just a quick one - user types An ... and the system determines matching diagnoses such Anorexia or Angina. In case the user picks the wrong one by accident the patient safety is an issue.
    Other features such as image management can be used. For that you need to use a PMD link module which does provide the image integration. Siemens will ship in the next release EhP6 such a link module for a third party imaging software. Beforehand the link module use with custom development.
    In general Siemens has started a product redesign program named "Smart UI". It's major aim is to provide an up-to-date user interface for all major application within i.s.h.med. The very first application we plan to ship is a web-based electronical medical record.
    In case you still want to develop your application, I'm sorry to say, but there are no BAPIs or Web services in the standard delivery. For changes to existing documents you can utilize the PMD API of generator version 2. But be aware that document creation is not supported by the API. You need to have a document. Also certain user exit developments may brake a change without having the GUI running. For instance a popup in the save routine will cause a dump if no SAP GUI is available.
    Hope this help.
    Axel Biernat
    Siemens AG
    Product Commercialize

  • Is there any way to create a folder in presentation server - webdynpro abap

    Hello,
    My requirement is to create a folder in presentation server using webdynpro abap..
    I tried on this CL_GUI_FRONTEND_SERVICRES classes ..but its getting an short dump.
    Is there any way to create folder using classes / FM..
    Regards,
    Praveen kumar reddy s.

    Hi PRaveen,
    Check this.. WD_TEST_APPL_ACFEXECUTE
    Check Thamos article..
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    go for help..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on May 10, 2011 2:24 PM

  • DMS Document not getting created thru Webdynpro ABAP Strange Problem

    Dear all,
    My requirement is that I have a Webdynpro ABAP application sitting on SAP Server1 and I am having a FileUploadUI Element in there for uploading files and we have SAP Server2 with the DMS configured. So, what we have done is we have an RFC in SAP Server2 and we are calling it from our webdynpro ABAP application sitting on SAP Server1. And we are calling BAPI_Create2 with all the necessary parameters in this RFC to create the DMS document with the file from webdynpro ABAP application. But its not working. I am passing the Presentation Server File Path of the File to the BAPI_create2.Even if I write the file to the application server of SAP Server2 and then pass this file path to the BAPI_Create2 then also it doesn't work but when I execute this RFC locally in the SAP Server2 with the presentation server file path It executes successfully.
    I don't know what I am missing.
    Please help.
    Thanks and regards,
    --Sonal

    Dear Thomas,
    Suppose I have got the file copied to the application server in SAP Server2 using datasets from WDA in SAP server1.
    Now I have an RFC say ZFILE_UPLOAD in SAP Server2 for which we have made an SAP ABAP RFC Connection from SAP Server1. In this RFC I am calling BAPI_create2 using the application server filepath(of SAP Server2) in docfile parameter along with ur suggested destination then also it doesn't work. Gives an error that "error in storing and checking file" i.e. Error 253.
    One more query how to handle the file upload of different file types say I am uploading a pdf file from my webdynpro abap application in SAP server1. Then I get the xstring and pass it to ZFILE_UPLOAD and convert it into binary and write it there in SAP Server2 using datasets. Is it possible to upload any kind of file and then creating the DMS document out of it?
    and how to call this RFC?
    Thanksn and regards,
    --Sonal

  • Creating attachment in Webdynpro for ABAP

    Hi Expertrs,
                      I am new to webdynpro for ABAP. I have a requirement like I need to create an attachment in webdynpro screen. I have searched the forums and I got the class CL_GOS_SRV_ATTACHMENT_CREATE and method EXECUTE_ITS. but when I call this method I am getting dump in the method.
    Can anybody please suggest me how to create attachment in webdynpro for ABAP?
    When ever attachment is created and clicks on save button workflow will be triggered and a workitem appears portal when ever the user click on the display attachment I need to display the created attachemnt.
    Please suggest me.
    Thank You.
    Ranganadh

    Hi,
    Please follow the steps below;
    Follow these steps;
    1.create a node 'FILEUPLOAD' with 2 attributes
    a) FILECONTENT type XSTRING
    b) FILENAME type STRING
    2. Create a fileuplaod uielement
    a) bind the data property with attribute 'FILECONTENT'
    b) bind the filename property with attribute 'FILENAME'
    3. Create a button 'UPLOAD'
    a) create the action method for this button
    Paste the following code in this method
    Data l_node type ref to if_wd_context_node.
    Data l_stru type wd_this->elements_cn_fileupload.
    l_node = wd_context->get_child_node( 'FILEUPLOAD' ).
    l_node->get_static_attributes( importing static_attributes = l_stru ).
    "save l_stru-fielcontent in database. Your file will be saved in the database in XSTRING format.
    Now when you want to display  this file;
    1. Create a Node 'FILEDOWNLOAD' with 1 attribute
    a) FILE type XSTRING
    2. Create a filedownload uielement
    a) bind the data property with the attribute 'FILE'
    Fetch the file from databased and set the File attribute of teh filedownload uielemnt to display the file.
    Hope this helps!
    Radhika.

  • How to create a table to use in webdynpro ABAP

    Hi Guys,
    Can anybody let me know how to create a table to use in webdynpro ABAP. I am new to ABAP. It would appreciable if i get useful answer.  Thanks In Advance
    Regards
    Ravi

    Hi! You can use transaction code SE11.  Please refer to http://help.sap.com/saphelp_nw70/helpdata/en/6c/f2934259a5c66ae10000000a155106/frameset.htm
    Please note that table name should start with 'Y' or 'Z' - by SAP naming conventions object names starting with 'Y' and 'Z' are reserved for customer application development.
    Please reward points if helpful

Maybe you are looking for