Hiding navigation area from transaction screen--module pool
Using module pool, i am displaying a transaction screen at the click of a button.
This transaction screen also has a small navigation screen appearing on the left.I want to hide this navigation area.
How do I do it.
Hi,
Usually this is done by using the DOCKING container. You can call the method of SET_VISIBLE of the class CL_GUI_DOCKING_CONTAINER.
Regards,
Ravi
Note : Please mark the helpful answers
Similar Messages
-
Hide navigation area from Shopping Cart window
Hi All,
We are facing a strange issue in Shopping Cart Page..
From the POWL screen when we are clicking on "Display" button it is opening com.sap.pct.srm.core.iv_shopprof iview in a new window. But all the navigation are still showing in the page.
We set Launch in New Window property as Display in Separate Headerless Portal Window but still it is showing navigation area in the scree.
Can any one tell me how to hide navigation area from the screen.
Regards,
Sambaran ChakrabortyHi Yatin,
Thanks for your reply.
I just find a easy way to solve this issue. I changed the Launch in New Window property to Display in Separate Window and it works.
But now i am facing the same problem for Purchasing iview under Operational Purchaser role. All links in that BI report (Purchasing iview) are opening in a new window with navigation area.
I am not able to apply the same above idea in this case, as for all BI links there is no such specific iview present, they are jsut a application links coming from backend.
Can you provide some input on this..?
Regards
Sambaran -
What are the events in Module Pool Programming ?
hi,
what are the events in Module Pool Programming ???
thxRefer the following links :
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sap-img.com/
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com
http://www.sapgenie.com/abap/example_code.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://www.allsaplinks.com/dialog_programming.html
http://www.sapbrain.com/TUTORIALS/default.html
http://www.sappoint.com/abap/spmp.pdf
<b>Reward points if it helps in any way.</b> -
How to create the select option for the Plant in screen (Module pool)
HI,
I am developing one module pool program and I have below requirement,
currently plant is acting like PARAMETER and the now it should be changed to select option.
how to create the select option in the screen
Thanks and regarding,
Malla
Moderator message - Cross post locked
Edited by: Rob Burbank on Dec 16, 2009 1:41 PMSteps to get SELECT-OPTIONS in module pool programs.
1.Start one dialog program with SAPMZ_001.
Place the below code in the TOP include of the dialog program.
TABLES marc.
SELECTION-SCREEN BEGIN OF SCREEN 3200 AS SUBSCREEN.
SELECT-OPTIONS: werks FOR marc-werks.
SELECTION-SCREEN END OF SCREEN 3200.
2 .Create one screen 3000.
Go to Layout of the screen and Define subscreen area on the screen and Name it as l_subscreen.
Place the below code in the Flow logic of the screen.
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN l_subscreen INCLUDING 'SAPMZ_001' '3200'.
PROCESS AFTER INPUT.
CALL SUBSCREEN l_subscreen.
Activate all.
Create Transaction code for the dialog program .
Execute the transaction code. You will see the select-option for werks how we see on Selection-screen. -
Upload documents from transactional screen - Sale & Purchase Order
hi All,
I am trying to have DMS attachment from trx - VA02 directly. I have come across few links which say - this is possible.
upload documents from user transactional screen to content storage area | LinkedIn
I am able to get the functionality for CJ20N - 'WBS Element' Object (Screenshot attached). Can someone pl suggest if I am missing something to get the same functionality for Sale Order / PR & PO.
For Sale Order - I believe the 'Create' icon shall be 'Enabled' once I navigate - Extras -> Documents.
-thanksHi
This button is only displayed if you use the new screen logic (see note 1066915) and when you have maintained the necessary customizing for the required document types and objects in transaction DC10.
So I would kindly ask you to go to transaction DC10 and mark a document type where the necessary object is linked under 'Define object links'. Choose the right object and display its details by double-click. Then you will see the field 'Create document' where you have to enter a value '1' (using transaction) or '2' (simple creation). Please enter a value and flag the 'Additional function' checkbox too.
/Tilak -
HOW to ADD F4 help to a field on SCREEN (MODULE POOL)
Hi,
How to add f4 help to a field in screen ..plz help
Regards,
SalehaHi Saleha,
In order to add F4 help to a field in modeule pool follow these steps:-
1. First go to SE11 and create your own search help( if you dont know how to create a search help please feel free to ask me, it is very easy).
2. Now in your module pool program program go to the layout of your screen.
3. Now when you see the attributes of this field in the Dict tab you will find the field Search Help. Now here you can specify the name of the search help you created in SE11.
There is also another mehtod to create the dynamic search help. eg:- in a posted document data get the Document nos related to that company code.
The sample code is like this:-
First of all declare the module below in the flow logic of your screen then create it in your main program.
You declare the module in the PROCESS ON VALUE-REQUEST.
PROCESS ON VALUE-REQUEST.
FIELD TXT_DOCNO MODULE VALUE_BELNR.
You also need to create an internal table where you wil store results of the select query fired below in the module.
here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
MODULE VALUE_BELNR INPUT.
progname = sy-repid.
dynnum = sy-dynnr.
CLEAR: field_value, dynpro_values.
field_value-fieldname = 'TXT_CODCO'.
APPEND field_value TO dynpro_values.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'BKPF'
fieldname = 'BUKRS'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'TXT_CODCO'.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
translate_to_upper = 'X'
TABLES
dynpfields = dynpro_values.
READ TABLE dynpro_values INDEX 1 INTO field_value.
SELECT BUKRS BELNR
FROM BKPF
INTO CORRESPONDING FIELDS OF TABLE it_doc1
WHERE BUKRS = field_value-fieldvalue.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BELNR'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'TXT_BELNR'
value_org = 'S'
TABLES
value_tab = it_doc1.
ENDMODULE. " VALUE_BELNR INPUT
Hope you find this information useful, let me know.
Regards,
Aditya. -
How to valid inputs from user in module pool
hi,
i m using table control in module pool and in 1 of the table control fields i m using user defined F4 help which is getting filled from a internal table. if the user enters anything apart from the contents in my F4 help the record should not get saved and system should return error . how and where to put this validation?
please help.
thank you.hi,
Write the code in PROCESS ON VALUE REQUEST in the Module pool Program ....
PROCESS ON VALUE REQUEST
FIELD <Field_name> MODULE <Module_name> ..
Double click on this field then write the function moduel to get the Internal table values when the user press F4 on that field, after completing this check by pressing the F4, if it working fine then the Validation is automatically done by this POV ..
if the USer enters other than the internal table values then the Error message will raised at that stage
Regards
Sudheer -
Hi all,
we have creaed a hiring action in HR. i have to check whether a user came to a particular screen by navigating backwards from the next screen in the hiring action. i have to write some code if the user navigates backwards from a screen. can anyone tell me how i can check if a user pressed the back button on the previous screen to come to the current screen.
regards,
HamzaIn the PAI of the previous screen,
Add following code.
CASE V_OKCODE.
when 'BACK'.
V_FLAG = 'X'.
ENDCASE.
In the current screen,
check if the flag is 'X', he has come from previous screen. -
Detecting navigation away from a screen
To play mp3 files in my web application, I've a simple audio player with play/pause buttons, progress bar, etc. Just the way VideoPlayer stops playing video when user of the application switches to some other screen, I would like my audio player to stop playing audio when the user switches to some other screen. What event can I use to detect that the audio player (s:VGroup) isn't 'visible'?
Although this question is framed around stopping an audio player, the same applies to a situation where user is navigating away from a form without saving modified data.
Thanks,
DilipHey Dilip,
You need to include Javascript here. What you need to do is put an event on window.blur and on window.blur call a code of Flex application to make the audio player mute.
I think that make sense to you still if you have any question let me know.
Thanks & Regards
Ankur Arora
Project Leader(Flash and Flex)
http://flashdeveloper.blogspot.com
http://www.ankur-arora.com -
How to add drop down in SAP screen module pool
Hi,
Can you please advise me on how to add drop down in SAP module pool screen (a drop down with fixed set of values).
Thanks
MohitHi,
Hope it helpful.
Refer the Program : rsdemo_dropdown_listbox
Regards,
Venkat. -
Hiding certain areas from the overview page of ESS in portal
HI All,
We have a requirement where we need to hide/disable certain areas from the "Overview" page of ESS in portal.
In Overview page, we have certain links like Employee search,Life and work events,
Purchasing and travel and expenses.
I m not able to find these pages under overview workset also.
We have to hide 'Purchasing' and 'life and work events' areas from the overview page as the customer dosent want to use this sap standard impl.
Is the customiztion to be done from portal side or do we need to do it from the IMG??
Can someone pls tell us in detail how to do it?It sounds like first you need to understand the Overview page and how it gets built. This all comes from the Homepage Framework configuration in the BACKEND (ECC box). Look in the IMG under "Cross Application Components" (or in the ESS section as will which actually has the same section) to find the configuration area. The Homepage Framework configuration however is also tightly coupled to the portal content (ie. objects in a portal role PCD path are tied to configuration "resources" in the Homepage Framework configuration). I won't get into all that, as there is plenty of material in these forums and documentation (help.sap.com) that describes the details of how all of this works. However, to answer your immediate question....
Ok....so the "lazy man's approach" is fairly simple....in the IMG where you assign the Areas to the Area Group, you can simply change the display order number of the ones you want hidden to 0 (zero)....this will at least keep your standard entries in place....or you can just delete them from the assignment to the Area Group in the "change" step.
Sooooo....that gets them off the Overview (Area Group) page. However, they will still be in the standard delivered portal role (for example, the worksets will still show up in the second line of the top level navigation). So you need to remove the worksets from there.
Now, I call the above the "lazy man's approach" because in actuality, you should build your own custom Homepage Framework to your needs. This way it is safer, customized and you are not touching the standard, delivered entries so you can use them as reference later. Also, you should be doing the same on the portal side....ie. build you own custom role based on delta-linked copies of the standard objects (worksets, pages, and iViews). This might seem like a lot of work, but it is way more flexible....for example, if you need several different ESS "versions" to accomodate different types of users. -
Call transaction in module pool
Hi experts,
i have two transactions one is z1 and other is z2.
In z1 i have field called 'number' ,when i double click on 'number' it should call transaction z2 by skipping first screen.
it working fine,
but the main issues is the z2 tcode having three buttons in initial screen are create ,change,display.
so when i double click on z1 number i should call z2 tcode second screen in display mode by fetching all data of z2 based on number.
My main is issues is to display data in display mode in second screen of z2 tcode based on number when i double click on number.
z1 and z2 are ztcode.
Thanks and Regards
RAVI.Hi, you can use SPA and GPA variables to pass a flag and the number you want to exchange between two tcodes. And check your GPA parameters in PBO of second tcode and make all fields input disabled with the SCREEN-INPUT = 0 option and write your data fetch logic to fill in the screen fields.
SCREEN is a system generated internal table which holds all screen fields as its contents and using this internal table, we can alter screen field properties like visibility and input etc.
Thanks,
Siva -
Navigating back from transaction iview
Hi All ,
I have a webdynpro application and i have to navigate to a transaction iview from this WD Application .. once use is done with performing the transaction . user should be able to come back to the previous screen ( Webdynpro view) .. how to handle this kind of requirement . is there any way to come back to the previous page..
Regards,
Ravi.Hi Ravi,
I am also looking for the answer to your question,if you findout let me know the solution ,i have the similar req from my client.but i think there is no way we can achieve this.
thanks,
vinay -
Triggering Workflow from Custom Module pool
Hi,
I am trying to trigger my workflow from my custom module pool using the function module "SAP_WAPI_START_WORKFLOW". I am passing the following parameters for the above function module
TASK, LANGUAGE, DO_COMMIT, USER and INPUT_CONTAINER
but, it is returning the following message
"You are not one of the possible agents of task 'WS90100020'"
Please suggest a solution for this problem?
Regards
Sujith P. SomanHi,
A better way would be to trigger your WF using an event and calling SAP_WAPI_CREATE_EVENT. But if you want to start it directly then if you are calling this FM in dialog you need to be a possible agent. The easiest is if you jsut make it a general task so anyone can start it.
In PFTC, open your WF goto Additional Data -> Agent assignment -> Maintain. Click on 'Attribnutes' and select 'General Task'.
Also run SWU_OBUF afterwards to synch all buffers before testing your FM again.
Cheers,
Mike -
Module Pool with Selection Screen
I have a module pool in which I've created a sub screen to accommodate select-options.
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
select-options: r_matnr for mara-matnr.
selection-screen end of screen 1010.
I've put this selection screen in an include of the module pool.
Now I can't seem to see my variable, r_matnr, in the program. How to I pass the value to the program and what have I done wrong. Perhaps where I placed the selection-screen.
Any help would be appreciated.
PS... I can see my screen but when I put the debug on, no value is in r_matnr.
Thanks MarianneHi Mariane,
Placing the selection screen declarations in an include does not make any issues. Can you please check your code. For your reference, I am placing a simple piece of code, in which I am also calling a selection screen from within a module pool and displaying the output of the select options. Execute this code and check what is the difference between your code and this.
REPORT zabi_test04.
INCLUDE zabi_test04_i001.
INCLUDE zabi_test04_i002.
START-OF-SELECTION.
CALL SCREEN 9000.
*& Module STATUS_9000 OUTPUT
* text
MODULE status_9000 OUTPUT.
SET PF-STATUS 'STAT9000'.
SET TITLEBAR 'TL1'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9000 INPUT
* text
MODULE user_command_9000 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
LEAVE PROGRAM.
WHEN '&SELECT'.
lv_dynnr = '1001'.
CALL SCREEN 9001.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9001 OUTPUT
* text
MODULE status_9001 OUTPUT.
SET PF-STATUS 'STAT9001'.
SET TITLEBAR 'TL2'.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9001 INPUT
* text
MODULE user_command_9001 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
LEAVE TO SCREEN 0.
WHEN '&EXECUTE'.
WRITE s_matnr-low.
LEAVE TO LIST-PROCESSING.
ENDCASE.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Include ZABI_TEST04_I001
TABLES : mara.
DATA : ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm,
lv_dynnr TYPE sy-dynnr VALUE '1001'.
*& Include ZABI_TEST04_I002
SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
*PARAMETERS p_werks TYPE t001w-werks.
SELECT-OPTIONS s_matnr FOR mara-matnr.
SELECTION-SCREEN END OF SCREEN 1001.
Regards,
Abijith
Maybe you are looking for
-
Error Ipod Touch Stuck In Recovery Mode
hey guys ive got an ipod touch and after updateing it today to 2.2.1 it now wont turn on it is showing the itunes icon and usb connector ive plugged it back in to the computer i installed the update on and it says this ipod is in recovery mode ive tr
-
Write permission for PISUPER?
Hello, I'm trying to create a namespace definition with PISUPER user but I'm getting error: Insufficient authorization to create object Namespace Definition and checking Java log I get the following: PISUPER | ACCESS.ERROR | W,7f36457071b411e0aa8ae8b
-
UIGetScreenImage in an *.mm file
Hello. I have gotten the UIGetScreenImage API to work just fine as long as it's in a .h/.m file. The code I'm writing requires objective-c++. Easy enough... change the *.m file to *.mm file and go. Nope, there is a problem afterall. Once the name is
-
Dear all i m facing a little problem connecting system user in my database i have following Database Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Pro
-
I am wondering if the EPrint apps are down, I get a Error Message 1. I can send a Email to it. I also printed wireless network test report it found no problems. This question was solved. View Solution.