Parameter ~TRANSACTION in webgui service
Hi all,
we plan to publish transaction PPMDT on our intranet using the SAP GUI for HTML.
I copied the service "webgui" and tried to add the parameter ~TRANSACTION = PPMDT in "GUI Configuration", but it has no effect. When I call the service in a browser and log on, the usual start menu is displayed, not transaction PPMDT. I also set parameter ~WEBGUI_SIMPLE_TOOLBAR = 32 in the same place and it works fine.
Can I only specify the ~TRANSACTION parameter in the URL? Or is there a possibility to specify the parameter somewhere in SICF?
As I am not an ITS expert at all, I appreciate any help.
Thank you, Michael
Hello Michael,
What you have done should work. Just to be clear:
1. create a new service that is the exact copy of WEBGUI
2. in the GUI configuration area add ~transaction PPMDT
3. save and test.
Besides the "~transaction PPMDT" what else is in the GUI Configuration area for the new service that you created?
Edgar
Similar Messages
-
How to present custom transactions using WebGUI
I am developing custom transactions in ECC6.0 and I need to access them via WebGUI. What do I need to WebGUI-enable custom transactions?
I am familiar with the SICF transaction, but I was wondering if I need to create new HTML templates using WebApplicationBuilder or if everything is provided to me by the system.just call the webgui service with the url parameter ~transaction=<yourtransactioncode>
you would need a new html template, only if you want to change the look and feel ofyour application. -
Error while executing webgui service
Hi All,
I have created a R/3 system(system object, system alias) in portal and maintained the ITS properties. When i am testing the connection for the ITS its working fine. When i am trying to execute the servie "webgui" in R/3 system by using the T-code SICF i am getting the following error. Can you please help me out in this regard.
Error when processing your request
What has happened?
The URL http://eccdev.thcomp.com:8000/sap/bc/gui/sap/its/webgui was not called due to an error.
Note
The following error text was processed in the system DEV : Template interpretation cancelled, syntax error.
The error occurred on the application server ECCDEV_DEV_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
SYSTEM-EXIT of program SAPLSMTR_NAVIGATION
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DEV in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server ECCDEV_DEV_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server ECCDEV_DEV_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Thanks & Regards,
Ramesh.Good day,
You may have issues with your ITS configuration. Try the following:
1.) Run T-CODE SIAC_PUBLISH_ALL_INTERNAL. This will republish all templates.
2.) Go to sap/bc/gui activate the complete node.
3.) Go to sap/bc/icf activate the complete node.
4.) Go to sap/bc/ping activate the complete node.
5.) Go to sap/public/bc activate the complete node.
6.) Select the WebGui Service and inspect that the Handler List has a handler defined e.g.CL_HTTP_EXT_ITS (if not enter this and save).
Re-test the service. -
Variable values in the Webgui Service of an ITS
Hello,
I can define fixed values in the webgui service parameters (GUI configuration in the ITS webgui service in SICF transaction), does someone know if I can define variable values? Instead of a literal...
I know I could do it passing this value when calling the R/3 transaction from the iview, but I can not do this now.
Is there any possibility? Does someone have any idea? I need to get the value in the portal, and check it in R/3, but I do not know how can I get it in R/3...
Thank you very much! Regards,
Araitz.In the future, please start a new thread with a new question/issue. Thanks.
Each root AM has its own connection and your VPD context would need to be set independently for each one. You could write generic code in a framework extension class for application modules that each of your root AM's extends in order to better refactor that common/reusable code, but each root AM would have its own separate connection at runtime.
Despite it's not being possible, the easiest answer to your second question would be to call getDBTransaction().rollback() to rollback the transaction. By default this would clear the caches and the next time your VO instance gets used it would requery. -
Blank SU53 transaction via WebGui.
Hi Experts,
We are facing a problem using the SU53 transaction via WebGui.
You can recreate the error using T-code SICF via testing the webgui service and loging on to xxx 100.
- Call the SU53 transaction using the transactioncodefield in the WebGui.
- As a result you will receive an empty screen
We already applied SAP Note 1111145 , but it doesn´t.
Please suggest a solution.
Thanks,
SridharCould you solve your problem? I got a similar one, I want to use transaction ES32 via CALL TRANSACTION to jump into edit mode of an installation. The program says that there is no dynpro field EANLD-PRORATE.
My coding:
DATA: lt_bdc_data TYPE TABLE OF bdcdata,
wa_bdc_data LIKE LINE OF lt_bdc_data.
CLEAR lt_bdc_data.
CLEAR lt_bdc_data[].
CLEAR wa_bdc_data.
wa_bdc_data-program = 'SAPLES30'.
wa_bdc_data-dynpro = '0110'.
wa_bdc_data-dynbegin = 'X'.
APPEND wa_bdc_data TO lt_bdc_data.
CLEAR wa_bdc_data.
wa_bdc_data-fnam = 'EANLD-ANLAGE'.
wa_bdc_data-fval = wa_mscons_chk-anlage.
APPEND wa_bdc_data TO lt_bdc_data.
CLEAR wa_bdc_data.
wa_bdc_data-fnam = 'BDC_OKCODE'.
wa_bdc_data-fval = '=CHNG'.
APPEND wa_bdc_data TO lt_bdc_data.
CLEAR wa_bdc_data.
wa_bdc_data-fnam = 'EANLD-STICHTAG'.
wa_bdc_data-fval = wa_mscons_chk-ab.
APPEND wa_bdc_data TO lt_bdc_data.
CLEAR wa_bdc_data.
wa_bdc_data-fnam = 'EANLD-PRORATE'.
wa_bdc_data-fval = 'X'.
APPEND wa_bdc_data TO lt_bdc_data.
CALL TRANSACTION 'ES32' USING lt_bdc_data.
I also tried to put BDC_OKCODE at the end. Any ideas? -
Webgui service - system menu.
Hi,
I am using webgui service to display a standard SAP transaction on ESS through ITS. In doing so, the system also creates a 'system' and 'help' menu by default in the generated HTML template.
Is there anyway I can hide/remove these 'system' and 'help' menus?
Since, I am calling a standard txn., I cannot classify it as EWT...also, I dont want to create my own HTML templates.
Pls help.
Thanks,
Kapilcheck out the following thread.
/message/155699#155699 [original link is broken]
Regards
Raja -
How to set a default date as a parameter in Microsoft Reporting Services 2008 to January 1st
How can I set a default parameter for date for 01/01/yyyy.
Hi Giss68,
If I understand correctly, you want to set the first day of current year as a default value of a parameter in Microsoft Reporting Services 2008 report.
If in this scenario, we can use the expression below as the default value in the parameter:
=DateAdd("d",-DatePart(DateInterval.DayOfYear,Today,0,0)+1,Today)
The following document about DateAdd function is for your reference:
http://technet.microsoft.com/en-us/library/aa337194(v=sql.100).aspx
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
Problem getting parameter values at the service end point
I am having problem getting parameter values at the service end point. I created service end point and this method is having 35 parameters and then i created test client file using Sun One Studio 5. but when i run this test client and make a call to service it sends wrong value to first three parameters to the service end point. I tried all the way round but it gave me same sort of problem. I change the order of parameters change the names of parameters but it didn�t work. And then i started chopping of parameter from the left side. And my problem is solved when my parameter list reached to 12 from 35. So is it a bug or some problem with my configuration or some thing else.
I am using sun one studio 5 with sun one app 7. My service end point does very simple thing. It only takes out put of the parameter to the server log file. And my wsdl file seems all right. There is no conflict with the count and data type of the parameter information it contains.
� Service End Point Definition (in EJB)
public java.lang.String setNewAddress(java.lang.String propertyName, java.lang.String status, java.lang.String PMSCode, java.lang.String streetNumPrefix, int streetStartNum, java.lang.String streetStartNumSuffix, int streetEndNum, java.lang.String streetEndNumSuffix, java.lang.String streetName, java.lang.String streetType, java.lang.String streetSuffix, java.lang.String localityPrefix,java.lang.String localityName, java.lang.String postcode, java.lang.String stateCode, java.lang.String countryCode, java.lang.String description, java.lang.String coordinateAccuracy, int longitude, int latitude, java.lang.String planNumber, java.lang.String lotPrefix, int lotNumber, int siteID, java.lang.String countryName, java.lang.String parishName, java.lang.String section, int portionNum, int crownAllotNum, int titleVol, java.lang.String folio, java.lang.String esa, int aliasID, int aliasTagID,String ID) {
System.out.println(propertyName);
System.out.println(PMSCode);
System.out.println(streetNumPrefix);
........ taking printout of all the paramters
� This is my WSDL file
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="NMService" targetNamespace="urn:NMService/wsdl" xmlns:tns="urn:NMService/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="NMServiceServantInterface_setNewAddress">
<part name="String_1" type="xsd:string"/>
<part name="String_2" type="xsd:string"/>
<part name="String_3" type="xsd:string"/>
<part name="String_4" type="xsd:string"/>
<part name="int_5" type="xsd:int"/>
<part name="String_6" type="xsd:string"/>
<part name="int_7" type="xsd:int"/>
<part name="String_8" type="xsd:string"/>
<part name="String_9" type="xsd:string"/>
<part name="String_10" type="xsd:string"/>
<part name="String_11" type="xsd:string"/>
<part name="String_12" type="xsd:string"/>
<part name="String_13" type="xsd:string"/>
<part name="String_14" type="xsd:string"/>
<part name="String_15" type="xsd:string"/>
<part name="String_16" type="xsd:string"/>
<part name="String_17" type="xsd:string"/>
<part name="String_18" type="xsd:string"/>
<part name="int_19" type="xsd:int"/>
<part name="int_20" type="xsd:int"/>
<part name="String_21" type="xsd:string"/>
<part name="String_22" type="xsd:string"/>
<part name="int_23" type="xsd:int"/>
<part name="int_24" type="xsd:int"/>
<part name="String_25" type="xsd:string"/>
<part name="String_26" type="xsd:string"/>
<part name="String_27" type="xsd:string"/>
<part name="int_28" type="xsd:int"/>
<part name="int_29" type="xsd:int"/>
<part name="int_30" type="xsd:int"/>
<part name="String_31" type="xsd:string"/>
<part name="String_32" type="xsd:string"/>
<part name="int_33" type="xsd:int"/>
<part name="int_34" type="xsd:int"/>
<part name="String_35" type="xsd:string"/></message>
<message name="NMServiceServantInterface_setNewAddressResponse">
<part name="result" type="xsd:string"/></message>
<portType name="NMServiceServantInterface">
<operation name="setNewAddress" parameterOrder="String_1 String_2 String_3 String_4 int_5 String_6 int_7 String_8 String_9 String_10 String_11 String_12 String_13 String_14 String_15 String_16 String_17 String_18 int_19 int_20 String_21 String_22 int_23 int_24 String_25 String_26 String_27 int_28 int_29 int_30 String_31 String_32 int_33 int_34 String_35">
<input message="tns:NMServiceServantInterface_setNewAddress"/>
<output message="tns:NMServiceServantInterface_setNewAddressResponse"/></operation></portType>
<binding name="NMServiceServantInterfaceBinding" type="tns:NMServiceServantInterface">
<operation name="setNewAddress">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:NMService/wsdl"/></input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:NMService/wsdl"/></output>
<soap:operation soapAction=""/></operation>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/></binding>
<service name="NMService">
<port name="NMServiceServantInterfacePort" binding="tns:NMServiceServantInterfaceBinding">
<soap:address location="http://localhost:80/NMService/NMService"/></port></service></definitions>
� I followed steps given this example. http://developers.sun.com/prodtech/javatools/jsstandard/reference/docs/s1s5/stockapp.html.
If some one know what is wrong. Is it me or some thing wrong with the method I followed. But I am sure that I followed exactly the same method as it given in examples. So if some one can guide me
ThanksI just found that there is a bug with Sun One Studio 5. It creates faulty JSP file to test the client for the web services. With above problem I tested my web services using different developing environment such as Jdeveloper 10g. I created client stub using wsdl file generated by sun one studio. And made call to my web service and all the parameter reached perfectly at service end point. And then I used stub class created by sun one studio for the client and made the same call. And it also went well. So the problem is with the test application (JSP File) sun one creates for my web service.
This is the majore problem i faced during the development. But still there is many problem along with this which is not seriouse enough but requires attension. I would like sun developers to make sun one studio IDE simpler and handy . -
How to create a variant used in SM30,View variant in Parameter transaction?
Dear Team,
I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious.
The question is on TVIMV-VARIANT How can we create a variant which can be used in tcode SM30.
Delving a little deeper show that these variants Obsolete since R/3 Release 3.1I: Selection variant for a table or maintenance view.
Since R/3 Release 4.0, there are view variants instead of selection variants.
The field only exists for reasons of backwards compatibility.
If thats is so, How do I use the same in parameter transaction..?
I have tried creating a view variant and use it parameter transaction but in vain..
Please help resolve my problem. I hope I am very clear. If still need any clarification, please get back to me.
Thanks a lot in advance,
Reagards,
Sai.
P.S. Though there are multiple quuestions on simlar subjects none of them has been either answered or is completely relevant to mine.Dear Suman,
Thanks a lot for the answer. Actually the Tcode is getting created if I do what you have said me.
But when I run the tcode which was created by view variant created, I am not getting the desired details .
To be more clear..
Previously there was a variant (TMIMV-VARIANT) created with follwing criteria..
Table TMIMV.
TABNAME VARIANT AS4POS VIEWFIELD NEGATION OPERATOR VALUE AND_OR TABIX
V_TCURR ZTHB 1 KURST NOT EQ M AND 2
V_TCURR ZTHB 2 KURST NOT EQ DWBP AND 2
V_TCURR ZTHB 3 TCURR EQ THB OR 4
V_TCURR ZTHB 4 TCURR EQ USD OR 4
V_TCURR ZTHB 5 TCURR EQ US$ 4
When we run tcode created by paramaeter transaction.. viewname as V_TCURR, TMIMV-VARIANT. I am getting the desired records for updation.
But if I do the same using View variant with the same selection criteria
Table Field name Operator Comaparison AND/OR
Value
TCURR KURST NE 'M' AND
TCURR KURST NE 'DWBP' AND
TCURR TCURR EQ THB OR
TCURR TCURR EQ USD OR
TCURR TCURR EQ US$
And the run the tcode created by using the view variant .. I am getting No entries found that match selection criteria...
Could you please help and let me know if I am missing any step.. Kindly also check from your side how this can be achieved.
Thanks a lot in advance,
Sai. -
Error while calling MII transaction as web service from ABAP
Hello Experts,
I want to call a MII transaction from ABAP program, as a web service.
Following is output of http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX (TAG_TRX is name of my transaction).
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
- <!-- Types
-->
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
- <s:complexType name="InputParams">
- <s:sequence id="InputSequence">
<s:element maxOccurs="1" minOccurs="0" name="WEIGHT" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="BATCHID" type="s:string" />
</s:sequence>
</s:complexType>
- <s:element name="XacuteRequest">
- <s:complexType>
- <s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="Rowset">
- <s:sequence>
<s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
</s:sequence>
<s:attribute name="Message" type="s:string" />
</s:complexType>
- <s:complexType name="Row">
<s:sequence id="RowSequence" />
</s:complexType>
- <s:element name="XacuteResponse">
- <s:complexType>
- <s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
- <!-- Messages
-->
- <message name="XacuteSoapIn">
<part element="s0:XacuteRequest" name="parameters" />
</message>
- <message name="XacuteSoapOut">
<part element="s0:XacuteResponse" name="parameters" />
</message>
- <!-- Ports
-->
- <portType name="XacuteWSSoap">
- <operation name="Xacute">
<input message="s0:XacuteSoapIn" />
<output message="s0:XacuteSoapOut" />
</operation>
</portType>
- <!-- Bindings
-->
- <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Xacute">
<soap:operation soapAction="http://www.sap.com/xMII" style="document" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <!-- Service mapping
-->
- <service name="XacuteWS">
- <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
<soap:address location="http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX" />
</port>
</service>
</definitions>
Now, when I am using http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX to create a Enterprise Service in SAP (i.e. SE80 transaction-> Create Enterprise Service-> Service Consumer-> URL/HTTP Destination-> URL ... I am getting following error.
Incorrect value: Entity "<<document>>"(5 /93 ). unexpected symbol: '<'
But, whenever I am using the same URL in MII BLS, it does not give any error. It correctly shows all input and output parameters.
Please help me to resolve this issue.
Regards
Neeta.Now, I am able to create the Web Service in SAP and it is now showing the respective class, attribute and methods to execute this web service (web service to call MII transaction).
But when I am calling it from ABAP (a simple Web Dynpro for ABAP method), it is showing me the following error:
Error (id=GET_BUSINESS_SYSTEM_ERROR): An error occurred when determining the business system (LD_ERROR)
Thought this error is coming from ABAP program, but I am sure that this is related to some configuration at SAP level. (Let me inform you that there are two different servers for SAP Web Dynpro ABAP and SAP MII.
Please help.
Thanks in advance. -
Parameter Transaction Code for Function Group based Tcodes
Hi,
I have created a function group for a single screen 1000 having only 2 screen fields with input/output enabled, one of them being a flag field. Have also created a Transaction code to point to the screen 1000.
My requirement is to create another Tcode(Parameter Transaction Code) with the previous created Tcode and pass default values to the screens flag element. I have entered the below :
Name of the screen field
Value
FLAG
X
Still i am not able to get the value of FLAG as X when i debug the program. I am confused what mistake have i done. It will be helpful if someone can guide on this. I know its simple and i believe me i have tried all possible ways to check my mistake. Couldn't find any.
Thanks and Regards,
Vadid ValiullaYes, Basically i am calling TCODE1 from TCODE2.
I am using the same Function Group and yes a global variable is defined for the screen fields.
I actually do not want to go by the Parameter ID method. But still i can use it if that is easier. Currently there is no Parameter ID for the screen field as i wanted the Tcode2 also to be called independently.
Thanks for your time Prakash
Regards,
Vadid -
Provide authenticated username as parameter to a business service in OSB 12c
Dear OSB/OSB experts,
I have the following issue:
1. I have a web service that would accept username as a parameter in the SOAP request in order to do some internal authorization checks (filtering database rows, tables, etc.)
2. I want to connect that web service as business service in OSB 12c
3. The proxy service should NOT accept username as parameter
4. The proxy service should be protected via OWSM policy for authentication (either against the WLS authentication providers or through SAML tokens validation)
Based on the above is there any mechanism in the implementation of the proxy service to get the authenticated username from the security context and provide it as a parameter to the business service?
The authentication policy could use SAML tokens between two WLS domains - one will be running the WLS where proxy service clients will be running and the other - for the SOA 12c.
Many thanks in advance,
AnatoliHI,
u can use Conditional Branching
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1061670
Split join would be used in case u need to split your request and call your Business Service in Serial/parallel & then gather resposnes from multiple callouts to have single response
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/splitjoin.html#wp1137258
Abhinav -
Authorization object for parameter transactions
Hi all,
I'm trying to restrict transaction VL10h for shipping point,this transaction is a parameter transaction and is not controlled by an authorization object directly.when I run a trace , transaction Vl10x shows up. The authorization object that is being checked is V_LIKP_VST.
Note : The requirement is when the user executes transaction VL10h he/she should be able to display only those shipping points they are authorized to.
Please advice.
Thanks,
Mohan.Hi Mohan,
For transaction VL10H you can specify values for the following fields in authorization object V_LIKP_VST:
-Activity:
01 Create or generate
02 Change
03 Display
04 Print, edit messages
18 Deliveries from coll. proc.
24 Archive
25 Reload
85 Reverse
-Shipping point: Here you must set the restriction for each group of users that are allowed for the maintenance of the shipping points that are used for delivery processing.
You can restrict the access through these fields.
Regards,
Leandro -
Hi All,
I have created a Parameter transaction for SM30 by which I am able to maintain entries in my user-defined table. But, I would like to restrict the entries displayed (not using the conditions in SM30) by creating the selection screen where only the few fields of the user-defined table are presented for selection and based on that I get output. I want the full functionality of the parameter transaction(creation , deletion of the entries) though.
if some one has any ideas kindly let me know.
Thanks,
ManishHi Manish,
I don't know if a two-step maintenance is good for you as suggested in one reply here, but if your requirement is to give user a SM30 feature but have a selection screen of your own, then here is an example of how you can achieve that with a custom program. I don't think you can achieve that with just parametric transaction and without using conditions and without modifying the maintenance screens.
Let me know if you have any questions regarding this code. This program is for a Z table mainetnance which has two fields, a code and a description. Users are given a choice of entering their criteria for either the code or the description or both. This criteria is internally converted to a format that the table maintenance function module understands. The result is that users get to see and maintain only the records that they wanted.
REPORT test.
* DB TABLES AND STRUCTURES *
TABLES: sscrfields,
z_group.
* INTERNAL TABLES *
*-- Internal table for seltab
DATA : i_seltab LIKE vimsellist OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF i_excl_tab OCCURS 0,
pfkey LIKE sy-pfkey.
DATA: END OF i_excl_tab.
* VARIABLES *
* CONSTANTS *
*------------------------ Selection Screen ---------------------------*
*-- Maintain EOQ Tables: Initial Screen
SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-000.
SELECTION-SCREEN SKIP 1.
*-- Select the table you want to maintain
SELECTION-SCREEN BEGIN OF BLOCK program WITH FRAME TITLE text-001.
PARAMETERS : p_table LIKE dd02l-tabname DEFAULT 'Z_GROUP'.
SELECTION-SCREEN END OF BLOCK program.
SELECTION-SCREEN BEGIN OF BLOCK fursel WITH FRAME TITLE text-002.
*-- Selections for EOQ groups
SELECT-OPTIONS: s_group FOR z_group-group,
s_descr FOR z_group-descr NO-EXTENSION
NO INTERVALS.
SELECTION-SCREEN END OF BLOCK fursel.
*-- display or maintain options
SELECTION-SCREEN PUSHBUTTON: /10(20) update USER-COMMAND upda
MODIF ID ind,
35(20) display USER-COMMAND disp
MODIF ID ind.
SELECTION-SCREEN END OF BLOCK selscr.
INITIALIZATION.
PERFORM initialize_variables.
AT SELECTION-SCREEN OUTPUT.
*-- set the PF Status for the selection screen
PERFORM set_sel_screen_pf_status.
LOOP AT SCREEN.
CHECK screen-name = 'P_TABLE'.
screen-input = 0.
MODIFY SCREEN.
ENDLOOP.
AT SELECTION-SCREEN.
CHECK NOT p_table IS INITIAL.
PERFORM call_maintenance USING sscrfields-ucomm.
START-OF-SELECTION.
END-OF-SELECTION.
*--------------------- Routines used in the program -------------------*
* FORM initialize_variables *
FORM initialize_variables.
MOVE: 'Update'(006) TO update,
'Display'(007) TO display.
ENDFORM. " initialize_variables
* FORM SET_SEL_SCREEN_PF_STATUS *
FORM set_sel_screen_pf_status.
MOVE 'ONLI' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
MOVE 'SJOB' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
MOVE 'PRIN' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
MOVE 'DYNS' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = '%_00'
p_program = 'RSSYSTDB'
TABLES
p_exclude = i_excl_tab.
ENDFORM. " SET_SEL_SCREEN_PF_STATUS
*& Form call_maintenance
* To display the maintenance of the table entered.
FORM call_maintenance USING action LIKE sy-ucomm.
DATA: l_view_action.
IF action = 'UPDA'.
l_view_action = 'U'.
ELSEIF action = 'DISP'.
l_view_action = 'S'.
ELSE.
EXIT.
ENDIF.
*-- prepare the select statement for the call
PERFORM prepare_sel_statement.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = l_view_action
* CORR_NUMBER = ' '
* GENERATE_MAINT_TOOL_IF_MISSING = ' '
* SHOW_SELECTION_POPUP = ' '
view_name = p_table
* NO_WARNING_FOR_CLIENTINDEP = ' '
* RFC_DESTINATION_FOR_UPGRADE = ' '
* CLIENT_FOR_UPGRADE = ' '
* VARIANT_FOR_SELECTION = ' '
* COMPLEX_SELCONDS_USED = ' '
TABLES
dba_sellist = i_seltab
* EXCL_CUA_FUNCT =
EXCEPTIONS
client_reference = 1
foreign_lock = 2
invalid_action = 3
no_clientindependent_auth = 4
no_database_function = 5
no_editor_function = 6
no_show_auth = 7
no_tvdir_entry = 8
no_upd_auth = 9
only_show_allowed = 10
system_failure = 11
unknown_field_in_dba_sellist = 12
view_not_found = 13
OTHERS = 14
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. " call_maintenance
* FORM prepare_sel_statement *
FORM prepare_sel_statement.
CLEAR: i_seltab, i_seltab[].
PERFORM prepare_seltab_for_grp.
ENDFORM. " PREPARE_SEL_STATEMENT
* FORM PREPARE_SELTAB_FOR_GRP *
FORM prepare_seltab_for_grp.
IF NOT s_group[] IS INITIAL.
*-- if any criteria is entered for the GROUP field
CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST'
EXPORTING
fieldname = 'GROUP'
* APPEND_CONJUNCTION = ' '
TABLES
sellist = i_seltab
rangetab = s_group.
ENDIF.
IF NOT s_descr[] IS INITIAL.
*-- if any criteria is entered for the GROUP DESCRIPTION field
CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST'
EXPORTING
fieldname = 'DESCR'
append_conjunction = 'AND'
TABLES
sellist = i_seltab
rangetab = s_descr.
ENDIF.
ENDFORM. " PREPARE_SELTAB_FOR_GRP
Hope this helps.
Srinivas -
MDM Server Password Parameter in SRM Web Service for SRM MDM Catalog 2.0
Hi Experts,
We have password set on our MDM server. I am little confused about how to define MDM server password parameter in external Web service Call structure in SRM System for SRM MDM Catalog 2.0.
Will Catalog webservice work, if we don;t define password for MDM server in webservice??if No, then please let me know how to define MDM server password in SRM websevice.
Any help will be highly appreciated.
Thanks,
ShivHi Shiv,
The MDM Server password is needed when you are changing Webdynpro UI Configuration.
For catalogs, all you need is the repository userid/password parameters in the call structutre.
SG
Maybe you are looking for
-
If you are attempting to update using a Mac or PC with which you do not normally sync
what happens when "If you are attempting to update using a Mac or PC with which you do not normally sync", & they say in step 2 or 3 in order not to loose your stuff "If you are updating your iOS device on a computer with which you do not normally sy
-
So, I bought a new Macbook Pro which i cannot authorize my itunes for. I don't even have the button indicated in the support section to authorize or deauthorize. I only have one device authorized to my account. I cant remember my security questions a
-
# is showing in the report
Hi Gurus, For the Info Object Course (0TRAINING) attributes -Course Start Date(0TRAINBEGDA) Course End Date (0TRAINENDDA) are there in Master Data after activating Master data, when excute the report it showing as # for start & end dates. Please h
-
HT4489 how do I print a copy of a month in iCloud calendar?
Is it possible to print a monthly calendar from iCloud like I could from iCal ?
-
Enable commenting preference using applescript
Hi forum, i got tis aftre surfing... The problem is : comments enabling happens only for the first 2 pdf inside the folder. Then from the third one,,, the dialog box just asks to save... manually and the script just stops. tell application "Finder"