Why tuxedo7.1 or Tuxedo6.5 can not call the service on Tuxedo8.0 server
Why tuxedo7.1 or Tuxedo6.5 can not call the service on Tuxedo8.0 server.
I wrote the Server Application with Tuxedo version 8.0.
And used tuxedo71 WS client to call the service.
The client application displayd tpinit fail.
ULog told me "prv7.1 not allowed,use -t option on wsl".
Is there any way to solve this problem?
thanks!
risen,
Yes there is a way to solve this. As the error message suggests, use the -t
option on your WSL server. Look at
http://edocs.bea.com/tuxedo/tux80/atmi/secadm10.htm#1284650
[ I know this documentation is astonishingly well hidden! ]
Peter.
risen wrote:
Why tuxedo7.1 or Tuxedo6.5 can not call the service on Tuxedo8.0 server.
I wrote the Server Application with Tuxedo version 8.0.
And used tuxedo71 WS client to call the service.
The client application displayd tpinit fail.
ULog told me "prv7.1 not allowed,use -t option on wsl".
Is there any way to solve this problem?
thanks!
Similar Messages
-
Why my iphone screen can not open the key and can not enter the menu
why my iphone screen can not open the key and can not enter the menu
Your issue is not clear - are you saying your phone is disabled and/or you forgot the passcode?
http://support.apple.com/kb/ht1212 -
HT6117 Error : Can not start the service "Apple Mobile Device"
I get this error message of Can not start the service "Apple Mobile Device" please verify if you have enough permission to start a service. I have tried reinstalling itunes but could not get rid of the error. I use Win 7 64bit OS. Please help me to resolve the issue
Thanks
VenkySee Troubleshooting issues with iTunes for Windows updates.
tt2 -
I can not call the webservice?!?!?
Hello,
I want to call a webservice, but the Inputfields are all disabled. I have used a simple Weahterservice where I can input a city.
I can not use it.
Also I have follow the steps in the weblog: /people/anilkumar.vippagunta2/blog/2005/07/20/developing-web-application-without-writing-single-line-of-code-my-first-web-log
But there is the same problem. I can not use the input-fields. In this example I have create the output for the state of delivery. When I push the button, the request is shown on the form: "Please enter correct from email address to send this message". So I think, that the webservice work.
What is my mistake? If anybody want to help me, I can send my project-files. It's only the usage of the webservice.
Thanks,
Peter
Edited by: Peter S on Jan 14, 2008 11:21 AM
The Webservice I used in my own sample is : http://www.webservicex.net/WeatherForecast.asmx
for WSDL use http://www.webservicex.net/WeatherForecast.asmx?wsdlI have not called the class which was under response
-
Can not parse the xml in orion server.
Hi, can anyone help me on this.
I have some configuration file which should be parsed when start the server. It works fine in tomcat , JRun, and some other server, now when I test it using the orion server, It throws out the
org.apache.commons.digester.xmlrules.XmlLoadException: Relative URI "digester-rules.dtd"; can not be resolved without a document URI.
I put the dtd and xml together in web-root and specify the location using
<!DOCTYPE digester-rules PUBLIC "-//Jakarta Apache //DTD digester-rules XML V1.0//EN" "digester-rules.dtd">
can anyone tell me how to resolve this.
following is a code snippet of init the digester
Digester ruleDigester = new Digester();
ruleDigester.setUseContextClassLoader(true);
System.out.println(ruleURL);
FromXmlRuleSet ruleSet = new FromXmlRuleSet(ruleURL, ruleDigester);
Digester digester = new Digester();
digester.setUseContextClassLoader(true);
ruleSet.addRuleInstances(digester);
rules = digester.getRules();I think you'd better ask this question in apache user mailing list
http://jakarta.apache.org/site/mail2.html#Commons -
Can not delete the service proxy entry from the Enterprise Service Browser
Hi All , Please provide ur valuable opinions on following:
I have created a service in ESB (se80 esr) , now i want to delete that entry , and when i right click on that entry and click on delete proxy , it does not actually deletes the service.. please propose a solution....what is the error message you recieve when you delete?
-
Why my ipad 2 can not recognize the vga cable with the new ios 8
When i connect my vga cable to my ipad´s cable port the ipad gives me a pop up telling me that the accesory may not be supported, this started happening when i installed ios , when i used to have ios 7 ii had no problems at all. is there a solution to it, if there is, what can i do to solve it?
Try connecting to iTunes (computer) and Check for Update.
-
Can not call web service created by workbench ES
I created a process in LiveCycle ES Workbench, a webservice is created automatically after activate this process.
I can see my wsdl on this path below.
http://myserver:port/soap/services/my_process?wsdl
After that, I created form in designer 8.1 then I call my web service.
but appear "Error attempting to read from file"
Please help me to solve this error.
Thank you.
Phatthalaphon.Another possible reason is that you are behind an NTLM authenticating proxy and don't have the "Display PDF in browser" option selected. This type of authentication is used by Microsoft ISA proxies (and probably a few others).
The following describes how a web browser makes a connection to a web site behind a NTLM proxy:
1) Request for the resource sent to the proxy.
2) Proxy replies with "407 Proxy Authentication Required" and a challenge.
3) Browser gets the required proxy credentials (usually the current Windows credentials) and hashes them with the challenge.
4) Browser re-requests the resource, this time with the hashed response in the header "Authorization".
5) Once the proxy verifies the credentials, it then forwards the request on to the actual resource.
Unfortunately Adobe Reader thinks that the "407 Proxy Authentication Required" is the actual response from the resource and tries to process it (which will fail with "Error attempting to read from file"). I can prove this is what was happening by looking at an Ethereal dump of the communication from Adobe Reader. I have explained the problem to a couple of Adobe people and they both think that this issue will not be resolved (in the near future anyway - see http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-2970)
We had to abandon a project (a fair way into it too) that made use use of a Reader Extended interactive PDF that would submit all of it's data once completed because of this reason.
Thankfully along came Form Guides! Because Form Guides use the Flash Player which in turn uses the browser's connection (which must have already completed the NTLM authentication before it downloads that .swf).
Hope this helps and is relevant. -
Urgent: can not startup the database in unix server
hi...i am facing a treamendous problem...
to shutdown the database(unix environmment), I have connected through putty and from there in the sysdba login, I have given the command "SHUTDOWN IMMEDIATE"
but after that suddenly the power failure occurred and my local machine from which i was accessing the unix server, got shutdown..
after the restart, when I am again accessing the putty and connected to the oracle11g server and from sysdba login, given the "STARTUP OPEN" command, then it is showing the error...
SQL> startup open
ORA-10997: another startup/shutdown operation of this instance inprogress
ORA-09968: unable to lock file
Linux-x86_64 Error: 11: Resource temporarily unavailable
Additional information: 29770
please help...its very urgent..My advice is, as your request is 'urgent', you submit a Service Request at level 1 at My Oracle Support.
This is a discussion forum and not a support forum, and it is manned by volunteers, not by Oracle Support Engineers.
Thank you for your current and future cooperation not to submit 'Urgent' requests in a forum of volunteers.
Sybrand Bakker
Senior Oracle DBA -
TS2529 itunes will not access the istore or itunes server for updates
I can not access the istore or itunes server from my itunes page...any articles or links on this???
Hi, tsgeisel,
iTunes can access CDDB for track information after a CD has been imported into iTunes by using the Advanced menu option I mentioned in my previous post.
If you want to check it out, import a CD when you're not connected to the internet - or with Automatically retrieve CD track names from internet unchecked in your iTunes Importing Preferences.
After the CD has been imported there will be no track information included. But if you then select the tracks - all together, one at a time or in any combination you desire - and select Get CD Track Names, you will be pleasantly surprised. -
My 5S is starting to "scramble" my calls so you can not understand the party on the other end.
Basics from the manual are restart, reset, restore
Have you tried all of these? -
I can only make the call on the third try, I can not hear the ringer
I can only make the call on the third try, I can not hear the ringer
Hi stig68,
If you are having grouping issues with compilation albums in iTunes, you may find the following article helpful:
Apple Support: Why aren't songs with the same album art grouped together?
http://support.apple.com/kb/TS1468
Regards,
- Brenden -
Why can not catch the standard BACK event in ALV's USER_COMMAND event,
Hi expert, why i can not catch the standard BACK event in ALV's USER_COMMAND event,
Code:
DATA G_CON_UC_FORM TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_TOP_OF_PAGE = G_CON_FORM
I_CALLBACK_USER_COMMAND = G_CON_UC_FORM
IT_FIELDCAT = G_TAB_FIELDCAT
IT_SORT = G_TAB_SORT_INF
I_SAVE = G_CON_U
*<<<Liang
IT_EVENTS = G_TAB_ALV_EVENTS
*<<<Liang
TABLES
T_OUTTAB = G_TAB_OUTPUT_DATA
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
*& Form F_USER_COMMAND
ALV USER COMMAND processing
FORM F_USER_COMMAND .
IF SY-UCOMM = '&FO3'.
LEAVE TO SCREEN 0.
ENDIF.
ENDFORM. " F_USER_COMMAND
When I set breakpoint on this subrouting ,and try to click stardard BACK or CANCEL button, the callback form do not run, but if double click one of line of alv report, the callback form works well,
so why??hi
good
check this report and change your code accordingly.
THESE LINES ARE FOR THE MAIN PROGRAM ***
SAP V40B ***
REPORT Z_PICK_LIST .
TABLES: RESB.
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1.
SELECT-OPTIONS: S_WERKS FOR RESB-WERKS," Plant
S_AUFNR FOR RESB-AUFNR," Order number
S_BDTER FOR RESB-BDTER." Req. date
SELECTION-SCREEN END OF BLOCK BL1.
PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT DEFAULT '/STANDARD'.
DATA: BEGIN OF OUT OCCURS 10,
AUFNR LIKE RESB-AUFNR, " Order number
MATNR LIKE RESB-MATNR, " Material
BDMNG LIKE RESB-BDMNG, " Requirements in UM
MEINS LIKE RESB-MEINS, " Unit of Measure (UM)
ERFMG LIKE RESB-ERFMG, " Requirements in UE
ERFME LIKE RESB-ERFME, " Unit of Entry (UE)
MAKTX LIKE MAKT-MAKTX, " Mat. description
END OF OUT.
INCLUDE Z_ALV_VARIABLES.
INITIALIZATION.
REPNAME = SY-REPID.
PERFORM INITIALIZE_FIELDCAT USING FIELDTAB[].
PERFORM BUILD_EVENTTAB USING EVENTS[].
PERFORM BUILD_COMMENT USING HEADING[].
PERFORM INITIALIZE_VARIANT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
PERFORM F4_FOR_VARIANT.
AT SELECTION-SCREEN.
PERFORM PAI_OF_SELECTION_SCREEN.
START-OF-SELECTION.
PERFORM GET_ORDERS.
PERFORM GET_MATERIAL_DESCRIPTION.
END-OF-SELECTION.
PERFORM BUILD_LAYOUT USING LAYOUT.
PERFORM BUILD_PRINT USING PRINTS.
PERFORM WRITE_USING_ALV.
FORM INITIALIZE_FIELDCAT *
--> P_TAB *
FORM INITIALIZE_FIELDCAT USING P_TAB TYPE SLIS_T_FIELDCAT_ALV.
DATA: CAT TYPE SLIS_FIELDCAT_ALV.
CLEAR CAT.
ENDFORM. " INITIALIZE_FIELDCAT
*& Form GET_ORDERS
text
FORM GET_ORDERS.
SELECT AUFNR MATNR BDMNG MEINS ERFMG ERFME
FROM RESB
APPENDING TABLE OUT
WHERE XLOEK EQ SPACE " deletion indicator
AND XWAOK EQ 'X' " goods movement indicator
AND WERKS IN S_WERKS " plant
AND BDTER IN S_BDTER " req. date
AND AUFNR IN S_AUFNR. " pr. order
ENDFORM. " GET_ORDERS
*& Form GET_MATERIAL_DESCRIPTION
text
FORM GET_MATERIAL_DESCRIPTION.
SORT OUT BY MATNR.
LOOP AT OUT.
SELECT SINGLE MAKTX
INTO OUT-MAKTX
FROM MAKT
WHERE MATNR EQ OUT-MATNR
AND SPRAS EQ 'EN'.
MODIFY OUT.
ENDLOOP.
SORT OUT BY AUFNR MATNR.
ENDFORM. " GET_MATERIAL_DESCRIPTION
FORM TOP_OF_PAGE *
FORM TOP_OF_PAGE.
DATA: L_POS TYPE P.
first line
WRITE:/ TEXT-001. " Plant:
IF S_WERKS-HIGH NE SPACE.
WRITE: S_WERKS-LOW, TEXT-TO1, S_WERKS-HIGH.
ELSEIF S_WERKS-LOW NE SPACE.
LOOP AT S_WERKS.
WRITE: S_WERKS-LOW.
ENDLOOP.
ELSEIF S_WERKS-LOW EQ SPACE.
WRITE: TEXT-ALL.
ENDIF.
L_POS = ( SY-LINSZ DIV 2 ) - ( STRLEN( TEXT-TIT ) DIV 2 ).
POSITION L_POS. WRITE: TEXT-TIT.
L_POS = SY-LINSZ - 20.
POSITION L_POS. WRITE: TEXT-011, SY-UNAME RIGHT-JUSTIFIED. " User:
second line
WRITE:/ TEXT-002. " Order:
IF S_AUFNR-HIGH NE SPACE.
WRITE: S_AUFNR-LOW, TEXT-TO1, S_AUFNR-HIGH.
ELSEIF S_AUFNR-LOW NE SPACE.
LOOP AT S_AUFNR.
WRITE: S_AUFNR-LOW.
ENDLOOP.
ELSEIF S_AUFNR-LOW EQ SPACE.
WRITE: TEXT-ALL.
ENDIF.
L_POS = SY-LINSZ - 20.
POSITION L_POS. WRITE: TEXT-012,SY-DATUM. " Date:
third line
WRITE:/ TEXT-003. " Req. Date:
IF S_BDTER-HIGH(1) NE '0'.
WRITE: S_BDTER-LOW, TEXT-TO1, S_BDTER-HIGH.
ELSEIF S_BDTER-LOW(1) NE '0'.
LOOP AT S_BDTER.
WRITE: S_BDTER-LOW.
ENDLOOP.
ELSEIF S_BDTER-LOW(1) EQ '0'.
WRITE: TEXT-ALL.
ENDIF.
L_POS = SY-LINSZ - 20.
POSITION L_POS. WRITE: TEXT-013, SY-PAGNO. " Page:
ENDFORM. " TOP_OF_PAGE
FORM END_OF_LIST *
FORM END_OF_LIST.
DATA: L_POS TYPE P.
ULINE.
WRITE:/ '|', TEXT-021. " Delivered by:
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|', TEXT-031. " Received by:
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
WRITE:/ '|'.
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|'.
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
ULINE.
WRITE:/ '|', TEXT-012. " Date:
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|', TEXT-012. " Date:
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
WRITE:/ '|'.
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|'.
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
ULINE.
ENDFORM. " END_OF_LIST
*& Form WRITE_USING_ALV
text
FORM WRITE_USING_ALV.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = REPNAME
I_INTERNAL_TABNAME = 'OUT'
I_INCLNAME = REPNAME
CHANGING
CT_FIELDCAT = FIELDTAB.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_FIELDCATALOG_MERGE'.
ENDIF.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = REPNAME
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
I_STRUCTURE_NAME = 'OUT'
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FIELDTAB
I_DEFAULT = 'A'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = EVENTS[]
IS_PRINT = PRINTS
TABLES
T_OUTTAB = OUT.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_LIST_DISPLAY'.
ENDIF.
ENDFORM. " WRITE_USING_ALV
THESE LINES ARE FOR THE INCLUDE ***
***INCLUDE Z_ALV_VARIABLES .
TYPE-POOLS: SLIS.
DATA: FIELDTAB TYPE SLIS_T_FIELDCAT_ALV,
HEADING TYPE SLIS_T_LISTHEADER,
LAYOUT TYPE SLIS_LAYOUT_ALV,
EVENTS TYPE SLIS_T_EVENT,
REPNAME LIKE SY-REPID,
F2CODE LIKE SY-UCOMM VALUE '&ETA',
PRINTS TYPE SLIS_PRINT_ALV,
TITLE(40) TYPE C,
G_SAVE(1) TYPE C,
G_EXIT(1) TYPE C,
G_VARIANT LIKE DISVARIANT,
GX_VARIANT LIKE DISVARIANT.
CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE',
FORMNAME_END_OF_LIST TYPE SLIS_FORMNAME VALUE 'END_OF_LIST',
FORMNAME_BEFORE_LINE TYPE SLIS_FORMNAME VALUE 'BEFORE_LINE',
FORMNAME_AFTER_LINE TYPE SLIS_FORMNAME VALUE 'AFTER_LINE'.
FORM MAIN_STATEMENTS *
THIS IS THE CODE THAT MUST BE INSERTED IN THE MAIN PROGRAM
FORM MAIN_STATEMENTS.
Declare the parameter P_VARI wherever you want it. If you don't
want it, hide it with NO-DISPLAY, but it must exist.
parameters: p_vari like disvariant-variant. " ALV Variant
You have to add the following line after the data and parameter
declaration:
include z_alv_variables.
Then, after the data/parameter declaration, add these lines:
*initialization.
repname = sy-repid.
perform initialize_fieldcat using fieldtab[].
perform build_eventtab using events[].
perform build_comment using heading[].
perform initialize_variant.
If you are using the variable P_VARI (ALV Variant), also add this:
*at selection-screen on value-request for p_vari.
perform f4_for_variant.
*at selection-screen.
perform pai_of_selection_screen.
After the "END-OF-SELECTION" statement, add these lines:
perform build_layout using layout.
perform build_print using prints.
perform write_using_alv.
You also have to create the following forms: (you can find samples
in this program)
INITIALIZE_FIELDCAT
USER_COMMAND (only if you are creating a STATUS)
WRITE_USING_ALV
ENDFORM.
*& Form INITIALIZE_FIELDCAT_SAMPLE
THIS IS A SAMPLE, DO NOT USE THIS FORM IN YOUR PROGRAM
-->P_FIELDTAB[] text *
FORM INITIALIZE_FIELDCAT_SAMPLE USING P_TAB TYPE SLIS_T_FIELDCAT_ALV.
DATA: CAT TYPE SLIS_FIELDCAT_ALV.
CLEAR CAT. " Always clear before use
CAT-TABNAME = 'I'. " Your internal table
CAT-REF_TABNAME = 'ZCUSTMAS'. " The data dictionary reference table
CAT-FIELDNAME = 'KUNNR'. " Name of your field in the itable.
CAT-COL_POS = 1. " Output position
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'NAME1'. " Next field
CAT-COL_POS = 2.
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'STRAS'. " and the next
CAT-COL_POS = 3.
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'LOEVM'.
CAT-SELTEXT_S = 'Del'. " You can always override the descrip-
CAT-SELTEXT_M = 'Delivery'. " tion (short, medium, large)
CAT-SELTEXT_L = 'Delivery Num'.
CAT-COL_POS = 4.
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'FKIMG'.
CAT-DO_SUM = 'X'. " You want totals calculated.
CAT-NO_OUT = 'X'. " and hidden.
APPEND CAT TO P_TAB.
ENDFORM. " INITIALIZE_FIELDCAT
*& Form BUILD_EVENTTAB
THIS IS THE SAME FOR ALL THE PROGRAMS
-->P_EVENTS[] text *
FORM BUILD_EVENTTAB USING P_EVENTS TYPE SLIS_T_EVENT.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = P_EVENTS.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_END_OF_LIST
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_END_OF_LIST TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_BEFORE_LINE_OUTPUT
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_BEFORE_LINE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_AFTER_LINE_OUTPUT
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_AFTER_LINE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
ENDFORM. " BUILD_EVENTTAB
*& Form BUILD_COMMENT
NOT REALLY NEEDED, BUT I'LL LEAVE IT THERE, JUST IN CASE...
-->P_HEADING[] text *
FORM BUILD_COMMENT USING P_HEADING TYPE SLIS_T_LISTHEADER.
DATA: HLINE TYPE SLIS_LISTHEADER,
TEXT(60) TYPE C,
SEP(20) TYPE C.
CLEAR: HLINE, TEXT.
HLINE-TYP = 'H'.
write: text-101 to text+23.
HLINE-INFO = TEXT.
APPEND HLINE TO P_HEADING.
ENDFORM. " BUILD_COMMENT
*& Form INITIALIZE_VARIANT
VERY IMPORTANT WHEN YOU USE VARIANTS!!!
FORM INITIALIZE_VARIANT.
G_SAVE = 'A'.
CLEAR G_VARIANT.
G_VARIANT-REPORT = REPNAME.
GX_VARIANT = G_VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
I_SAVE = G_SAVE
CHANGING
CS_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 0.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDFORM. " INITIALIZE_VARIANT
*& Form PAI_OF_SELECTION_SCREEN
ALSO FOR VARIANTS
FORM PAI_OF_SELECTION_SCREEN.
IF NOT P_VARI IS INITIAL.
MOVE G_VARIANT TO GX_VARIANT.
MOVE P_VARI TO GX_VARIANT-VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
I_SAVE = G_SAVE
CHANGING
CS_VARIANT = GX_VARIANT
EXCEPTIONS
WRONG_INPUT = 1
NOT_FOUND = 2
PROGRAM_ERROR = 3.
IF SY-SUBRC EQ 0.
G_VARIANT = GX_VARIANT.
ELSE.
PERFORM INITIALIZE_VARIANT.
ENDIF.
ELSE.
PERFORM INITIALIZE_VARIANT.
ENDIF.
ENDFORM. " PAI_OF_SELECTION_SCREEN
*& Form F4_FOR_VARIANT
text
FORM F4_FOR_VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = G_VARIANT
I_SAVE = G_SAVE
IMPORTING
E_EXIT = G_EXIT
ES_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 2.
MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF G_EXIT = SPACE.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDIF.
ENDFORM. " F4_FOR_VARIANT
*& Form BUILD_LAYOUT
STANDARD LAYOUT
-->P_LAYOUT text *
FORM BUILD_LAYOUT USING P_LAYOUT TYPE SLIS_LAYOUT_ALV.
P_LAYOUT-F2CODE = F2CODE.
P_LAYOUT-ZEBRA = 'X'.
p_layout-detail_popup = 'X'.
P_LAYOUT-TOTALS_TEXT = SPACE.
P_LAYOUT-SUBTOTALS_TEXT = SPACE.
ENDFORM. " BUILD_LAYOUT
FORM BUILD_PRINT *
STANDARD PRINT OPTIONS *
--> P_PRINT *
FORM BUILD_PRINT USING P_PRINT TYPE SLIS_PRINT_ALV.
P_PRINT-NO_PRINT_LISTINFOS = 'X'.
P_PRINT-NO_PRINT_SELINFOS = ' '.
ENDFORM. " BUILD_PRINT
FORM PF_STATUS_SET *
NAME YOUR STATUS ALV. IF YOU NEED IT.. *
FORM PF_STATUS_SET USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'ALV' EXCLUDING EXTAB.
ENDFORM. " PF_STATUS_SET
FORM USER_COMMAND_SAMPLE *
--> UCOMM *
--> SELFIELD *
FORM USER_COMMAND_SAMPLE USING UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
CASE UCOMM.
WHEN 'MSXL'. " Export to Excel
perform set_excel_export.
CLEAR UCOMM.
WHEN 'MM03'.
set parameter id 'MAT' field selfield-value.
call transaction 'MM03' and skip first screen.
CLEAR UCOMM.
WHEN 'BGR1'.
perform fill_available.
perform graph_available.
CLEAR UCOMM.
WHEN 'DOCU'.
call function 'Z_HELP' exporting repname = repname.
ENDCASE.
ENDFORM. " USER_COMMAND
*& Form WRITE_USING_ALV_SAMPLE
*THIS IS A SAMPLE AND MUST BE WRITTEN DIRECTLY IN THE MAIN PROGRAM
FORM WRITE_USING_ALV_SAMPLE.
YOU CAN MERGE WITH A DATA DICTIONARY TABLE USING THIS:
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = repname
i_internal_tabname = 'I'
i_inclname = repname
changing
ct_fieldcat = fieldtab.
if sy-subrc <> 0.
write: 'SY-SUBRC: ', sy-subrc, 'REUSE_ALV_FIELDCATALOG_MERGE'.
endif.
OR JUST DISPLAY IT USING THIS:
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = repname
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
i_structure_name = 'I'
is_layout = layout
it_fieldcat = fieldtab
i_default = 'A'
i_save = g_save
is_variant = g_variant
it_events = events[]
is_print = prints
tables
t_outtab = i.
if sy-subrc <> 0.
write: 'SY-SUBRC: ', sy-subrc, 'REUSE_ALV_LIST_DISPLAY'.
endif.
ENDFORM. " WRITE_USING_ALV
thanks
mrutyun^ -
Why button can not call its script?
I did very simple work: open Director MX 2004, click the
button icon on the Tool Palette, and draw a button on the stage.
Right click it and menu appear. Click "Scripts..." and script
window opens. MouseUp() event function is there already. Write
something in mouseUp(). Anything is OK. Put a breakpoint on some
line.
OK, then click menu Control-Play to run the movie. Click the
button on stage. At this time, it ought to be broken on the
breakpoint. But it didn't. The mouseUp() was not called!
On the other hand, other controls are OK, such as Text,
Shape, etc.. Only botton can not call its script. Is it a bug of
Director MX 2004?It may be that you're creating flash component buttons. Try
setting the tool palette to 'classic' mode (the dropdown at the top
of the tool palette). The buttons you create once you've done this
will be native director buttons.
I've not really used flash component elements much at all so
I can't offer advice as to why the mouseup isn't working with it.
- Ben -
Why I can not view the CMP bean created tables in cloudscape?
Hi:
I have deploy a CMP entity bean which will automatic create a table named ToolBeanTable.
I can find the table exist in cloudscape and its structure thought JDBC tool.
But I can not view the data, the error is said that the table is not existed.
Why?
Thanks!
John LeeHello,
I also had the same problem when I am using Microsoft SQL Server Management Studio 2012. I created a new table. When I select * from mytable, it can execute and I can see the table in the results part, but I can localize the table in left part "database"
menu. Actually, I suspect there is something missing in the Databases folder. When I am using SQL management studio in another machine, I can see a folder called tables under Database, which hold all the newly created tables. But I could not find it here.
On bottom, it may indicate the table is in "master" folder, but I can not find it either. Within "master" folder, there are "Views", "Synonyms", "Programmability", "Service Broker", "Storage", "Security" I already refreshed the Databases folder several times.
Can anyone kindly help me?
Thanks,
Feifei
Maybe you are looking for
-
Scheduled report with sub-reports (Encapsulating page failed).
Hello Everyone I am fairly new to reporting and SAP. I do have a main schedule report containing 4 sub-reports in the sections and 1 sub-report in the page header. The report runs fine in the Infoview development folder, But whenever its deployed in
-
Camera Control-Too much to ask from BB?
Hello, Since upgrading software didn't do it, does anyone know of a way to control camera exposure (brightness) on my BB? A simple slider bar would suffice. It's pretty pathetic, though, isn't it?
-
AI CS4 - Correct Document Setup for Accurately Displaying for Screen Output?
I am using Illustrator to design screens for a computer interactive. The screen I am designing for is 1366x768 pixels and 22.677 x 12.756 inches, making the final screen resolution about 60 pixels per inch. Is there a way I can set up my Illustrator
-
ASO Cube, increase aggregation or improve retrieval performance
We've been using the essbase cube to create report using OBIEE. When we use level-0 member filter, it takes quit a long time to get the results. Any idea to improve the performance? Is there anyway that I can improve the number of aggregation occurs
-
Problem with forms/app server
Hi, I have a problem which is as below; I am opening a forms 10g application by putting my application server ip address in the browser.I can log in and go to the menu ,click and open a form in the application (there is no problem till this point). I