Report designer is not coming up
Hi all,
We have BI dual stack and we trying to activate Bex front end , i am able to execute Query designer but when i am opening report designer and trying to load any infocube i am getting Run time Java :.SS0 error.
SSO is configured and betweeb Java and ABAP and ABAP and JAVA....
Please suggest what i am missing...
Default trace Log is as below>.....
#1.5#0017A451D046001A0000000D0000A3A8000452DD2FB57056#1217009848502#com.sap.ip.bi.base.service.localization.impl.BIResourceAccessor#sap.com/irj#com.sap.ip.bi.base.service.localization.impl.BIResourceAccessor#J2EE_ADMIN#101##NBCDSSQLS10.corp_SBW_24896250#J2EE_ADMIN#cf85f8805a7511dd987b0017a451d046#SAPEngine_Application_Threadimpl:3_25##0#0#Error#1#/Applications/BI#Plain###Missing resource: "com.sap.ip.bi.bics.exceptions.localization" "en" "InvalidVariableValues"#
#1.5#0017A451D046001A0000000E0000A3A8000452DD2FB5C854#1217009848522#com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException#sap.com/irj#com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException#J2EE_ADMIN#101##NBCDSSQLS10.corp_SBW_24896250#J2EE_ADMIN#cf85f8805a7511dd987b0017a451d046#SAPEngine_Application_Threadimpl:3_25##0#0#Fatal#1#/Applications/BI/BI Consumer Services#Plain###Exception thrown: com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:497)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:95)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:990)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:361)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:169)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionState(SelectionObject.java:532)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.unlinkDataprovider(DropDownItem.java:153)
at com.sap.ip.bi.webapplications.ui.items.dataprovider.SelectorReferenceItem.doUiItemDestroy(SelectorReferenceItem.java:91)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.doUiItemDestroy(DropDownItem.java:497)
at com.sap.ip.bi.webapplications.ui.items.UiItem.doDestroy(UiItem.java:233)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doDestroyItemCommand(Page.java:3237)
at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:90)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:339)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:273)
at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommand(Page.java:1207)
at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.destroy(TemplateAssembler.java:655)
at com.sap.ip.bi.webapplications.runtime.base.Template.doDestroy(Template.java:162)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroy(Page.java:4217)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.destroyPage(Controller.java:603)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:320)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#1.5#0017A451D046001A000000110000A3A8000452DD2FB65C1C#1217009848562#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/irj#com.sap.ip.bi.base.application.message.impl.MessageBase#J2EE_ADMIN#101##NBCDSSQLS10.corp_SBW_24896250#J2EE_ADMIN#cf85f8805a7511dd987b0017a451d046#SAPEngine_Application_Threadimpl:3_25##0#0#Error#1#/Applications/BI#Plain###A message was generated:
ERROR
com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException InvalidVariableValues
Log ID: 0017A451D046001A0000000E0000A3A8000452DD2FB5C854
Message:
Stack trace: com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:497)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:95)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:990)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:361)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:169)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionState(SelectionObject.java:532)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.unlinkDataprovider(DropDownItem.java:153)
at com.sap.ip.bi.webapplications.ui.items.dataprovider.SelectorReferenceItem.doUiItemDestroy(SelectorReferenceItem.java:91)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.doUiItemDestroy(DropDownItem.java:497)
at com.sap.ip.bi.webapplications.ui.items.UiItem.doDestroy(UiItem.java:233)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doDestroyItemCommand(Page.java:3237)
at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:90)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:339)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:273)
at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommand(Page.java:1207)
at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.destroy(TemplateAssembler.java:655)
at com.sap.ip.bi.webapplications.runtime.base.Template.doDestroy(Template.java:162)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroy(Page.java:4217)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.destroyPage(Controller.java:603)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:320)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException InvalidVariableValues#
#1.5#0017A451D046001B000000000000A3A8000452DD308F89C6#1217009862791#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###com.sap.engine.services.security.exceptions.BaseLoginException: Authentication failed.#
#1.5#0017A451D046001B000000010000A3A8000452DD308F8B44#1217009862791#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###com.sap.engine.services.security.exceptions.BaseLoginException: Authentication failed.
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:170)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:177)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:70)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7785)
at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405)
at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:8145)
at com.sap.mw.jco.JCO$Server.work(JCO.java:8265)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8212)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8128)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.security.core.server.jaas.DetailedLoginException: Authentication failed: Issuer of SAP Logon Ticket is not trusted. Authentication stack: evaluate_assertion_ticket
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:167)
... 26 more
#1.5#0017A451D046001B000000030000A3A8000452DD308F952F#1217009862801#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Threadimpl:3_11##0#0#Error#1#/System/Server#Plain###call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId SBW_PORTAL on host NBCDSSQLS10 with SSO not authorized: Authentication failed.#
#1.5#0017A451D046001B000000040000A3A8000452DD308F996C#1217009862801#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###java.lang.RuntimeException: call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId SBW_PORTAL on host NBCDSSQLS10 with SSO not authorized: Authentication failed.#
#1.5#0017A451D046001B000000050000A3A8000452DD308F9A9C#1217009862801#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###java.lang.RuntimeException: call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId SBW_PORTAL on host NBCDSSQLS10 with SSO not authorized: Authentication failed.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:79)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7785)
at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405)
at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:8145)
at com.sap.mw.jco.JCO$Server.work(JCO.java:8265)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8212)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8128)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Thanks,
Subhash.G
Thanks
Similar Messages
-
(Request for reporting available) is not coming in Cube
Hi All,
I have Cube & DSO.
I added fields in DSO & Cube.
Cube1 has Aggregrates built on it.i added 5 infoobjects on it, Now when i load data from DSO to Cube(Request for reporting available) is not coming up. i cant do reporting on it. can anyone help.
thanks in advance,
Kiran.Hi ....
Have you done the Roll up ?
Since aggregates are there on that cube....until and unless you do the roll up that request will not be available for Reporting...
Regards,
Debjani.... -
Adobe layout design is not coming
Hi Everyone,
In my webdynpro abap or in Adbe form creation in SFP also the Adobe layout design is not coming. Displaying an error message stating that ' Could Not start Layout Design'. Can any reply me the root cause for this Adobe layout problem.Hi,
There could be two reasons for this.
1. Check under ABAP connection in SM59 for ADS service running or not. It must be active. You may test the connection or check with Basis Team as well.
2. You need to install Adobe Life Cycle Designer in your system OR the latest SAP GUI ( This contains by default Adobe Life Cycle Designer)
Let me know if this helps you.
Thanks & Regards,
Anil Kumar Sahni -
The Report Designer does not support this query drill down colum
Iam working On BI7 When iam doing report desingner when iam opening query through data provider
Iam getting thsi error The Report Designer does not support this query drill down colum colum axis may contain one structure only remove additional dimensions
I modify the cube and i remove some dimensions also My problem is when iam putting characterstics in Colums Iam getting this error When iam removing that charcterstics from colums it was not throuing any error
Chaitanyahi,
report designer is for front end view design and the designcan be done with restriction to navigation.
you have dynamic and static report designs with restricted navigations.
chk the links for document
http://help.sap.com/saphelp_nw04s/helpdata/en/dd/cea14119eb9f09e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/17/16d941de405f24e10000000a1550b0/frameset.htm
Ramesh -
Web design reporter and Report designer is not working in SAP BI
Hello,
I am facing JAVA RFC error in Web reporting designing and reporting designer tools in BEx application. For more details please check the attachment in mail Any one help me for this issue.
Please check the my system details in the following
SAP ECC 6.0 EHP 6 with ABAP stack
SAP BI 740 with ABAP stack
BO 4.1
Thanks & regards,
SurendraHi,
Check with basis team , either they have configured rfc connection properly or not.
Refer below also:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?QuickLink=index&…
Thanks. -
ALV report value is not coming in output
Hi all,
I have developed one ALV report using ABAP OOPS. i have used Custom Container to display my all values.
below are the methods i am calling to dispaly and all values is coming in T_DATASET[] ans fcat, But after Executing my report it is not displaying any value.
my container is blank in output only fcat-coltext is coming and fieldname value is not coming.
wa_fcat-fieldname = 'T_DATASET-KAVS'.
wa_fcat-coltext = ' '.
CALL METHOD grid1->set_table_for_first_display
CHANGING
it_outtab = T_DATASET[]
it_fieldcatalog = fcat.
please guide me.
Thanks in Advance.Check below code. And make sure you code below steps before calling set table for first display.
IF G_CUSTOM_CONTAINER1 IS INITIAL.
* create container for ALV grid1
CREATE OBJECT G_CUSTOM_CONTAINER1
EXPORTING
CONTAINER_NAME = 'CUST_CONT'.
else.
ENDIF.
IF GRID1 IS INITIAL.
* create ALV grid
CREATE OBJECT GRID1
EXPORTING
I_APPL_EVENTS = SELECTED "application event
I_PARENT = G_CUSTOM_CONTAINER1.
G_LAYOUT1-EDIT = 'X'.
G_LAYOUT1-sel_mode = '3'.
G_LAYOUT1-NO_TOOLBAR = 'X'.
G_LAYOUT1-ZEBRA = 'X'.
G_LAYOUT1-info_fname = 'ROWCOLOR'.
G_LAYOUT1-GRID_TITLE = TEXT-006.
G_LAYOUT1-STYLEFNAME = 'CELLTAB'.
CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING IS_LAYOUT = G_LAYOUT1
IT_TOOLBAR_EXCLUDING = GT_TOOLBAR_EXCLUDING
CHANGING IT_FIELDCATALOG = GT_FIELDCAT_LVC[]
IT_OUTTAB = CONP[]. -
Bex Report designer is not working,
Hi all,
We have BI dual stack and we trying to activate Bex front end , i am able to execute Query designer but when i am opening report designer and trying to load any infocube i am getting Run time Java :.SS0 error.
SSO is configured and betweeb Java and ABAP and ABAP and JAVA....
Please suggest what i am missing...
Default trace Log is as below>.....
#1.5#0017A451D046001A0000000D0000A3A8000452DD2FB57056#1217009848502#com.sap.ip.bi.base.service.localization.impl.BIResourceAccessor#sap.com/irj#com.sap.ip.bi.base.service.localization.impl.BIResourceAccessor#J2EE_ADMIN#101##NBCDSSQLS10.corp_SBW_24896250#J2EE_ADMIN#cf85f8805a7511dd987b0017a451d046#SAPEngine_Application_Thread[impl:3]_25##0#0#Error#1#/Applications/BI#Plain###Missing resource: "com.sap.ip.bi.bics.exceptions.localization" "en" "InvalidVariableValues"#
#1.5#0017A451D046001A0000000E0000A3A8000452DD2FB5C854#1217009848522#com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException#sap.com/irj#com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException#J2EE_ADMIN#101##NBCDSSQLS10.corp_SBW_24896250#J2EE_ADMIN#cf85f8805a7511dd987b0017a451d046#SAPEngine_Application_Thread[impl:3]_25##0#0#Fatal#1#/Applications/BI/BI Consumer Services#Plain###Exception thrown: com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:497)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:95)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:990)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:361)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:169)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionState(SelectionObject.java:532)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.unlinkDataprovider(DropDownItem.java:153)
at com.sap.ip.bi.webapplications.ui.items.dataprovider.SelectorReferenceItem.doUiItemDestroy(SelectorReferenceItem.java:91)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.doUiItemDestroy(DropDownItem.java:497)
at com.sap.ip.bi.webapplications.ui.items.UiItem.doDestroy(UiItem.java:233)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doDestroyItemCommand(Page.java:3237)
at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:90)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:339)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:273)
at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommand(Page.java:1207)
at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.destroy(TemplateAssembler.java:655)
at com.sap.ip.bi.webapplications.runtime.base.Template.doDestroy(Template.java:162)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroy(Page.java:4217)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.destroyPage(Controller.java:603)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:320)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#1.5#0017A451D046001A000000110000A3A8000452DD2FB65C1C#1217009848562#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/irj#com.sap.ip.bi.base.application.message.impl.MessageBase#J2EE_ADMIN#101##NBCDSSQLS10.corp_SBW_24896250#J2EE_ADMIN#cf85f8805a7511dd987b0017a451d046#SAPEngine_Application_Thread[impl:3]_25##0#0#Error#1#/Applications/BI#Plain###A message was generated:
ERROR
com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException InvalidVariableValues
Log ID: 0017A451D046001A0000000E0000A3A8000452DD2FB5C854
Message:
Stack trace: com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:497)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:95)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:990)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:361)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:169)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionState(SelectionObject.java:532)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.unlinkDataprovider(DropDownItem.java:153)
at com.sap.ip.bi.webapplications.ui.items.dataprovider.SelectorReferenceItem.doUiItemDestroy(SelectorReferenceItem.java:91)
at com.sap.ip.bi.webapplications.ui.items.filteritems.dropdown.DropDownItem.doUiItemDestroy(DropDownItem.java:497)
at com.sap.ip.bi.webapplications.ui.items.UiItem.doDestroy(UiItem.java:233)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doDestroyItemCommand(Page.java:3237)
at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:90)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:339)
at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:273)
at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommand(Page.java:1207)
at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.destroy(TemplateAssembler.java:655)
at com.sap.ip.bi.webapplications.runtime.base.Template.doDestroy(Template.java:162)
at com.sap.ip.bi.webapplications.runtime.base.PageObject.destroy(PageObject.java:390)
at com.sap.ip.bi.webapplications.runtime.base.Container.destroy(Container.java:53)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroyPageObject(Page.java:2734)
at com.sap.ip.bi.webapplications.runtime.impl.Page.destroy(Page.java:4217)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.destroyPage(Controller.java:603)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:320)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
com.sap.ip.bi.bics.exceptions.BicsBaseRuntimeException InvalidVariableValues#
#1.5#0017A451D046001B000000000000A3A8000452DD308F89C6#1217009862791#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###com.sap.engine.services.security.exceptions.BaseLoginException: Authentication failed.#
#1.5#0017A451D046001B000000010000A3A8000452DD308F8B44#1217009862791#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###com.sap.engine.services.security.exceptions.BaseLoginException: Authentication failed.
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:170)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:177)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:70)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7785)
at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405)
at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:8145)
at com.sap.mw.jco.JCO$Server.work(JCO.java:8265)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8212)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8128)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.security.core.server.jaas.DetailedLoginException: Authentication failed: Issuer of SAP Logon Ticket is not trusted. Authentication stack: evaluate_assertion_ticket
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:167)
... 26 more
#1.5#0017A451D046001B000000030000A3A8000452DD308F952F#1217009862801#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Thread[impl:3]_11##0#0#Error#1#/System/Server#Plain###call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId SBW_PORTAL on host NBCDSSQLS10 with SSO not authorized: Authentication failed.#
#1.5#0017A451D046001B000000040000A3A8000452DD308F996C#1217009862801#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###java.lang.RuntimeException: call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId SBW_PORTAL on host NBCDSSQLS10 with SSO not authorized: Authentication failed.#
#1.5#0017A451D046001B000000050000A3A8000452DD308F9A9C#1217009862801#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##SBW#XSGADDE #EA755ADDD4E4F19E947A0017A451D046#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###java.lang.RuntimeException: call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId SBW_PORTAL on host NBCDSSQLS10 with SSO not authorized: Authentication failed.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:79)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7785)
at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405)
at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:8145)
at com.sap.mw.jco.JCO$Server.work(JCO.java:8265)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8212)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8128)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Thanks,
Subhash.GHi All,
We set the Tracelevel to 10 in VA at JCo and below is the trace info:
SYSTEMS: 0 row(s)
UCLASSSYS: 0 row(s)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:434]: [JAV-LAYER] Record() [>>> 375f1617]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:434]: [JAV-LAYER] Record() [>>> 43a35c67]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: [JAV-LAYER] setDsrPassport for connection with handle 1 [enter]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: [JAV-LAYER] com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: [JAV-LAYER] JCO.Client.beginCall(): cannot get jDSR passport for call 'SUSR_GET_ADMIN_USER_LOGIN_INFO', because of com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: [JAV-LAYER] JCO.Client.execute (SUSR_GET_ADMIN_USER_LOGIN_INFO) on handle [1]
Input:
INPUT (uc)
ALIASNAME - CHAR 0 40 0 80 ioASU
AUTHORITY_CHECK - CHAR 40 1 80 2 ioA
USERID - CHAR 41 12 82 24 ioA
content:
00000000
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000020
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000040
0058004A003200450045 005F00410044004D0049 004E00200020
XJ2EE_ADMIN
Input tables: null
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Executing SUSR_GET_ADMIN_USER_LOGIN_INFO for handle 1
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Execute before RfcCall(1, SUSR_GET_ADMIN_USER_LOGIN_INFO, 2, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Sent Parameter AUTHORITY_CHECK
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Sent Parameter USERID
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Execute after RfcCall(1, SUSR_GET_ADMIN_USER_LOGIN_INFO, 2, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Execute before RfcReceive(1, SUSR_GET_ADMIN_USER_LOGIN_INFO, 4, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Expecting Parameter LAST_LOGON_DATE
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Expecting Parameter LOCK_STATUS
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Expecting Parameter PASSWORD_STATUS
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Expecting Parameter USER_ID
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Execute after RfcReceive(1, SUSR_GET_ADMIN_USER_LOGIN_INFO, 4, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: [JAV-LAYER] JCO.Client.execute (SUSR_GET_ADMIN_USER_LOGIN_INFO) on handle [1] returns after 0 ms
Output:
OUTPUT (uc)
LAST_LOGON_DATE - DATE 0 8 0 16 eA
LOCK_STATUS - INT1 8 1 16 1 eA
PASSWORD_STATUS - INT 9 2 17 4 eA
USER_ID - CHAR 11 12 21 24 eA
content:
00000000
00320030003000380030 0037003200370000FFFF FFFE004A003200450045 005F00410044004D0049
20080727...J2EE_ADMI
00000020
004E00200020
N
Output tables: null
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: [JAV-LAYER] JCO.Pool.releaseClient([1]) in pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:444]: Reset before RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: Reset after RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] Record() [>>> 1a0790e2]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] Record() [>>> 66b8f2c7]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] JCO.Pool.getClient(false) from pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1 [enter]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] JCO.Pool.getClient(false) returns [1] [leave]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] setDsrPassport for connection with handle 1 [enter]
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] JCO.Client.beginCall(): cannot get jDSR passport for call 'SUSR_CHECK_LOGON_DATA', because of com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:454]: [JAV-LAYER] JCO.Client.execute (SUSR_CHECK_LOGON_DATA) on handle [1]
Input:
INPUT (uc)
ALIASNAME - CHAR 0 40 0 80 ioASU
AUTH_DATA - STRING 40 0 80 8 ioASU
AUTH_METHOD - CHAR 40 1 88 2 iA
EXTID_TYPE - CHAR 41 2 90 4 ioASU
LANGUAGE - CHAR 43 2 94 4 ioASU
PASSWORD - CHAR 45 40 98 80 ioA
USERID - CHAR 85 12 178 24 ioA
USE_NEW_EXCEPTION - INT1 97 1 202 1 ioA
content:
00000000
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000020
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000040
00500020002000200020 00730031006400330044 00300030007200200020 00200020002000200020
P s1d3D00r
00000060
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000080
00200020002000200020 004A003200450045005F 00410044004D0049004E 002000200100
J2EE_ADMIN Ā
AUTH_DATA: null
Input tables: null
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Executing SUSR_CHECK_LOGON_DATA for handle 1
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Execute before RfcCall(1, SUSR_CHECK_LOGON_DATA, 4, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Sent Parameter AUTH_METHOD
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Sent Parameter PASSWORD
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Sent Parameter USERID
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Sent Parameter USE_NEW_EXCEPTION
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Execute after RfcCall(1, SUSR_CHECK_LOGON_DATA, 4, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Execute before RfcReceive(1, SUSR_CHECK_LOGON_DATA, 5, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Expecting Parameter ALLOW_PWD_DELETION
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Expecting Parameter PWDSTATE
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Expecting Parameter PWD_CHANGE_SSO
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Expecting Parameter TICKET
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:464]: Expecting Parameter USER_ID
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:474]: Execute after RfcReceive(1, SUSR_CHECK_LOGON_DATA, 5, null, null)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:474]: [JAV-LAYER] JCO.Client.execute (SUSR_CHECK_LOGON_DATA) on handle [1] returns after 20 ms
Output:
OUTPUT (uc)
ALLOW_PWD_DELETION - CHAR 0 1 0 2 eA
PWDSTATE - INT 1 2 2 4 eA
PWD_CHANGE_SSO - INT1 3 1 6 1 eA
TICKET - STRING 4 0 7 8 eA
USER_ID - CHAR 4 12 15 24 eA
content:
00000000
0020FFFFFFFE0100004A 003200450045005F0041 0044004D0049004E0020 0020
..ĀJ2EE_ADMIN
TICKET:
Output tables: null
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:474]: [JAV-LAYER] JCO.Pool.releaseClient([1]) in pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:474]: Reset before RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_27 [20:10:48:474]: Reset after RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] Record() [>>> 31ebb3fb]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] Record() [>>> 69753d57]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] Record() [>>> 100e50d8]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] JCO.Pool.getClient(false) from pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1 [enter]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] JCO.Pool.getClient(false) returns [1] [leave]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] setDsrPassport for connection with handle 1 [enter]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:954]: [JAV-LAYER] com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: [JAV-LAYER] JCO.Client.beginCall(): cannot get jDSR passport for call 'BAPI_USER_EXISTENCE_CHECK', because of com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: [JAV-LAYER] JCO.Client.execute (BAPI_USER_EXISTENCE_CHECK) on handle [1]
Input:
INPUT (uc)
USERNAME BAPIRET2 CHAR 0 12 0 24 iA
content:
00000000
004A003200450045005F 00410044004D0049004E 00200020
J2EE_ADMIN
Input tables: null
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: Executing BAPI_USER_EXISTENCE_CHECK for handle 1
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: Execute before RfcCall(1, BAPI_USER_EXISTENCE_CHECK, 1, null, null)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: Sent Parameter USERNAME
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: Execute after RfcCall(1, BAPI_USER_EXISTENCE_CHECK, 1, null, null)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: Execute before RfcReceive(1, BAPI_USER_EXISTENCE_CHECK, 1, null, null)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:964]: Expecting Parameter RETURN
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:974]: Execute after RfcReceive(1, BAPI_USER_EXISTENCE_CHECK, 1, null, null)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:974]: [JAV-LAYER] JCO.Client.execute (BAPI_USER_EXISTENCE_CHECK) on handle [1] returns after 20 ms
Output:
OUTPUT (uc)
RETURN BAPIRET2 STRUCTURE 0 0 0 6 eA
BAPIRET2 (uc)
TYPE - CHAR 0 1 0 2 A
ID - CHAR 1 20 2 40 A
NUMBER - NUM 21 3 42 6 A
MESSAGE - CHAR 24 220 48 440 A
LOG_NO - CHAR 244 20 488 40 A
LOG_MSG_NO - NUM 264 6 528 12 A
MESSAGE_V1 - CHAR 270 50 540 100 A
MESSAGE_V2 - CHAR 320 50 640 100 A
MESSAGE_V3 - CHAR 370 50 740 100 A
MESSAGE_V4 - CHAR 420 50 840 100 A
PARAMETER - CHAR 470 32 940 64 A
ROW - INT 502 2 1004 4 A
FIELD - CHAR 504 30 1008 60 A
SYSTEM - CHAR 534 10 1068 20 A
RETURN:
00000000
00490030003100200020 00200020002000200020 00200020002000200020 00200020002000200020
I01
00000020
00200030003800380055 0073006500720020004A 003200450045005F0041 0044004D0049004E0020
088User J2EE_ADMIN
00000040
00650078006900730074 00730020002000200020 00200020002000200020 00200020002000200020
exists
00000060
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000080
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000100
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000120
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000140
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000160
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000180
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000200
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000220
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000240
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000260
00200020002000200030 00300030003000300030 004A003200450045005F 00410044004D0049004E
000000J2EE_ADMIN
00000280
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000300
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000320
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000340
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000360
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000380
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000400
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000420
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000440
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000460
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000480
00200020002000200020 00200020002000200020 00200020002000200020 00200020002000200020
00000500
00200020000000000020 00200020002000200020 00200020002000200020 00200020002000200020
00000520
00200020002000200020 00200020002000200020 00200020002000200053 004200570043004C004E
SBWCLN
00000540
0054003200300030
T200
Output tables: null
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:974]: [JAV-LAYER] JCO.Pool.releaseClient([1]) in pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:974]: Reset before RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:974]: Reset after RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] Record() [>>> 44f54d22]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] Record() [>>> 449b168c]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] Record() [>>> 21e56484]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] Record() [>>> 5b2a277e]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] JCO.Pool.getClient(false) from pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1 [enter]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] JCO.Pool.getClient(false) returns [1] [leave]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] setDsrPassport for connection with handle 1 [enter]
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] JCO.Client.beginCall(): cannot get jDSR passport for call 'PRGN_J2EE_USER_GET_ROLENAMES', because of com.sap.mw.jco.JCO$Exception: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: [JAV-LAYER] JCO.Client.execute (PRGN_J2EE_USER_GET_ROLENAMES) on handle [1]
Input:
INPUT (uc)
IF_REPLACE_DERIVED - CHAR 0 1 0 2 iASU
IF_UNAME - CHAR 1 12 2 24 iA
content:
00000000
0020004A003200450045 005F00410044004D0049 004E00200020
J2EE_ADMIN
Input tables:
TABLES (uc)
ET_AGR J2EE_AGRNAME TABLE 0 0 0 6 AU
ET_RETURN BAPIRET2 TABLE 0 0 6 9 AU
J2EE_AGRNAME (uc)
AGR_NAME - CHAR 0 30 0 60 A
BAPIRET2 (uc)
TYPE - CHAR 0 1 0 2 A
ID - CHAR 1 20 2 40 A
NUMBER - NUM 21 3 42 6 A
MESSAGE - CHAR 24 220 48 440 A
LOG_NO - CHAR 244 20 488 40 A
LOG_MSG_NO - NUM 264 6 528 12 A
MESSAGE_V1 - CHAR 270 50 540 100 A
MESSAGE_V2 - CHAR 320 50 640 100 A
MESSAGE_V3 - CHAR 370 50 740 100 A
MESSAGE_V4 - CHAR 420 50 840 100 A
PARAMETER - CHAR 470 32 940 64 A
ROW - INT 502 2 1004 4 A
FIELD - CHAR 504 30 1008 60 A
SYSTEM - CHAR 534 10 1068 20 A
ET_AGR: 0 row(s)
ET_RETURN: 0 row(s)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: Executing PRGN_J2EE_USER_GET_ROLENAMES for handle 1
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: Execute before RfcCall(1, PRGN_J2EE_USER_GET_ROLENAMES, 1, null, 2)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: Sent Parameter IF_UNAME
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:984]: Sent Table ET_AGR
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Sent Table ET_RETURN
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Execute after RfcCall(1, PRGN_J2EE_USER_GET_ROLENAMES, 1, null, 2)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Execute before RfcReceive(1, PRGN_J2EE_USER_GET_ROLENAMES, null, null, 2)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Expecting Table ET_AGR
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Expecting Table ET_RETURN
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Execute after RfcReceive(1, PRGN_J2EE_USER_GET_ROLENAMES, null, null, 2)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: [JAV-LAYER] JCO.Client.execute (PRGN_J2EE_USER_GET_ROLENAMES) on handle [1] returns after 10 ms
Output: null
Output tables:
TABLES (uc)
ET_AGR J2EE_AGRNAME TABLE 0 0 0 6 AU
ET_RETURN BAPIRET2 TABLE 0 0 6 9 AU
J2EE_AGRNAME (uc)
AGR_NAME - CHAR 0 30 0 60 A
BAPIRET2 (uc)
TYPE - CHAR 0 1 0 2 A
ID - CHAR 1 20 2 40 A
NUMBER - NUM 21 3 42 6 A
MESSAGE - CHAR 24 220 48 440 A
LOG_NO - CHAR 244 20 488 40 A
LOG_MSG_NO - NUM 264 6 528 12 A
MESSAGE_V1 - CHAR 270 50 540 100 A
MESSAGE_V2 - CHAR 320 50 640 100 A
MESSAGE_V3 - CHAR 370 50 740 100 A
MESSAGE_V4 - CHAR 420 50 840 100 A
PARAMETER - CHAR 470 32 940 64 A
ROW - INT 502 2 1004 4 A
FIELD - CHAR 504 30 1008 60 A
SYSTEM - CHAR 534 10 1068 20 A
ET_AGR: 4 row(s)
row 0
00000000
005300410050005F0042 0043005F004200410053 00490053005F00410044 004D0049004E00200020
SAP_BC_BASIS_ADMIN
00000020
00200020002000200020 00200020002000200020
row 1
00000000
005300410050005F0042 0043005F004200410053 00490053005F004D004F 004E00490054004F0052
SAP_BC_BASIS_MONITOR
00000020
0049004E004700200020 00200020002000200020
ING
row 2
00000000
005300410050005F0042 0043005F004A00530046 005F0043004F004D004D 0055004E004900430041
SAP_BC_JSF_COMMUNICA
00000020
00540049004F004E005F 0052004F002000200020
TION_RO
row 3
00000000
005300410050005F004A 003200450045005F0041 0044004D0049004E0020 00200020002000200020
SAP_J2EE_ADMIN
00000020
00200020002000200020 00200020002000200020
ET_RETURN: 0 row(s)
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: [JAV-LAYER] JCO.Pool.releaseClient([1]) in pool com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy_1217213625244_1
SAPEngine_Application_Thread[impl:3]_0 [20:10:48:994]: Reset before RfcCleanupContext(1)
SAPEngine_Application_Thread[impl:3]_0 [20:10:49:004]: Reset after RfcCleanupContext(1)
JCoRequestDispatcher [20:10:50:104]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:10:50:104]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:10:53:723]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:10:53:723]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:10:55:723]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:10:55:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:10:57:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:10:57:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:10:59:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:10:59:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:01:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:01:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:03:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:03:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:05:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:05:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:07:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:07:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:09:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:09:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:11:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:11:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:13:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:13:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:15:733]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:15:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:17:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:17:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:19:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:19:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:21:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:21:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:23:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:23:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
JCoRequestDispatcher [20:11:25:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) = RC_RETRY_LISTEN leave
JCoRequestDispatcher [20:11:25:743]: [JAV-LAYER] Dispatcher.waitForRequest(2000) enter
SAPEngine_Application_Thread[impl:3]_38 [20:11:26:593]: [JAV-LAYER] JCO.setProperty(jco.trace_level, 0)
at com.sap.mw.jco.JCO.setProperty(JCO.java:464)
at com.sap.mw.jco.JCO.setTraceLevel(JCO.java:633)
at com.sap.engine.services.rfcengine.RFCRuntimeInterfaceImpl.setStaticProperties(RFCRuntimeInterfaceImpl.java:1354)
at com.sap.engine.services.rfcengine.RFCRuntimeInterfaceImpl.changeBundleConfiguration(RFCRuntimeInterfaceImpl.java:654)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Please suggest..
Thanks,
Subhash.G -
Report Designer: Text not able dispaly in the report
Hi,
Am using Report Designer with the variable 0FISPER,when user select the period like Period 12 2007 then in the Report it should Display as December 2007(as Header).I tried maintained Text to that variable and also maintained text in the SPRO for the table t009c.Here when i maintain text in the table(t009c) in the variable i can see only jan, feb,...........Dec when i select in the pop up window say Jan in the report it display only Jan but not the year.
We are in SP15
Thanks=Points in SDN
SanjeevIt sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
http://hostname:port/cgi-bin/rwcgi60exe?
If you get a help screen, then you should be able to bring up your report.
Regards,
Xiaoling -
Bex Report Designer is not previewing changes in QA
Hi All,
Please help... i am getting an unusual problem with bex report designer. I have created a bex report using report designer. This was then transported in to QA. In QA i opened my created report using report designer and clicked the print version button to preview the report in PDF format. This all worked correclty, however i noticed a spelling mistake in one of the custom text fields i am using.
So i put the report in a transport in dev, made the changes in dev and previewed in dev. Everything is ok here and i can see the change i made.
After this i transported the report to QA and when i open the report in report designer to preview the data i can see in design mode that the custom text field does HAVE the change i made so it is correct. The problem i am getting is though when i preview to see in PDF format the image i get is of the old preview with the spelling mistake.
SInce i have made more changes and i can see the changes in DEV and in QA in design mode but when i preview it shows me the old image from the 1st preview.
Please can anyone shed any light into this issue.
Kind regards
ForhadRefreshed the JAVA server resolved issue
-
XML Report Arabic letter not coming in Report
Hi all
when i try to generate xml report from Concurrent,
the arabic letter coming as ??????????? in report.
Can any one help me in this issue...Hi ,
Can you check the below link
http://prsync.com/oracle/non-english-characters-appears-as---in--bi-publisher-pdf-output--27505/
May be helpful for you.
Thanks,
Ananth -
Reports server not coming up....
Hi ,
During clonign after the changing of APPS password the reports server is not coming up ....
getting the error below....
adrepctl.sh: exiting with status 2
starting Reports Server for CT1RTD on port 25103.
REP-0186: Daemon failed to listen to port
adrepctl.sh: exiting with status 0
Reports Server for CT1RTD is already stopped.
I had changed the CGIcmd.dat...wiht the newly updated apps password and also updated wdbsvr.app...
TNS entry also fine....
port is not used by anything else....
before changing the APPS password it was running up and fine...
anyone have any idea...how ot fix this....
Thanks,
Krissue got fixed...when changed the domain in tnsnames.ora
-
Header is not coming in alv list display- urgent
hi all,
i am sending my code below....
my requirement is in selection screen i have 4 radio buttons . if i click 1 radio button it will duiisplay data and and its header. report is working fine. my requirement id when i click r_mssng radio button(missing radio button) it is showing data correctsly. here i want to show header as 'Missing details report'.
this is not coming in my report. anybody can suggest me.
i am sending my code below....
report zvra0001ftb13 message-id zv.
Confidential and Proprietary
* Celestica Corporation
* All Rights Reserved
*ABAP Name: ZVRA0001FTB13
*Created by: Srinivasa Chakravarthi
*Created on: 26/03/2003
*SAP Version: 4.6 C
*Description: This report displays details of foreign trades
and EHS based on the deliveries made to the outside
countries.
*Input: Selection Screen Criteria includes country of
origin,Company code, Sales Organisation,
Ship-to-party, Sold-to-paarty, Goods movement date,
Invoice number, Invoice type, Material , Material
Type, Exporter ID, Province of origin.
*Output: ALV output that contains Mode of Transport, Export
HS number, Commodity Description, Quantity, UOM,
Value, Country of Destination, Goods Origin
*Dependency: Nil
*Modification Log:
*CR# Date Coded Transport Description
*====== ======== ========= ============= ===============================
*5147 26/03/2003 Srinivas ED1K922286 New Development
*8700 02/11/2004 H.Arular ED1K938380 To check if entries of Comm
Code(HS code)is less than 8
digits and give a warning
message.
*18684 25/07/2007 MAHEEDHAR Merge the logic from report
ZVRA0001FTB13_ERROR into
report ZVRA0001FTB13 and
added two radio buttons
called missing data and non
missing data, addedc logic
accoriding to the radio
buttons.
*Declaring Tables.
tables: likp, "Delivery document Header
lips, "Delivery Document Item
vbfa, "Sales document Flow
bkpf, "Accounting Document Header
eikp, "Foreign Trade:Export/Import Data
eipo, "Foreign Trade:Export/ Import
"Header data
t618t, "Forein Trade:Mode of Transport
"Description
t604t, "Foreign Trade: Commodity Code/
"Import Code number Description.
mara, "Material master data.
t005, "Countries
t001, "Company Codes
tvko, "Sales Organisations
kna1, "Customer Master
t003, "Document types
t134, "Material types
tvfk,
konv,
vbrk.
constants : c_rep like vbrk-fkart value 'YGFB',
c_for(10) value 'Foreign'.
*Decalre Type pool for ALV
type-pools: slis.
*Type declaration for LIKP.
types: begin of t_data1,
vbeln like likp-vbeln, "Delivery
kunnr like likp-kunnr,
end of t_data1.
*Type declaration for LIPS,VBFA.
types: begin of t_data2,
vbeln like lips-vbeln, "Delivery
posnr like lips-posnr, "Delivery Item
vbelv like vbfa-vbelv, "Preceding SD document
posnv like vbfa-posnv, "Preceding item of SD document
matnr like lips-matnr, "Material Number
meins like lips-meins, "Base unit of measure
lfimg like lips-lfimg, "Actual Quantity Delivered
mtart like mara-mtart,
end of t_data2.
**Type declaration for BKPF.
*types: begin of t_data3,
belnr like bkpf-belnr, "Accounting Documnet number
bukrs like bkpf-bukrs, "Company Code
end of t_data3.
*Type declaration for BKPF.
types: begin of t_data3,
vbeln like vbrk-belnr, " Billing Doc
fkart like vbrk-fkart,
land1 like vbrk-land1,
end of t_data3.
*Type declaration for EIPO.
types: begin of t_data4,
vbeln like lips-vbeln, "Delivery
posnr like lips-posnr, "Delivery Item
matnr like vbrp-matnr,
fkimg like vbrp-fkimg,
meins like vbrp-meins,
verld like eipo-verld, "Country of dispatch for Foreign
"trade
herkl like eipo-herkl, "Country of origin of material
grwrt like eipo-grwrt, "Statistical value for Foreign
" trade
stawn like eipo-stawn, "Commodity code for foreign trade
expvz like eikp-expvz, "Mode of transport for foreign
"trade
end of t_data4.
*Type declaration for T618T.
types: begin of t_data5,
land1 like t618t-land1, "Country key
expvz like t618t-expvz, "Mode of Transport
bezei like t618t-bezei, "Description
end of t_data5.
*Type declaration for T604T.
types: begin of t_data6,
land1 like t604t-land1, "Country key
stawn like t604t-stawn, "Commodity Code
text1 like t604t-text1, "Description
end of t_data6.
*Type declaration for T604T.
types: begin of t_mara,
matnr like mara-matnr,
end of t_mara.
types : begin of rep_val,
vbelv like vbfa-vbelv,
posnv like vbfa-posnv,
vbeln like vbfa-vbeln,
posnn like vbfa-posnn,
uepos like vbap-uepos,
posnr like vbap-posnr,
netwr like vbap-netwr,
end of rep_val.
types : begin of t_price,
vbeln like vbak-vbeln,
posnr like vbap-posnr,
knumv like konv-knumv,
kposn like konv-kposn,
kbetr like konv-kbetr,
kpein like konv-kpein,
end of t_price.
data : t_sord type rep_val occurs 0 with header line.
data : t_dord type rep_val occurs 0 with header line.
data : t_rord type rep_val occurs 0 with header line.
data : t_hord type rep_val occurs 0 with header line.
data : t_ford type rep_val occurs 0 with header line.
data : i_price type t_price occurs 0 with header line.
data : i_price1 type t_price occurs 0 with header line.
data : i_mara type t_mara occurs 0 with header line.
data : i_sort type slis_t_sortinfo_alv.
DATA: t_layout TYPE slis_layout_alv.
*Declaring Selection screen.
selection-screen begin of block b1 with frame title text-101.
select-options:
s_verld for eipo-verld, "Country of Dest.
s_bukrs for bkpf-bukrs, "Company code
s_vkorg for likp-vkorg, "Sales Organisation
s_kunnr for likp-kunnr, "Ship-to-Party
s_kunag for likp-kunag, "Sold-to-party
s_wadat for likp-wadat_ist, "Goods Movement date
s_belnr for vbrk-vbeln, "Invoice number
s_blart for vbrk-fkart. "Invoice type.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-101.
select-options:
s_matnr for mara-matnr, "Material
s_mtart for mara-mtart. "Material Type
selection-screen end of block b2.
selection-screen begin of block b3 with frame title text-101.
parameters:
p_export(30) type c default '1366770724RM' obligatory , "Exporter ID
p_provi(30) type c default 'ONTARIO' obligatory ,
p_sumid(30) type c default 'SUM0704'.
"Province of Origin
selection-screen end of block b3.
selection-screen begin of block b4 with frame title text-104.
parameters:
r_summ radiobutton group zsum,
r_dets radiobutton group zsum,
r_mssng radiobutton group zsum, " maheedhar
R_NMSNG RADIOBUTTON GROUP ZSUM. " MAHEEDHAR
selection-screen skip.
parameter : p_sum as checkbox .
selection-screen end of block b4.
selection-screen begin of block b5 with frame title text-105.
select-options : s_i_kun for likp-kunnr.
selection-screen end of block b5.
*Data Declaration
data: i_fieldcat type slis_t_fieldcat_alv.
data: l_fieldcat type slis_fieldcat_alv .
data: v_lin type i.
data: v_lfstk type c value 'C'.
data: v_vbtyp type c value 'U'.
data: i_data1 type t_data1 occurs 0 with header line.
data : begin of t_T005t occurs 0.
include structure t005t.
data : end of t_t005t.
data: i_data2 type t_data2 occurs 0 with header line.
data: t_delv type t_data2 occurs 0 with header line.
data: t_bild type t_data2 occurs 0 with header line.
data: i_data3 type t_data3 occurs 0 with header line.
data: i_data4 type t_data4 occurs 0 with header line.
data: i_data5 type t_data5 occurs 0 with header line.
data: i_data6 type t_data6 occurs 0 with header line.
*Declare Internal table for ALV output.
data: begin of i_output occurs 0,
belnr like vbrk-vbeln,
posnr like vbrp-posnr,
bezei like t618t-bezei,
stawn like eipo-stawn,
text1 like t604t-text1,
quantity type p decimals 2,
meins like lips-meins,
value type p decimals 2,
verld like t_t005t-landx,
herkl like t_t005t-landx,
strlen, "ED1K938380
end of i_output.
maheedhar-start.
data : i_output1 like i_output occurs 0 with header line,
i_output2 like i_output occurs 0 with header line.
maheedhar-end
data : buff_out like i_output occurs 0 with header line.
data: begin of t_outsum occurs 0,
bezei like t618t-bezei,
stawn like eipo-stawn,
text1 like t604t-text1,
quantity type p decimals 2,
meins like lips-meins,
value type p decimals 2,
verld like t_t005t-landx,
herkl like t_t005t-landx,
end of t_outsum.
data : v_ans.
data : variante LIKE disvariant.
data : v_repid LIKE sy-repid.
data : wa_listheader TYPE slis_listheader.
data : t_listheader TYPE slis_t_listheader.
data : b_text(250).
data: evntS type slis_t_event with header line. " MAHEEDHAR
EVENT AT SELECTION-SCREEN
at selection-screen.
*For Autorisation check
perform authorisation_check.
Validation of Selection screen
perform check_entry.
EVENT START-OF-SELECTION
start-of-selection.
*Get data
perform select_data.
**For calling ALV function modules
MAHEEDHAR - START
if r_mssng eq 'X'.
DELETE I_OUTPUT WHERE BEZEI NE SPACE AND
STAWN NE SPACE AND
HERKL NE SPACE AND
VERLD NE SPACE.
DESCRIBE TABLE I_OUTPUT LINES V_LIN.
IF V_LIN > 0.
PERFORM DISPLAY_OUTPUT.
ELSE.
MESSAGE E000 WITH TEXT-130.
ENDIF.
elseif R_SUMM eq 'X' OR R_DETS EQ 'X'. "ENDIF. " MAHEEDHAR
MAHEEDHAR-END
describe table i_output lines v_lin.
if v_lin > 0.
buff_out[] = i_output[].
Begin of ED1K938380
delete buff_out where stawn ne space or "ED1K938380
verld eq space or
herkl eq space.
delete buff_out where strlen ne 'X' or
verld eq space or
herkl eq space.
End of ED1K938380
describe table buff_out lines v_lin.
Lines with no commodity code exists.
if v_lin gt 0.
concatenate text-902 text-903 into b_text.
concatenate text-906 text-907 into b_text. "ED1K938380
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = Text-901
TEXT_QUESTION = b_text
TEXT_BUTTON_1 = 'Yes'
TEXT_BUTTON_2 = 'No'
DEFAULT_BUTTON = '2'
IMPORTING
ANSWER = v_ans.
if v_ans eq '1'.
perform display_output.
endif.
else.
perform display_output.
endif.
else. " MAHEEDHAR
message e000 with text-130.
endif.
MAHEEDHAR-START
*"-- If non missing details radiobutton is selected
elseif r_nmsng = 'X'.
*"-- move data from i_output to i_output1.
i_output1[] = i_output[].
sort i_output by belnr.
sort i_output1 by belnr.
*"-- to get missing data
delete i_output1 where bezei ne space and
stawn ne space and
herkl ne space and
verld ne space.
loop at i_output.
*"-- compare two int tables with respective document number
read table i_output1 with key belnr = i_output-belnr.
if sy-subrc ne 0.
move-corresponding i_output to i_output2.
append i_output2.
clear i_output2.
endif.
endloop.
describe table i_output2 lines v_lin.
if v_lin gt 0.
perform display_output.
else.
message e000 with text-130.
endif.
MAHEEDHAR-END.
ENDIF. " MAHEEDHAR
FORM SELECT_DATA *
form select_data.
Data:l_strlen type i. "ED1K938380
*Get details from LIKP.
if s_i_kun[] is initial.
select likpvbeln likpkunnr
into corresponding fields of table i_data1
from likp
inner join vbuk on likpvbeln = vbukvbeln
where
likp~vkorg in s_vkorg and
likp~kunnr in s_kunnr and
likp~kunag in s_kunag and
likp~wadat_ist in s_wadat and
vbuk~wbstk = 'C' .
else.
select likpvbeln likpkunnr
into corresponding fields of table i_data1
from likp
inner join vbuk on likpvbeln = vbukvbeln
where
( ( likp~vkorg in s_vkorg and
likp~kunnr in s_kunnr and
likp~kunag in s_kunag and
likp~wadat_ist in s_wadat and
vbuk~wbstk = 'C' )
or
likp~kunnr in s_i_kun and
likp~wadat_ist in s_wadat and
vbuk~wbstk = 'C' ) .
endif.
if sy-subrc ne 0.
message e000 with text-200.
endif.
*Get details from table LIPS
select lips~vbeln
lips~posnr
vbfa~vbeln
vbfa~posnn
lips~matnr
lips~meins
lips~lfimg
mara~mtart
from lips
inner join vbfa on vbfavbelv = lipsvbeln
and vbfaposnv = lipsposnr
inner join mara on maramatnr = lipsmatnr
into table i_data2
for all entries in i_data1
where
lips~vbeln = i_data1-vbeln and
lips~matnr in s_matnr and
vbfa~vbeln in s_belnr and
mara~mtart in s_mtart and
vbfa~vbtyp_n = 'U'.
if sy-subrc ne 0.
message e000 with text-201.
endif.
t_delv[] = i_data2[].
t_bild[] = i_data2[].
sort t_delv by vbeln.
delete adjacent duplicates from t_delv comparing vbeln.
sort t_bild by vbeln ascending vbelv descending.
delete adjacent duplicates from t_bild comparing vbeln.
*Get details of Accounting document number
select vbeln fkart land1 from vbrk
into table i_data3
for all entries in t_bild
where vbeln = t_bild-vbelv and
bukrs in s_bukrs and
fkart in s_blart and
vkorg in s_vkorg and " MAHEEDHAR
land1 in s_verld. " MAHEEDHAR
sort i_data3.
*Get details from EIPO.
select vbrp~vbeln
vbrp~posnr
vbrp~matnr
vbrp~fkimg
vbrp~meins
eipo~verld
eipo~herkl
eipo~grwrt
eipo~stawn
eikp~expvz
from eikp
inner join vbrp on vbrp~vbeln = eikp~refnr
inner join eipo on eikp~exnum = eipo~exnum
and eipo~expos = vbrp~posnr
into table i_data4 for all entries in i_data3
where vbrp~vbeln = i_data3-vbeln.
eipo~verld in s_verld.
if sy-subrc ne 0.
message e000 with text-201.
endif.
IF R_MSSNG NE 'X' or r_nmsng = 'X'. " MAHEEDHAR
perform get_price.
ENDIF. " MAHEEDHAR
Get details from T618T.
select land1
expvz
bezei
from t618t
into table i_data5
for all entries in i_data4
where
land1 = 'CA' and " Getting for Canada only
expvz = i_data4-expvz and
spras = sy-langu.
select matnr from mara into table i_mara where matnr in s_matnr
and mtart in s_mtart.
Get details from T604T.
select land1
stawn
text1
from t604t
into table i_data6
for all entries in i_data4
where
land1 = i_data4-VERLD and
stawn = i_data4-stawn and
spras = sy-langu.
select * from T005t into table t_T005t where spras = sy-langu.
loop at i_data3.
loop at i_data4 where vbeln eq i_data3-vbeln.
clear : i_data1, i_data2.
read table i_data2 with key vbelv = i_data4-vbeln
posnv = i_data4-posnr.
read table i_data1 with key vbeln = i_data2-vbeln.
if not s_i_kun[] is initial.
check ( ( i_data1-kunnr in s_i_kun ) or
( i_data3-land1 in s_verld ) ).
else.
check i_data3-land1 in s_verld .
endif.
read table i_mara with key matnr = i_data4-matnr.
if sy-subrc eq 0.
read table i_data5 with key expvz = i_data4-expvz .
land1 = i_data3-land1.
read table i_data6 with key stawn = i_data4-stawn
land1 = i_data4-VERLD.
move i_data4-vbeln to i_output-belnr.
move i_data4-posnr to i_output-posnr.
move i_data5-bezei to i_output-bezei.
move i_data6-text1 to i_output-text1.
Begin of ED1K938380.
l_strlen = strlen( i_data4-stawn ).
if l_strlen < 8.
move 'X' to i_output-strlen.
endif.
End of ED1K938380.
move i_data4-stawn to i_output-stawn.
move i_data4-meins to i_output-meins.
read table t_T005t with key land1 = i_data3-land1.
move t_t005t-landx to i_output-verld.
if p_sum eq space.
if i_data4-herkl ne 'CA'.
i_output-herkl = c_for.
else.
read table t_T005t with key land1 = i_data4-herkl.
move t_t005t-landx to i_output-herkl.
endif.
else.
read table t_T005t with key land1 = i_data4-herkl.
move t_t005t-landx to i_output-herkl.
endif.
move i_data4-fkimg to i_output-quantity.
if i_data3-fkart eq c_rep.
read table t_dord with key vbeln = i_data4-vbeln
posnn = i_data4-posnr.
if sy-subrc eq 0.
read table t_sord with key vbeln = t_dord-vbelv
posnn = t_dord-posnv.
if sy-subrc eq 0.
read table t_hord with key vbeln = t_sord-vbelv
posnr = t_sord-posnv.
if sy-subrc eq 0.
read table t_ford with key vbeln = t_hord-vbeln
posnr = t_hord-uepos.
if sy-subrc eq 0.
read table i_price with key vbeln = t_ford-vbeln
posnr = t_ford-posnr.
if sy-subrc eq 0.
read table i_price1 with key knumv = i_price-knumv
kposn = t_ford-posnr.
if sy-subrc eq 0.
if i_price1-kpein ne 0.
i_output-value =
( i_price1-kbetr / i_price1-kpein ) *
i_data4-fkimg.
endif.
endif.
endif.
endif.
endif.
endif.
endif.
else.
move i_data4-grwrt to i_output-value.
endif.
append i_output.
clear i_output.
clear : i_data5, i_data6.
endif.
endloop.
endloop.
sort i_output by verld herkl bezei stawn.
endform.
FORM DISPLAY_OUTPUT *
This form is to create the ALV output
form display_output.
data: xevents type slis_t_event,
ls_event type slis_alv_event,
slis_ev_top_of_page type slis_formname value 'TOP_OF_PAGE',
slis_ev_end_of_list type slis_formname value 'END_OF_LIST'.
*Call Function 'REUSE_ALV_EVENTS' for top of page
call function 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = xevents
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.
read table xevents with key name = slis_ev_top_of_page
into ls_event.
if sy-subrc = 0.
move slis_ev_top_of_page to ls_event-form.
append ls_event to xevents.
endif.
read table xevents with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move slis_ev_end_of_list to ls_event-form.
append ls_event to xevents.
endif.
if r_dets ne space.
*Call Function 'REUSE_ALV_FIELD_CATALOG_MERGE' for position fixing in
*the output.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = 'ZVRA0001FTB13'
i_internal_tabname = 'I_OUTPUT'
i_inclname = 'ZVRA0001FTB13'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
i_bypassing_buffer = 'X'
i_buffer_active = ' '
changing
ct_fieldcat = i_fieldcat
exceptions
inconsistent_interface = 1
program_error = 2
others = 3.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at i_fieldcat into l_fieldcat.
l_fieldcat-key = ' '.
case l_fieldcat-fieldname.
when 'BELNR'.
l_fieldcat-seltext_m = text-912.
l_fieldcat-seltext_l = text-912.
l_fieldcat-reptext_ddic = text-912.
l_fieldcat-col_pos = '1'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '12'..
when 'POSNR'.
l_fieldcat-seltext_m = text-913.
l_fieldcat-seltext_l = text-913.
l_fieldcat-reptext_ddic = text-913.
l_fieldcat-col_pos = '2'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '6'.
when 'BEZEI'.
l_fieldcat-seltext_m = text-911.
l_fieldcat-seltext_l = text-911.
l_fieldcat-reptext_ddic = text-911.
l_fieldcat-col_pos = '3'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '15'..
when 'STAWN'.
l_fieldcat-seltext_m = text-111.
l_fieldcat-seltext_l = text-111.
l_fieldcat-reptext_ddic = text-111.
l_fieldcat-col_pos = '4'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '30'.
when 'TEXT1'.
l_fieldcat-seltext_m = text-112.
l_fieldcat-seltext_l = text-112.
l_fieldcat-outputlen = '40'.
l_fieldcat-col_pos = '5'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-112.
when 'QUANTITY'.
l_fieldcat-outputlen = '18'.
l_fieldcat-reptext_ddic = text-113.
l_fieldcat-seltext_m = text-113.
l_fieldcat-col_pos = '6'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-113.
when 'MEINS'.
l_fieldcat-outputlen = '8'.
l_fieldcat-reptext_ddic = text-114.
l_fieldcat-seltext_m = text-114.
l_fieldcat-col_pos = '7'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-114.
when 'VALUE'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-115.
l_fieldcat-seltext_l = text-115.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-115.
when 'VERLD'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-116.
l_fieldcat-seltext_l = text-116.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-116.
when 'HERKL'.
l_fieldcat-seltext_m = text-117.
l_fieldcat-seltext_l = text-117.
l_fieldcat-outputlen = '30'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-117.
when others.
l_fieldcat-no_out = 'X'.
endcase.
modify i_fieldcat from l_fieldcat.
endloop.
Call Function 'REUSE_ALV_LIST_DISPLAY' for dispaly of data in ALV.
call function 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZVRA0001FTB13'
it_fieldcat = i_fieldcat
it_events = xevents
is_layout = t_layout
i_save = 'A'
i_bypassing_buffer = 'X'
i_buffer_active = ' '
TABLES
t_outtab = i_output
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.
else. " MAHEEDHAR
ELSEIF R_SUMM EQ 'X'. " MAHEEDHAR
sort i_output by verld herkl stawn bezei.
loop at i_output.
move-corresponding i_output to t_outsum.
collect t_outsum.
endloop.
*Call Function 'REUSE_ALV_FIELD_CATALOG_MERGE' for position fixing in
*the output.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = 'ZVRA0001FTB13'
i_internal_tabname = 'T_OUTSUM'
i_inclname = 'ZVRA0001FTB13'
i_bypassing_buffer = 'X'
i_buffer_active = ' '
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
others = 3.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at i_fieldcat into l_fieldcat.
l_fieldcat-key = ' '.
case l_fieldcat-fieldname.
when 'BEZEI'.
l_fieldcat-seltext_m = text-911.
l_fieldcat-seltext_l = text-911.
l_fieldcat-reptext_ddic = text-911.
l_fieldcat-col_pos = '1'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '15'..
when 'STAWN'.
l_fieldcat-seltext_m = text-111.
l_fieldcat-seltext_l = text-111.
l_fieldcat-reptext_ddic = text-111.
l_fieldcat-col_pos = '2'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '30'.
when 'TEXT1'.
l_fieldcat-seltext_m = text-112.
l_fieldcat-seltext_l = text-112.
l_fieldcat-outputlen = '40'.
l_fieldcat-col_pos = '3'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-112.
when 'QUANTITY'.
l_fieldcat-outputlen = '18'.
l_fieldcat-reptext_ddic = text-113.
l_fieldcat-seltext_m = text-113.
l_fieldcat-col_pos = '4'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-113.
when 'MEINS'.
l_fieldcat-outputlen = '8'.
l_fieldcat-reptext_ddic = text-114.
l_fieldcat-seltext_m = text-114.
l_fieldcat-col_pos = '5'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-114.
when 'VALUE'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-115.
l_fieldcat-seltext_l = text-115.
l_fieldcat-col_pos = '6'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-115.
when 'VERLD'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-116.
l_fieldcat-seltext_l = text-116.
l_fieldcat-col_pos = '7'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-116.
when 'HERKL'.
l_fieldcat-seltext_m = text-117.
l_fieldcat-seltext_l = text-117.
l_fieldcat-outputlen = '30'.
l_fieldcat-col_pos = '8'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-117.
when others.
l_fieldcat-no_out = 'X'.
endcase.
modify i_fieldcat from l_fieldcat.
endloop.
Call Function 'REUSE_ALV_LIST_DISPLAY' for dispaly of data in ALV.
call function 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZVRA0001FTB13'
it_fieldcat = i_fieldcat
it_events = xevents
i_save = 'A'
is_layout = t_layout
i_default = 'X'
is_variant = variante
i_bypassing_buffer = 'X'
i_buffer_active = ' '
TABLES
t_outtab = t_outsum
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.
MAHEEDHAR-START.
*"-- if detail summary checkbox is selected
elseIF R_MSSNG = 'X'.
PERFORM PREPARE_HEADER.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = 'ZVRA0001FTB13'
i_internal_tabname = 'I_OUTPUT'
i_inclname = 'ZVRA0001FTB13'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
i_bypassing_buffer = 'X'
i_buffer_active = ' '
changing
ct_fieldcat = i_fieldcat
exceptions
inconsistent_interface = 1
program_error = 2
hi,
*& Report ZALV_FIELD_GRID1
REPORT ZALV_FIELD_GRID1
NO STANDARD PAGE HEADING.
TABLES MARA.
type-pools :slis.
TYPES : BEGIN OF TMARA ,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
ERSDA LIKE MARA-ERSDA,
color(4) type c,
SEL type c,
LIGHT TYPE C,
END OF TMARA.
TYPES: BEGIN OF TMAKT,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
MAKTG LIKE MAKT-MAKTG,
SEL TYPE C,
COLOR(4),
END OF TMAKT.
DATA: ITAB TYPE TMARA OCCURS 0 WITH HEADER LINE,
ITAB1 TYPE TMAKT OCCURS 0 WITH HEADER LINE,
wa_fieldcat type slis_fieldcat_alv,
fieldcat type slis_fieldcat_alv occurs 0,
i_layout type slis_layout_alv,
WA_LISTHEADER TYPE SLIS_LISTHEADER ,
i_LISTHEADER TYPE SLIS_LISTHEADER OCCURS 0,
V_EVENTS TYPE SLIS_T_EVENT ,
WA_EVENT TYPE SLIS_ALV_EVENT,
I_TITLE_MARA TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED',
I_TITLE_MAKT TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED',
SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE,
PRINT_CONT type slis_print_alv.
SELECTION SCREE
selection-screen begin of block screen1 with frame title TEXT-001.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT /32(35) COMM1.
SELECTION-SCREEN ULINE /27(35).
SELECTION-SCREEN SKIP.
SELECT-OPTIONS MATNR FOR MARA-MATNR.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN COMMENT /30(50) COMM2.
SELECTION-SCREEN ULINE /27(40).
SELECTION-SCREEN SKIP.
SELECT-OPTIONS ERSDA FOR MARA-ERSDA.
SELECTION-SCREEN SKIP.
selection-screen end of block screen1.
INITIALIZATION
INITIALIZATION.
MATNR-low = '23'.
MATNR-high = '1000'.
MATNR-option = 'BT'.
MATNR-sign = 'I'.
APPEND MATNR.
ERSDA-low = '20030124'.
ERSDA-high = '20050302' .
APPEND ERSDA.
PERFORM FILLFIELD.
PERFORM FILLLAYOUT.
PERFORM build_print_params.
PERFORM FILL_SORT.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
comm1 ='SELECT MATERIAL NUMBER RANGE'.
comm2 ='SELECT MATERIAL CREATION DATE'.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM READDATA.
PERFORM POPDATA.
*& Form READDATA
text
FORM READDATA .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = MATNR-LOW
IMPORTING
OUTPUT = MATNR-LOW.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = MATNR-HIGH
IMPORTING
OUTPUT = MATNR-HIGH.
SELECT MATNR
ERSDA
MEINS
FROM MARA
INTO CORRESPONDING FIELDS OF
TABLE ITAB
WHERE MATNR IN MATNR AND ERSDA IN ERSDA.
LOOP AT ITAB.
data id_color type i VALUE 1.
data id_colors(2) type c.
IF ITAB-MATNR < '000000000000000100'.
ITAB-LIGHT = '1'.
ELSEIF ITAB-MATNR < '000000000000000150' AND ITAB-MATNR >
'000000000000000100' .
ITAB-LIGHT = '2'.
ELSE.
ITAB-LIGHT = '3'.
ENDIF.
id_color = id_color + 1.
if id_color > 7.
id_color = 1.
endif.
id_colors = id_color.
concatenate 'C' id_colors '10' into itab-color.
modify itab.
CLEAR ITAB.
endloop.
ENDFORM. " READDATA
Form FILLFIELD
FORM FILLFIELD .
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-KEY = 'X'.
WA_FIELDCAT-COL_POS = '1'.
WA_FIELDCAT-outputlen = 20.
WA_FIELDCAT-HOTSPOT = 'X'.
wa_fieldcat-seltext_m = 'MATERIAL NUMBER'.
*WA_FIELDCAT-EMPHASIZE = 'C210'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'MEINS'.
WA_FIELDCAT-COL_POS = '2'.
*WA_FIELDCAT-EMPHASIZE = 'C510'.
WA_FIELDCAT-outputlen = 10.
wa_fieldcat-seltext_m = 'UNIT'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'ERSDA'.
WA_FIELDCAT-COL_POS = '3'.
WA_FIELDCAT-outputlen = 15.
*WA_FIELDCAT-EDIT_MASK = 'DD.MM.YYYY'.
*WA_FIELDCAT-EMPHASIZE = 'C710'.
wa_fieldcat-seltext_m = 'CREAT DATE'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
ENDFORM. "FILLFIELD
Setup print parameters
form build_print_params.
PRINT_CONT-reserve_lines = '3'. "Lines reserved for footer
PRINT_CONT-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
Form POPDATA
FORM POPDATA .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER-COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOPPAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = I_TITLE_MARA
I_GRID_SETTINGS =
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = SORT[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = V_EVENTS
IT_EVENT_EXIT =
IS_PRINT = PRINT_CONT
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " POPDATA
Form TOPPAGE
FORM TOPPAGE.
REFRESH I_LISTHEADER.
DATA: ld_lines type i,
ld_linesc(10) type c,
I_DATE(10) TYPE C,
I_INFO LIKE WA_LISTHEADER-INFO.
WA_LISTHEADER-TYP = 'H'.
WA_LISTHEADER-INFO = 'MATERIAL DETAIL'.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
WA_LISTHEADER-TYP = 'S'.
WA_LISTHEADER-KEY = 'DATE :'.
CONCATENATE SY-DATUM+6(2) '.'
SY-DATUM+4(2) '.'
SY-DATUM(4) INTO I_DATE.
WA_LISTHEADER-INFO = I_datE.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
describe table ITAB lines ld_lines.
ld_linesc = ld_lines.
concatenate 'TOTAL NUMBER OF RECORD SELECTED: ' ld_linesc
into I_INFO separated by space.
WA_LISTHEADER-TYP = 'A'.
WA_LISTHEADER-INFO = I_INFO.
append WA_LISTHEADER to I_LISTHEADER.
clear: WA_LISTHEADER , I_INFO.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = I_LISTHEADER
I_LOGO = 'ENJOYSAP_LOGO'.
ENDFORM. "TOPPAGE
Form FILLLAYOUT
FORM FILLLAYOUT .
i_layout-zebra = 'X'.
i_layout-info_fieldname = 'COLOR'.
i_layout-box_fieldname = 'SEL'.
I_LAYOUT-lights_fieldname = 'LIGHT'.
I_LAYOUT-EDIT ='X'.
I_LAYOUT-colwidth_optimize = 'X'.
I_LAYOUT-window_titlebar = 'EXAMPLE FOR ALV GRID'.
I_LAYOUT-no_totalline = 'X'.
ENDFORM. "FILLLAYOUT
Form FILL_SORT
FORM FILL_SORT .
SORT-DOWN = 'X'.
SORT-SPOS = 1.
SORT-FIELDNAME = 'MATNR'.
SORT-tabname = 'MARA'.
APPEND SORT.
ENDFORM. " FILL_SORT
Form EVENT_CALL
FORM EVENT_CALL .
DATA: I_EVENT LIKE V_EVENTS.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS.
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
FORM POPULATE_EVENT .
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.
READ TABLE V_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
INTO WA_EVENT.
IF SY-SUBRC = 0.
move 'END_OF_PAGE' to WA_EVENT-FORM.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-NAME.
endif.
ENDIF.
ENDFORM. "POPULATE_EVENT
FORM END_OF_PAGE.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
ENDFORM.
*& Form USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
CASE RS_SELFIELD-FIELDNAME.
when 'MATNR'.
read table itab with key matnr = RS_SELFIELD-VALUE.
if sy-subrc = 0.
PERFORM DATA_RETRIEVAL_MAKT USING RS_SELFIELD-VALUE.
PERFORM BUILD_FIELDCATLOG_MAKT.
PERFORM FILLLAYOUT_MAKT.
PERFORM DISPLAY_ALV_MAKT.
CLEAR RS_SELFIELD.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. "user_command
Form DATA_RETRIEVAL_MAKT
FORM DATA_RETRIEVAL_MAKT USING TMATNR .
SELECT MATNR
MAKTX
MAKTG
UP TO 100 ROWS
FROM MAKT
INTO TABLE ITAB1
WHERE SPRAS = 'EN' AND MATNR = TMATNR.
LOOP AT ITAB1.
data id_color type i VALUE 1.
data id_colors(2) type c.
id_color = id_color + 1.
if id_color > 7.
id_color = 1.
endif.
id_colors = id_color.
concatenate 'C' id_colors '10' into itab1-color.
modify itab1.
CLEAR ITAB1.
ENDLOOP.
ENDFORM. "DATA_RETRIEVAL_MAKT
Form FILLLAYOUT_MAKT
FORM FILLLAYOUT_MAKT .
CLEAR I_LAYOUT.
i_layout-zebra = 'X'.
i_layout-info_fieldname = 'COLOR'.
i_layout-box_fieldname = 'SEL'.
I_LAYOUT-EDIT ='X'.
I_LAYOUT-colwidth_optimize = 'X'.
I_LAYOUT-window_titlebar = 'EXAMPLE FOR ALV GRID'.
ENDFORM. " LAYOUT_MAKT
Form BUILD_FIELDCATLOG_MAKT
FORM BUILD_FIELDCATLOG_MAKT .
REFRESH FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-KEY = 'X'.
WA_FIELDCAT-COL_POS = '1'.
*WA_FIELDCAT-EDIT_MASK = 'DD.MM.YYYY'.
WA_FIELDCAT-EMPHASIZE = 'C510'.
wa_fieldcat-seltext_m = 'MATERIAL NUMBER'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'MAKTX'.
WA_FIELDCAT-COL_POS = '2'.
WA_FIELDCAT-EMPHASIZE = 'C710'.
wa_fieldcat-seltext_m = 'MATERIAL DESCRIPTION'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'MAKTG'.
WA_FIELDCAT-COL_POS = '3'.
WA_FIELDCAT-EMPHASIZE = 'C210'.
wa_fieldcat-seltext_m = 'MATERIAL DESCRIPTION'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
ENDFORM. " BUILD_FIELDCATLOG_MAKT
Form DISPLAY_ALV_MAKT
FORM TOP-OF-PAGE.
REFRESH I_LISTHEADER.
DATA: ld_lines type i,
ld_linesc(10) type c,
I_DATE(10) TYPE C,
I_INFO LIKE WA_LISTHEADER-INFO.
WA_LISTHEADER-TYP = 'H'.
WA_LISTHEADER-INFO = 'MATERIAL DESCRIPTION FOR SELECTED NUMBER'.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
WA_LISTHEADER-TYP = 'S'.
WA_LISTHEADER-KEY = 'DATE :'.
CONCATENATE SY-DATUM+6(2) '.'
SY-DATUM+4(2) '.'
SY-DATUM(4) INTO I_DATE.
WA_LISTHEADER-INFO = I_datE.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
describe table ITAB1 lines ld_lines.
ld_linesc = ld_lines.
concatenate 'TOTAL NUMBER OF RECORD SELECTED: ' ld_linesc
into I_INFO separated by space.
WA_LISTHEADER-TYP = 'A'.
WA_LISTHEADER-INFO = I_INFO.
append WA_LISTHEADER to I_LISTHEADER.
clear: WA_LISTHEADER , I_INFO.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = I_LISTHEADER
I_LOGO = 'ENJOYSAP_LOGO'.
I_END_OF_LIST_GRID =
I_ALV_FORM =
ENDFORM. "TOP-OF-PAGE
*& Form DISPLAY_ALV_MAKT
text
FORM DISPLAY_ALV_MAKT .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
I_GRID_TITLE = I_TITLE_MAKT
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = fieldcat
TABLES
T_OUTTAB = ITAB1
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_MAKT
Regards
Ashok kumar -
I have some problems inserting queries into the report designer.
It seems only queries containing only key figures in the columns can be added as data provider.
If I have a characteristic in the columns I get a message: "Report Designer does not support this query drilldown. Do you really want to delete this section ? and at least one Characteristic in Rows!". (I also have characteristics in the rows. )
When I remove the characteristic from the columns, it works.
Is my assumption correct or am I missing something ?Hi Guys,
the correct answer is:
the report designer needs fixed Columns. During Designtime the numbers of columns needs to be fixed, due to mapping reasons. This means if you have 2 dynamic parts Char in rows and columns, the runtime can not identify the corresponding rowpattern which should be applied. There for the limitation Fixed columns exists. But it should be possible to have 2 structures in the columns and several characteristics in Rows.
best regards,
Kai -
Report designer error for hierarchial structure on Columns
Hello,
I have a query with a structure in rows and another one in columns. I also have a 0COMPANY hierarchy Dimension within the Columns.
When I insert the data provider into a report designer report, I receive the following error:
"Query contains a hierarchial structure on Column(s)..."
Has any one encountered this issue before? Is there a note or workaround available?
Thank you.
Sri YallaHi,
the report designer need to have a fixed number of columns. If you have a Hierarchical Structure in the Columns, the number of columns can change. Therefore Report designer does not allow to use this DP in this drill down. You should place the Row structure to the columns and the hier-structure to the rows. then it should work.
best regards,
kai -
Hi, Folks,
The Report designer is not functioning, received this message when attempting to insert a data provider:
Error while loading query metadata , Check the query and portal setting.
RSBOLAP 018 Java system error: call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId NWPORTAL_PORTAL_NWP on host NWPORTAL with SSO not authorized: Authentication failed.
Pls give me a hand.
If it is basis issue, can you tell me which note do I need to check?
Thanks in advance,
SamHi,
Check this OSS note 1061091and 916090
Hope This helps,
With Regards,
PCR
Maybe you are looking for
-
ITunes won't open - "iTunes" folder cannot be created
Following a power outage (and surge I'm assuming), one of my hard drives crashed. It was only used for additional storage space while the operating system was on a seperate and unharmed drive. I had moved the "My Music" folder to this additional driv
-
When I swipe down the notification center, I can not find "tap to tweet" or "tap to post." How can I put it back?
-
A tricky one - setsoftkeys changing when Textfield clicked!!??
Hi all. This issue is killing me (ok....not quite...but it's uncomfortable). I use the code below to set my softkeys in my FL2.0, AS2.0 application. It works like a charm......almost. The trouble is when i click on (NOT hover over/focus on) an inp
-
Two MaxDB crashes in the last 5 days, how can I find the reason ?
Hello, My MaxDB-Server crashed two times in the last 5 days and I have no idea why. Can you help me to find the reason for the crashes ? My MaxDB 7.6.05 is running on a Linux server and I never had such problems before. Here are some lines from the k
-
Can't download Flash CS5 with Akamai Download Manager!!
I'm working at a company which has high security environment. Akamai Download Manager starts to download a trial Flash CS5. However, it stops quickly and downloads nothing (zero byte). I want to download a trial Flash CS5 without Akamai Download Mana