How to call a view in parent thread
Hello Friends ,
I have a scenario in my application where I have two DCs let DC A and DC B . A view in DC B is called on an event in DC A with the help of plug for which DC B has been added in the used Components of DC A . Now what I want is to call a view in DC A on the occurrence of an event in DC B and for the same I need to add DC A in the used components of DC B which is not possible as same is leading to the error of Cyclic Dependency. IS there any way through which this can be accomplished .
Thanks in advance
Smriti Garg
I think it not possible reason is this is some thing like loop with out ending
I request you to create one face less DC and make it as component usage (embed used component) in both DC's A & B
now you face less component will act as data transfer component
Thanks,
Sreeni.
Similar Messages
-
How to Call Image Viewer from Form application
Hi,
how to call Image viewer using host command on oracle form 6i.
i trying using host command on local/client application .. and it is working ...
but when i try on server application (EBS - UNIX) it does not working ...
thanks ..
regards,
safarAre you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you. -
How to call another view controller's method from a view controller?
Hi,
Iam new to webdynpro . so pls clarify my doubt.
How to call another view controller's method from a view controller in the same Web Dynpro Component?
Thanks,
KrishnaHi,
The methods in a view are only accessible inside same view. you cannot call it outside the view or
in any other view although its in same component.
If you want to have a method in both views, then create the method in component controller and
from there you can access the method any where in whole component. -
How to call a view from Interface view
Folks,
How to call a view from interface view (onPlugDefault method) . I was trying to set context of controller but it is not working . What is the work around.
ManishHi Manish,
An interface view is created for each window that you have, which in-turn has views embedded, one of which is default. If you want to pass data which you have in your interface view, do the following
- Add your component controller in your interface view properties
- In the onPlugDefault method(I assume this is where you have the data available through URL parameters),set the component controller context variables like
wdThis.wdGetComContr.wdGetContext().currentContextElement().setName("John");
-Access these context variables in your view as well by adding the component controller as the required controller
Your default view will appear automatically when you call the application.
Regards,
LM -
How to call specific view of used component
Hi All,
I have the following problem:
I have component 1 which have two views: 1A and 1B. They are included in one window. Default view is 1A.
Navigation between view 1A and 1B it made with buttons and plugs ("go to 1A", "go to 1B").
I have main component 2 which uses component 1 (used component). Component 2 has view 2A and 2B. I have button "Z" in view 2A which calls method of component 1 and navigates to view 2B (where used component 1 is embedded).
First time I press button I navigate to view 1A, its correct. Then I navigate to view 1B (within used component 1).
when I go back (in main component 2) and press button "Z" again, the used component 1 is open with view 1B, not 1A (which is default). That is, used component 1 remember which view the navigation stayed on.
I nee to always see view 1A first when I navigate with button "Z" (open used component).
How I can do that?hi ,
u must be using component usage ..
in ur component2 , place the view 1B of ur used component in separate window
pls refer this thread as well :
How to call a Particular View from a View of Current Component
regards,
amit -
How to Call Crystal Viewer in a Web Appl such as VS 2005
Post Author: RHerbert
CA Forum: .NET
I am new to web development and I was wondering if anyone knows of a document somewhere that explains the steps o how to incorporate Crystal Viewer inside to app to call crystal reports. I found on on doing this for a standalone application, but don't know if any exist for web.
I would appreciate if anyone could let me know or maybe provide some advice.
Thanks
HerbPost Author: Argan
CA Forum: .NET
http://support.businessobjects.com/communityCS/FilesAndUpdates/vbnet_web_samples.exe.asp -
How to call a view from another
Hello Experts,
I have embedded a view (let us call this view 'A') in standard homepage. This works fine. Now on click of a button on this embedded view I want to launch another view that is also created by me, in the same component in which I had created view A. But I do not know how to launch this second view
Could you please tell me how to call/launch a view from another on click of a button?
Regards,
PraffulHello Prafful,
I guess by launching you mean substituting one view by another. It can be achieved by declaring a navigational link in the runtime repository from one view to another. You have to create an event handler on the button and outbound plug in your view using the wizard. Then, on the event handler you call an outbound plug where you trigger a navigation using this navigational link and the view A will be replaced by view B.
A code which needs to be done in outbound plug:
me->view_manager->navigate(
source_rep_view = me->rep_view
outbound_plug = 'NAVLINKNAME'
data_collection = iv_data_collection ).
Best Regards,
Yevgen -
How to call a view without event handler onaction method.
Hi Experts,
I have develop a WD application. It has three views let view1, view2 and view3.
In view1 one button is there (onaction) which navigates to view2 through outbound plug wd_This->Fire_Out_Screen1_Plg( ). where Out_Screen1 is outbound plug of view1.
Now view2 appears , I want that after 10 seconds view2 automatically call view3, without action on view2.
I have written like wd_This->Fire_OUT_SCREEN2_Plg( ). where OUT_SCREEN2 is outbound plug of view2, which navigates to inbound plug of view3.
But its not working. Please suggest how to and where to write code to call a view without action .
for ur ref.Hi Bhagat,
Yes, you can attach media objects into a view
Using IFRAME ui element and html mime object.
Please refer the below link
To insert video in webdynpro - Web Dynpro ABAP - SCN Wiki
Using Flash Islands
Here, you need to have your audio/video file as flash object
Please refer the below tutorial on flash islands( a generic example )
Adobe Flash Islands for Webdynpro ABAP
Hope this helps you.
Regards,
Rama -
How to call Discoverer viewer from froms
Hi ,
How to call the Discoverer (viewer) Report from the forms 10g.
regards
ManiIn Forms, invoking a http request using e.g. :
DECLARE
urlstr VARCHAR2(1024);
BEGIN
urlstr := ...
WEB.SHOW_DOCUMENT(urlstr,'_blank');
END;
How to build the urlstr :
http://download.oracle.com/docs/cd/B14099_19/bi.1012/b13918/urlstart.htm#sthref826 -
Hi All
I am using WDA 2 as Interface in WDA 1.
From WDA1 I like to call one view of WDA2. WDA 2 has total 4 views.
Pleae help me on this...thank you all...
Regards
RamaHi,
Follow steps,
1. Declare component usage in PROPERTIES tab in WDA1 component as well in view. (e.d column1: wda2_usage and column2: WDA2)
2 go to view in WDA1. Add a transparent container.
3 go to WINDOW in WDA1, go to view that has transparent container. right click->embed view
You will see the component usage interface that is specified in 1st step, select the view of WDA2.
You will probably need to call some method in WDA2, if so, check the Interface checkbox for the method in WDA2.
Award point if useful.
Best Regards,
Achyut -
How to call Comp1 View From Comp2 View in CE 7.1
Hi Experts,
I need to develop an application to call Comp1 View from Comp2 View (Inter Component Communication).
This application developing CE 7.1 NWDS 7.1 not in NWDS 7.0.
Please any one help me.
Regards,
Satya.Hi Satya ,
please go though following blog for used DC concept.
Componentization of Webdynpro Application in CE7.1
In netweaver 7.1 interface controler is abstract and component controller is implementing interface controller so the context data and methods have to be implemented by component controller -
How to call different viewer according its filetype?
Hi guys,
there is a requirement. We write a custom report which shows all the attachments of a project. and the ALV report needs the drill down function too.
So the question is that how it can determine its viewer in pc according its file extension, such DOC calls MSdoc,PDF calls Adobe Reader?
Thanks very much!!Hi,
I am sending the sample coding of interactive list alv report with 2 lists reports.
REPORT YMS_INTERACTIVELIST NO STANDARD PAGE HEADING LINE-SIZE 650
MESSAGE-ID ZZ_9838 .
TYPE-POOLS: SLIS.
*type declaration for values from ekko
TYPES: BEGIN OF I_EKKO,
EBELN LIKE EKKO-EBELN,
AEDAT LIKE EKKO-AEDAT,
BUKRS LIKE EKKO-BUKRS,
BSART LIKE EKKO-BSART,
LIFNR LIKE EKKO-LIFNR,
END OF I_EKKO.
DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
WA_EKKO TYPE I_EKKO.
*type declaration for values from ekpo
TYPES: BEGIN OF I_EKPO,
EBELN LIKE EKPO-EBELN,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
MENGE LIKE EKPO-MENGE,
MEINS LIKE EKPO-MEINS,
NETPR LIKE EKPO-NETPR,
END OF I_EKPO.
DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,
WA_EKPO TYPE I_EKPO .
*variable for Report ID
DATA: V_REPID LIKE SY-REPID .
*declaration for fieldcatalog
DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
declaration for events table where user comand or set PF status will
be defined
DATA: V_EVENTS TYPE SLIS_T_EVENT,
WA_EVENT TYPE SLIS_ALV_EVENT.
declartion for layout
DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
declaration for variant(type of display we want)
DATA: I_VARIANT TYPE DISVARIANT,
I_VARIANT1 TYPE DISVARIANT,
I_SAVE(1) TYPE C.
*PARAMETERS : p_var TYPE disvariant-variant.
*Title displayed when the alv list is displayed
DATA: I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.
DATA: I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.
INITIALIZATION.
V_REPID = SY-REPID.
PERFORM BUILD_FIELDCATLOG.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
START-OF-SELECTION.
PERFORM DATA_RETRIEVAL.
PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.
PERFORM DISPLAY_ALV_REPORT.
*& Form BUILD_FIELDCATLOG
Fieldcatalog has all the field details from ekko
FORM BUILD_FIELDCATLOG.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'AEDAT'.
WA_FIELDCAT-SELTEXT_M = 'DATE.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'BUKRS'.
WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'BUKRS'.
WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'LIFNR'.
WA_FIELDCAT-NO_OUT = 'X'.
WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. "BUILD_FIELDCATLOG
*& Form EVENT_CALL
we get all events - TOP OF PAGE or USER COMMAND in table v_events
FORM EVENT_CALL.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "EVENT_CALL
*& Form POPULATE_EVENT
Events populated for TOP OF PAGE & USER COMAND
FORM POPULATE_EVENT.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'TOP_OF_PAGE'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-FORM.
ENDIF.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'USER_COMMAND'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-NAME.
ENDIF.
ENDFORM. "POPULATE_EVENT
*& Form data_retrieval
retreiving values from the database table ekko
FORM DATA_RETRIEVAL.
SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.
ENDFORM. "data_retrieval
*& Form bUild_listheader
text
-->I_LISTHEADEtext
FORM BUILD_LISTHEADER USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA HLINE TYPE SLIS_LISTHEADER.
HLINE-INFO = 'this is my first alv pgm'.
HLINE-TYP = 'H'.
ENDFORM. "build_listheader
*& Form display_alv_report
text
FORM DISPLAY_ALV_REPORT.
V_REPID = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_GRID_TITLE = I_TITLE_EKKO
I_GRID_SETTINGS =
IS_LAYOUT = ALV_LAYOUT
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
i_default = 'ZLAY1'
I_SAVE = 'A'
is_variant = i_variant
IT_EVENTS = V_EVENTS
TABLES
T_OUTTAB = IT_EKKO
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "display_alv_report
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
PERFORM BUILD_FIELDCATLOG_EKPO.
PERFORM EVENT_CALL_EKPO.
PERFORM POPULATE_EVENT_EKPO.
PERFORM DATA_RETRIEVAL_EKPO.
PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
PERFORM DISPLAY_ALV_EKPO.
ENDCASE.
ENDFORM. "user_command
*& Form BUILD_FIELDCATLOG_EKPO
text
FORM BUILD_FIELDCATLOG_EKPO.
WA_FIELDCAT-TABNAME = 'IT_EKPO'.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKPO'.
WA_FIELDCAT-FIELDNAME = 'EBELP'.
WA_FIELDCAT-SELTEXT_M = 'LINE NO'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MENGE'.
WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MEINS'.
WA_FIELDCAT-SELTEXT_M = 'UOM'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'NETPR'.
WA_FIELDCAT-SELTEXT_M = 'PRICE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. "BUILD_FIELDCATLOG_EKPO
*& Form event_call_ekpo
we get all events - TOP OF PAGE or USER COMMAND in table v_events
FORM EVENT_CALL_EKPO.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "event_call_ekpo
*& Form POPULATE_EVENT
Events populated for TOP OF PAGE & USER COMAND
FORM POPULATE_EVENT_EKPO.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'TOP_OF_PAGE'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-FORM.
ENDIF.
ENDFORM. "POPULATE_EVENT
*& Form TOP_OF_PAGE
text
FORM F_TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
*retreiving values from the database table ekko
FORM DATA_RETRIEVAL_EKPO.
SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.
ENDFORM.
FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA: HLINE1 TYPE SLIS_LISTHEADER.
HLINE1-TYP = 'H'.
HLINE1-INFO = 'CHECKING PGM'.
ENDFORM.
FORM DISPLAY_ALV_EKPO.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = I_TITLE_EKPO
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT =
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS = V_EVENTS
TABLES
T_OUTTAB = IT_EKPO
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
Hope it will helps u.
Thanks,
Shankar -
How can call child frame in parent frame
Hi all,
I am using these frames in apex3.2 version. How can i call middleFrame.
I used below link in topFrame,its working
a href="javascript:parent.topFrame.url();"Print
but If use
a href="javascript:parent.topFrame.middleFrame.url();"Print
it not woking.
<frameset rows="56, *" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="./f?p=&APP_ID.:100:&APP_SESSION." name="topFrame" scrolling="NO" noresize>
<frameset rows="*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="./f?p=&APP_ID.:101:&APP_SESSION." name="middleFrame" id="middleFrame" scrolling="yes">
<frameset rows="0" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="./f?p=&APP_ID.:102:&APP_SESSION." name="bottomFrame" scrolling="NO" noresize>
</frameset>
</frameset>
</frameset>Thanks,
Nr
Edited by: pnr on May 11, 2011 3:48 AMHi,
Please look at this documents
[this is having communication between two DCu2019s|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ae5f90-1679-2c10-4183-8c64cf932088?QuickLink=index&overridelayout=true] and [this is having communicate between two Components with in DC|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78f23b]
Hope this is help full for u
Regards
Vijay
Edited by: VijaySAPEP on Nov 21, 2011 11:32 AM -
How to call database view in report
Hi i have a small problem in report
the problem is like this i had created a database view in which i got all the values displayed but can any one of you tell me how to declare this database view in report with example
i had created a database view named as znew1
and the fields are
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
LIFNR1 LIKE LFA1-LIFNR,
NAME1 LIKE LFA1-NAME1,
EKBE LIKE EKBE-EBELN,
VGABE LIKE EKBE-VGABE,
MATNR LIKE EKPO-MATNR,
WERKS LIKE EKPO-WERKS,
NETWR LIKE EKPO-NETWR,
MENGE LIKE EKPO-MENGE,
MWSKZ LIKE EKPO-MWSKZ,
TXZ01 LIKE EKPO-TXZ01,
KOSTL LIKE EKKN-KOSTL,
PS_PSP_PNR LIKE EKKN-PS_PSP_PNR,
EBELN1 LIKE EKKN-EBELN,Hi Mr. Rich
This is the program code and i want this output int he alv grid format
TABLES:EKKO,EKBE,EKPO.
DATA:BEGIN OF RTAB_ALV OCCURS 30,
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
LIFNR1 LIKE LFA1-LIFNR,
NAME1 LIKE LFA1-NAME1,
EKBE LIKE EKBE-EBELN,
VGABE LIKE EKBE-VGABE,
MATNR LIKE EKPO-MATNR,
WERKS LIKE EKPO-WERKS,
NETWR LIKE EKPO-NETWR,
MENGE LIKE EKPO-MENGE,
MWSKZ LIKE EKPO-MWSKZ,
TXZ01 LIKE EKPO-TXZ01,
KOSTL LIKE EKKN-KOSTL,
PS_PSP_PNR LIKE EKKN-PS_PSP_PNR,
EBELN1 LIKE EKKN-EBELN,
END OF RTAB_ALV.
DATA:IZNEW1 TYPE TABLE OF ZNEW1 WITH HEADER LINE.
select * into table IZNEW1 FROM ZNEW1 UP TO 10000 ROWS. -
Call a view without Model ?
Hello All,
My application is a Page with flow logic BSP.
I need to view a jsp file from this BSP .
So i created a MIME Object and imported the JSP as a MIME.
I converted that Mime Object into a VIew.
Now I want to viewthe output of that View.
But as per the concepts we can't execute the view directly.
So I created a Controller class and attached my View to it .
Here I don't need a model as there is no need for the Bus.Logic.
Now my Qn is : How to call the view from my Page ?
Regards,
Deepu.KUse this simple code in layout to call controller, calling controller will call your view.
<%@ extension name="bsp" prefix="bsp" %>
<bsp:call url="your_controller.do" />
*Reward each useful answer
Raja T
Maybe you are looking for
-
At one point I had set up my itunes and icloud with an old email address. I have since shanged that to a new email. iTunes works fine and I can log into my new iCloud on my PC but my phone will not allow me to delete the old iCloud email without the
-
Hi, I have a CAS, primary site and a DP. On Site properties I have set client communication : HTTP or HTTPS and PKI. on management point properties as well I have set Client communication as HTTPS PKI. 1. On primary site Multicast_servicepoint stat
-
OM Prepayments: Can Check Number on Order be transmitted to Cash Receipt?
When using OM Prepayments, we enter the Check Number in the field 'Identifying Number' in the Payments screen for Payment Type 'Check'. This is a required field and we notice that IDENTIFYING_NUMBER is populated in OE_PAYMENTS. However, this number i
-
Hello experts, When i execute my report , i get the ALV report , after this i print this ALV to my spool, I want to create in my report of the spool , Widthwise line after each of rows , How can i to do this ? Thanks for the help. Avi.
-
Elements 12 Organizer won't open - help?
How can I get help for this? I just installed this yesterday. Here is the error message I get: Process: Adobe Elements 12 Organizer [178] Path: /Applications/Adobe Elements 12 Organizer.app/Contents/MacOS/Adobe Elements 12 Organi