Webdynpro with abap

Hi All,
How to pass local parameters between views in webdynpro abap ?.....plz help me..
Edited by: charan143 on Nov 11, 2011 5:53 AM

In Componenet controller, attributes tab declare a variable.
Assign this varible the value from view A. Fetch this variable from component controller in View B .
Use the below code for assignment:
Let gv_x be the variable declared in attribute tab of component controller
View A (Method):
DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
       lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
       lo_componentcontroller->gv_x = 'X'.
View B:
DATA: lo_componentcontroller TYPE REF TO ig_componentcontroller,
             Y    TYPE string.
       lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
       Y  =   lo_componentcontroller->gv_x .

Similar Messages

  • IDES ECC 6.00 WEBDYNPRO with ABAP-

    Hi ,
    I have Install IDES ECC 6.00 on my own Desktop for personal use.
    Now i want to go for WEBDYNPRO with ABAP.
    So please let me know need to install any other s/w or tools?
    Wait for prompt Reply.

    Hi,
    Please check for the installation procedure of WDA in the SAP Basis or Netweaver Forum.
    You can find the related threads in that forum.
    Regards,
    Lekha.

  • WebDynpro with ABAP or JAVA?

    Hi all,
    I am a veteran in ABAP. I wish to learn web dynpro. I never worked on JAVA. Can anybody advice me which programming language i should use to learn WebDynpro development. Also let me know which companies have webdynpro projects in India?
    Thanks in advance..

    Hi Buddy,
             Welcome to intresting world of Web Dynpro.
             As veteran ABAPer you should go for WebDynproABAP .
             Now why ?
    Point 1:
    In my view WebDynpro ABAP and Wd Java are not same.
    Basically WebDynpro ABAP and Java are two different webDynpro provided by NetWeaver Stack.
    Basic conceptual base of WD ABAP and WD Java is same.I mean to say concepts like Context binding , node , elements , Layout both support are same.
    But when you provide background functionality to your Web Screen then Java or ABAP come in to picture.Just take case , you want do some thing on click of some button then
    1) in case of java may you will call some ejb or you will may write some java code on click.
    2) but in case of WD ABAP you have to do same thing with ABAP classes . You will call some call or some method of some system defined class.
    Ulimately point I want make
    1) WD ABAP and WD java 's Base is same but you code in completely different way.
    2) Purpose for which SAP came with two different WDynpro is different. Java can be used for developing quite sophistcated Web services.
    Point 2:
    another help for you .Just go thr' following thread
    How much of oops ABAP is required for ABAP Webdynpro .
    Point 3:
    You can start with tutorials and all
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

  • ABAP webdynpro with interactive form - launching failure

    We are doing some prototype in the solution manager box using ABAP webdynpro and Adobe Interactive Form. I created a webdynpro with a very simple Adobe form embedded in an view.
    But when I test the webdynpro, I got the following error page in internet browser, any idea?
    Error when processing your request
    What has happened?
    The URL http://md1as086.medimmune.com:8001/sap/bc/webdynpro/sap/z_wd_bookflight_gebo/ was not called due to an error.
    Note
    The following error text was processed in the system SMT : WebDynpro Exception: ADS: Request start time: Tue Mar 06 11:53:06 EST 2007(200.101). ?ꯂ.RuntimeProcessor.process(RuntimeProc
    The error occurred on the application server MD1AS086_SMT_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SMT in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server MD1AS086_SMT_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server MD1AS086_SMT_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: CHEUNGJ -l: E -s: SMT -i: MD1AS086_SMT_01 -w: 0 -d: 20070306 -t: 115305 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hi,
    Is you ADS Configured ?
    Check that out.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Not able to integrate Payment Gateway with WebDynpro for ABAP

    Hi,
       I am not able to integrate the Payment Gateway for Billdesk ( third party software) with Webdynpro for ABAP.
    Summery of the Issue : -
    (*) Data from PORTAL Application to PAYMENT GATEWAY is going Correctly but
    (*) Data from PAYMENT GATEWAY to PORTAL Application is not going correctly.
    Details about the Problem : -
       I have created 3 View in Webdynpro Application for ABAP.
    View 1 -> Sales Order
    View 2 -> Confirm Order
    View 3 -> Success Message
    When I am on the View 2 i,e Confirm Order, I have a UI Element ( LINK TO URL) on this View. When I click on the Link it successful takes me to the Bill desk site(Payment Gateway Integrator).After selecting the Card Type - > Master card, or Visa or Amex, I am routed to the Gateway Site of the Citibank, Where I have to enter the CARD details like Card Number, CVV Number, Expiry Date, and press the Submit Button.
    Which now takes me to the final confirmation site, stating
    1) Order Number
    2) Bank ID
    3) Merchant ID
    4) Amount
    5) Authorize ( APPROVED / NOT APPROVED)
    Now once i click on the Submit button, It transfers the amount of the Customer to my bank account, correctly and goes back to the my portal application.
    Till here it is working correctly, but 1 parameter is missing which is called "msg", and this parameter contains important information regarding the payment. This parameter is sent back form the Gateway Site to my Portal.
    1) Authorize STATUS
    2) Check Sum
    etc... which will be finally required to decided whether I should go on to create the Sales Order for the Customer or not.
    If the Authorize Status = '0300' then only create the Sales Order other wise if the status is any thing else lets say not equal to '0300' then gives the message that the Credit Card is not authorize to process the Sales Order.
    Regards,
    Saurabh Bhatnagar
    E : [email protected]

    Dear Sir,
    we are implementing Retail  POS (Point of sale) for one retail company. We need to integrate third party payment gateway.
    it's name is PLUTAS. We have got developer kit from Plutas (For trial ) . we have installed that kit in our system.
    In my program, I am triggering " PL_TriggerTransaction" using call method. After triggering method it executes method, control passes to third party software. But I am not able to catch return parameter (Responce).
    So  that would be great if you help me out with this issue.
    I wrote following code.
    REPORT  ZTEST678.
    INCLUDE OLE2INCL.
    data : rc_plutus type ole2_object,
    lpszTransData type string, 
    lTxnType type char4,
    lpszTransData1 TYPE string,
    ret_string  TYPE string,   
      l_count TYPE i,
      l_time TYPE sy-uzeit.
      rc_gui type ref to CL_GUI_CONTROL.
    lTxnType = '4001'.                        "----
    transaction type
    lpszTransData = '1234567'.          " -
    trasaction data
    *create object rc_gui.
    create object rc_plutus 'PLUTUSEXCHANGE.EXCHANGEOBJ'(001) no flush. "no flush ."queueonly.
    call method of  rc_plutus  'PL_TriggerTransaction'(002) = lpszTransData1
    exporting
      #1 = lTxnType
      #2 = lpszTransData.
    wait up to 20 seconds.
    write:  ret_string.                        " <----
    Value is not coming
    write:  lpszTransData1.            " <----
    Value is not coming

  • The new features avilable in webdynpro for abap with EHP5

    Hi,
    Currently our ECC 6.0 is upgraded with EHP5 from EHP3.
    Could anyboy tell me the new featues available in webdynpro for abap for this EHP5. If i develop WDA objects in  EHP3 environment and transport it to new system with EHP5 . What would be the problems i encounter. kindly suggest me..
    thanks,
    Raghu

    I would expect in any case that there is no problem when you transport WDA build from ehp3 to ehp5 (Backward compatibility ).

  • Tools to upload data into SRM 7.0 with webdynpro for ABAP

    Hi,
    Webdynpro for abap is used in SRM70.
    I need to load data in SRM70 (product category...).
    ECATT is not working with web dynpro for abap.
    What other tools can i use to load data in SRM70 ? LSMW ?
    I would like to avoid to create a Z program to load data into SRM70...
    Thanks,
    Kind regards,
    Yann

    Hello Yann.
    welcome . we read your wonderful threads and they are useful to coomunity forever.
    I am not aware much.
    Product category is a permanent data right . i think we may not frequently change the data right.
    Does your business want very  frequent update on product category?
    I believe if we make frequent changes/modify  of data we may use LSMW .
    i think your zprogram is a best method to upload the product category.
    As you aware we can not change the product category as per standard.For eg. If i create a local product category /hierarchy .Even i can not rename them.
    category/hierarchy creation are one time activity in SRM.
    please correct me.
    regards
    Muthu

  • E-mails with Interactive Forms by WebDynpro for ABAP

    Hello,
    I plan to use WebDynpro for ABAP and Adobe Interactive Forms.
    I want to send e-mails with PDF files which are created by Interactive Forms.
    Please let me know
    - How to send e-mails by WebDynpro for ABAP
    - How to attach PDF files.
    Best regards,
    Koji

    Thanks,
    I checked WDR_TEST_MAILT, but I want to know is
    how to send e-mails using ABAP method because
    in my case addresses and some data are stored add-on tables, and extract them on e-mails.
    Regards,
    Koji

  • How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0

    Hi WebDynpro for ABAP Experts,
    We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
    If so can you proviode me the way how can we achieve this?
    ADV Thanks
    Regards
    Phani

    Hi Alex,
    Thanks for your response.
    I already created the system object R/3 Backend.
    Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
    but now the requirement is creation of webDynpro for ABAP views.
    The developers developed  WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of  WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
    Shall we need to maintain any JCo Destinations or not?
    Pl share your ideas.
    ADV Thanks
    Regards
    Phani

  • OCI with WebDynpro for ABAP in SRM 5.0

    Hi there,
    Can somebody tell me how the OCI interface has to be controlled in SRM 5.0 when free order forms are made with WebDynpro for Abap ?
    Thanks.

    You have posted your message to the wrong forum. This forum is for SRM eSourcing.

  • Configuration of UWL with Abap webdynpro

    Hi,
    We are doing configuration of UWL with Abap webdynpro. Our purpose to launch Abap webdynpro application , once clicked to a worlitem in UWL iView. we are unable to do due to following errors.
    We have done in this way.
    1.Created ECC system in EP
    2.register the uwl.webflow
    3.create ABAP iview(for test purpose still getting error when preview) (N/A)
    4.clear cache
    4.import xml file
    <ItemType name="uwl.task.webflow.TS91000006.UWLECCCLNT530" connector="WebFlowConnector" defaultView="urliview" defaultAction="viewDetail" executionMode="pessimistic">
          <ItemTypeCriteria systemId="UWLECCCLNT530" externalType="TS91000006" connector="WebFlowConnector" />
          <Actions>
            <Action name="launchWebDynProABAP" handler="SAPWebDynproABAPLauncher">
              <Properties>
                <Property name="WebDynproApplication" value="em_wipm_app" />
                <Property name="WebDynproNamespace" value="kgo" />
                <Property name="System" value="UWLECCCLNT530" />
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}" />
             <Property name="display_order_priority" value="5" />
              </Properties>
              <Descriptions default="" />
            </Action>
          </Actions>
        </ItemType>
    5.Getting error,when I click task to perform dynpro abap screen.
    6.WI_ID not been received.
    Plz let me know the solution.
    Thanks,

    Hello,
    I think you have to import the xml-file before clearing the cache again. Your new xml-file needs a higher priority then the default view.
    You have just defined a new ItemType in your new xml-file. I am not sure, but I think that you will have to define in this file also a new view for this ItemType. Because otherwise it is not defined how this new ItemType should be shown.
    Regards,
    Iris

  • Storing data in data bag with webdynpro for abap

    Hi,
    It´s possible to store data in data bag with webdynpro for abap?
    The EPCF client data bag API provide methods to store data in a transient data buffer on the client:
                               EPCM.storeClientData(nameSpace, name, value)
    Does webdynpro for abap has an equivalent method?
    Thanks,
    Márcio

    Web Dynpro ABAP can produce a portal event and pass parameters along with the event. These parameters can be read by any event receiver.  However you don't have directly access to the data bag as you describe. Here is a link to the help on the Portal Event API:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/da/f96f4132f15c58e10000000a1550b0/frameset.htm

  • Integration of ABAP webdynpro with JAVA portal

    Hi ,
    Could any one give me a simple procedure or step by step process to integrate the abap webdynpro with java portal . The RFC and stuffs ?
    Regards,
    Sakthi

    hi,
    please check out the link :
    http://help.sap.com/saphelp_nw04/helpdata/en/74/d5e7418192c717e10000000a155106/frameset.htm
    hope this will surely help you!!!
    thanks & regards,
    punit raval.

  • How to read some images from file system with webdynpro for abap?

    Hi,experts,
    I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
    How to read some images from file system with webdynpro for abap?
    Thanks a lot!

    Hello Tao,
    The parameter
       icm/HTTP/file_access_<xx>
    may help you to access the pictures without any db-access.
    The following two links may help you to understand the other possibilities as well.
    The threads are covering BSP, but it should be useful for WebDynpro as well.
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
    Best regards
    Christian

Maybe you are looking for

  • After iOS 8 update can't upload photos to Facebook using the FB app, it says no connection

    SInce iOS 8.1 update which was hours ago im not able to upload photos to Facebook using its app, I can straight from the photo album but that's not how I'm used to neither how I like it, I get a "no internet connection" error, it's happening either w

  • Restrict Goods Receipt PO without PO

    Hi Experts, I want to restrict the users on creating Goods Receipt PO without link from Purchase Order....They can only create GRPO from Purchase Order... Im not expert on creating Sp Notification please if you any sample on how to deal with this...

  • Problem typing in Pages for iPad

    Since the latest update for Pages, I have not been able to type. It comes out as gibberish. Letters get missed, and auto-correct does not seem to work very well. Typing is still perfect in all other apps. This is just happening in Pages. Has anyone e

  • The iTunes application could not be opened. An unknown error occurred -58

    When opening iTunes I get this error "The iTunes application could not be opened. An unknown error occurred -58"

  • Problem with: Upload file thru Web access.

    We have configure iFS 1.1 on AIX 4.3. Everything is running fine like ifsstart, ifsmgr. Its showing me all protocols and agents running. I am able to access iFS through web access program and its accepting login and password. After login in to iFS se