Change in Standard LDB screen
hi
can any body tell be how can i change name of selection option on standard LDB screen of
PNP for eg.
for eg. if i want to display "Employee Subarea"(which comes from pnp ldb) as XYZ
is it possible
regard
vivek
Hi Vivek,
Here is the code which is exactly suitable for this req.
TABLES: pernr.
data: i_tab type standard table of RSSELTEXTS with header line.
initialization.
i_tab-name = 'PNPPERNR'.
i_tab-kind = 'S'.
i_tab-text = 'Employee ID'.
append i_tab.
CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
EXPORTING
program = 'ZESO_TEST'
tables
seltexts = i_tab
EXCEPTIONS
PROGRAM_NOT_FOUND = 1
PROGRAM_CANNOT_BE_GENERATED = 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.
similarly you can do for other fileds also.
Regards
Vasu
Similar Messages
-
Change PNP standard selection screen attributes
Hi experts,
I need to change the standard PNP selection screen parameter BUKRS into "obligatory".
I know it can be done for all reports using PNP through SPRO, but I need it only for one customer report.
Best regards,
A. Cepa.You can hide the standard field on the screen using this -
INITIALIZATION.
LOOP AT SCREEN.
IF screen-name = 'PNPBUKRS-LOW'.
screen-active = '1'.
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-name = 'PNPBUKRS-HIGH'.
screen-active = '1'.
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards,
Amit -
Inserting a block ABOVE the standard selection screen of an LDB
Hi,
I am using LDB : PNP in my report. I want to add a block on the selection screen ABOVE the standard LDB screen.
Plz help....
Sample code appreciated.....
Thanks,
Akash>
Akashdeep Basu wrote:
> Hi,
> I am using LDB : PNP in my report. I want to add a block on the selection screen ABOVE the standard LDB screen.
>
> Plz help....
> Sample code appreciated.....
>
> Thanks,
> Akash
NOT possible. you can only append to the Std selection-screen. One option is to hide it altogether, so the user sees only the custom block...
~Suresh -
How to change standard selection-screen fields
hi i am kishore.
i have requirement.
i have to change selection-screen label purchase order to purchase docuement in request for quatation.
pls suggest that how to change the standard selection screen field labels.Hi.
This is possible.
Just try out this way.Heres is an example.
TABLES: pernr.
data: i_tab type standard table of RSSELTEXTS with header line.
initialization.
i_tab-name = 'PNPPERNR'.
i_tab-kind = 'S'.
i_tab-text = 'Employee ID'.
append i_tab.
CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
EXPORTING
program = 'ZESO_TEST'
tables
seltexts = i_tab
EXCEPTIONS
PROGRAM_NOT_FOUND = 1
PROGRAM_CANNOT_BE_GENERATED = 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.
Thanks and regards,
Maheshwari.V -
Changes in Standard RHBUCH00_LSO with LDB PCH
Hi All,
Greetings!!
I have to make changes in RHBUCH00_LSO which uses LDB PCH . The changes are to display Applicanr also with Participant also . The Standard report at selection screen take only one object type (P Participant ) or (AP Applicnat) .
As it uses LDB making changes in it is difficult .
I am trying yo use FM LDB_PROCESS to call again LDB for AP .
Please throw some light on the use of FM LDB_PROCESS or is some other alternative is available .
Thank YouHi rhaul,
1. I don't we can directly do as per ur requirement.
2. Bcos No-Intervals cannot be modified using Loop at screen.
3. Another option is to copy the standard Ldb and use it.
regards,
amit m. -
Including User selection criteria along with LDB standard selection screen
Hi
While creating a HR report, along with the standard selection screen, if the cusomer requires some more fields to be added, How to retrive the data from the DB?
Is it the way to retrive the data based on Standard selection criteria from the LDB and then filter it based on user criteria or any other way?
Please help me out in this regard.
Thank you.Yes thats the way. You get the data based on Selection screen of LDB (You can select Report Catogory you wish to) once you get data, You can put CHECK statement to see the data against PXXXX type to the filter value from you custom field on selection screen.
-
How to disable a standard selection screen of LDB?
Hi Friends,
My requirement is to disable a standard selection screen of a standard LDB and use my own Selection screen instead.How to go about it?.
Prompt replies would be rewarded.
Regards,
Tamilarasan.Hi Tamilarasan,
U can hide LDB field, in the following way.
1.In tables statement remove the table name for the fields
you done require.
2.You can modify the screen fields. LOOP AT SCREEN
3.In the program attributes you can choose the SAP defined
selection screen if provided.
Add can add new field, in the following way,
1.If it is Customer program then as normal way like
SELECTION-SCREEN: BEGIN OF BLOCK 1
SELECT-OPTIONS:
SELECTION-SCREEN END OF BLOCK 1.
2. Goto SE36 and modify the selection views by creating 'CUS'.
All LBD will not have dynamic selection. If you want you can copy to Z* version and add the following statement to have dynamic selction
"SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE" XXXX
Regards,
Prabhu Rajesh. -
LDB FMF + supress standard selection screen
Hi,
I had developped a specific report using the LDB FMF, but i want to supress the standard selection screen.
i want to use my only own specific selection screen.
How to do that ?
Best regardsFind the link below:
[http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm] -
PCH ldb - hiding fields on standard selection screen
Hi,
I am using PCH ldb in my report. The standard selection screen which appears initially, does not show us the "object selection period" fields directly (it is hidden initially). It is displayed only after the "other period" button is clicked.
The requirement is that the "object selection period" fields should be displayed directly without requiring the user to click on the "other period" button.
When using PNP ldb, it is possible to create a report category and hence this can be achieved in PNP. But i am unable to find any solution for the same in PCH ldb.
Does anyone have some idea about implementing the same.Hi Vikram,
There are no report categories for PCH.
If you enter some values in the dynpro variables it will jump there automatically.
REPORT zmf_pch.
TABLES: objec.
INITIALIZATION.
pchobeg = sy-datum.
pchoend = sy-datum.
GET objec.
Regards,
Michael -
Changing HTML templates for Standard SRM screens!!!!!
Hello SRM gurus,
I have to modify the standard SRM PO screen. I have modified the screen and added the requirement tracking number field but on activation it gives me message to adapt the HTML template manually.
How to change HTML template assigned to the screen? Also what more needs to be done for the field to appear on the SRM portal?
I am not aware even of the transaction code to be used.
Your help will highly be appreciated and rewarded.
Regards,
Shrikant Gavali.Hi,
You need not chnage the Standard SRM screen nor the HTML template to add a custom field in the PO sceen.
Please check these notes:
672960 - user-defined fields.pdf
676016 - user-defined fields.pdf
There is an additional note for req tracking no not available in SC but in your case you want the field in PO so wont be relevant.
Note 676016 - SRM: Requirement Tracking Number not available
Also refre this weblog for adding custom fields in the std SRM screens:
/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm
The tcode for PO is BBP_POC.If you ever need to modify the HTML template for this screen/trascn,goto SE80.select Internet service as BBP_POC.There you can see all the HTNL templates and each of which corresponds to some screen in the trascn BBP_POC(PO trascn).
BR,
Disha.
Do reward points for useful answers. -
What is module pool programming?how we can change the standard screen?
Hi EXPERTS
what is module pool programming?how we can change the standard screen using module pool programming ?
please explain with example.Check the below link:
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.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
You can also check the transaction ABAPDOCU which gives you lot of sample programs.
Also you can see the below examples...
Go to se38 and give demodynpro and press F4.
YOu will get a list of demo module pool programs.
One more T-Code is ABAPDOCU.
YOu can find more examples there.
See the prgrams:
DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
regards,
venkat. -
Field Description change in Standard screen
Hi All,
Can any one tell me how to change Field Description in standard screen.? No user exits available and without access key.
Ex :- if field description is DATE. i want to change it to 'Test Date'.
i dont want to change it Data element level.
Please do not give CMOD solution
Thanks
SameerHi
If you don't want to use CMOD (changing the description for all system) nor use access key, changing the standard, you can create your own report, with the same screen, changing the name and after do a SUBMIT with your selection screen on the standard selection screen (standard report). Of course, it will be a customer development. It's an idea.
I hope this helps you
Regards
Eduardo -
How to change the GUI title of a standard SAP screen
Hi Gurus
Could u pls help me on this
I want to chnage the GUI title of a standard SAP screen without modifying the standard code.
Thanks in advance
Regards
SwatantraHi Vijay,
Without a Modification, this will not be possible. If you're very particular about having your title, then is there any reason for avoiding modifications of SAP objects ?
Regards,
Anand Mandalika. -
Change Layout in Selection Screen for OO ALV-Grid
Hello everyone,
I got a problem regarding layouts for objectoriented ALV Grid. I want to make it possible that user can take the layout for ALV he wants to on the selection screen. So far thats no problem and it works. But there are some little problems which I do not know how to fix them. But first the facts:
(1) I got my parameter for layout
PARAMETER: p_vari TYPE disvariant-variant.
(2) I fill my global layout structure in initialization
INITIALIZATION.
* Variante vorbelegen
gs_variant-username = sy-uname.
gs_variant-report = sy-repid.
* Layout holen
CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = gs_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc = 0.
p_vari = gs_variant-variant.
ENDIF.
(3) I got my handling for F4-value help on variant parameter
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
CALL FUNCTION 'LVC_VARIANT_F4'
EXPORTING
is_variant = gs_variant
i_save = 'A'
IMPORTING
es_variant = gs_variant
EXCEPTIONS
not_found = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE text-m01 TYPE 'S'.
ELSE.
p_vari = gs_variant-variant.
ENDIF.
(4) I give back my parameters content into the variant structure at start of selection
START-OF-SELECTION.
gs_variant-username = sy-uname.
gs_variant-report = sy-repid.
gs_variant-variant = p_vari.
This works all fine but I got some problems when using default variants/layouts. For example I got a default variant only for me. When starting the selection screen it works fine that the default layout was written. It is displayed automatically in the variant parameter. But I want that if i I empty the content (blank it out) from my variant parameter, that report should start with "normal" layout how it was written in the report and NOT with default layout.
When I clear the gs_variant it works like I want it, but then the alv layout button looks like (without functions for layout), because I do not have the reference to my report.
So what to do? :-)
Regards
MichaelWow that was fast, works great, thanks :-)
I did not use this parameter in set table method but now I fill it dynamically.
Ok next problem, one step harder ;-)
Now I have one selection screen for one ALV-Grid, but four radio buttons which control with which data the ALV gets filled (four different fieldcats, data tables and so on). Each Grid got an own HANDLE so that the layouts can be separated in four categories.
Now I want that by changing the radio button the individual standard layout for the chosen alv grid is getting filled.
This works fine when using it in selection screen output.
AT SELECTION-SCREEN OUTPUT.
CLEAR gs_variant.
* Layout-Handles individuell für Klausel-Radiobuttons setzen
IF p_py IS NOT INITIAL.
gs_variant-username = sy-uname.
gs_variant-report = sy-repid.
gs_variant-handle = 'KLPY'.
ELSEIF p_rh IS NOT INITIAL.
gs_variant-username = sy-uname.
gs_variant-report = sy-repid.
gs_variant-handle = 'KLRH'.
ELSEIF p_aj IS NOT INITIAL.
gs_variant-username = sy-uname.
gs_variant-report = sy-repid.
gs_variant-handle = 'KLAJ'.
ELSEIF p_sr IS NOT INITIAL.
gs_variant-username = sy-uname.
gs_variant-report = sy-repid.
gs_variant-handle = 'KLSR'.
ENDIF.
* Layout holen
CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = gs_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc = 0.
p_vari = gs_variant-variant.
ELSE.
CLEAR p_vari.
ENDIF.
But unfortunately selection screen output is getting passed by EACH changing in the selection screen. This means when I try to clear the default layout in my parameter field, it gets refilled automatically with default layout. If I do a condition around the filling (only if not initial) the default value filling does not work fine in every case, e.g. when clearing the parameters field and then change the radiobutton -> then it does not get filled automatically. -
Hi all,
I have written a Z program using LDB PNP. Usually we get a standard selection screen where in we enter begda and endda. However I am getting a different type of standard screen for selection when I execute it with KEYDATE on it. What do I have to do get standard selection screen with start date and end date on it.
Cheers,Thanks for the response.
The report category field is blank.
Maybe you are looking for
-
I have a Macbook from about 2008, and want to connect it to the TV the way I've seen done with PCs. I've been told I need a HDMI to VGA cable, but can't seen to find one anywhere. First, is that what I need? Is my relatively older laptop obsolete for
-
I'm trying to connect to an OLAP cube on our SQL Server 2005 machine which is running Analysis Services (9.0). When I am trying to use the Crystal Reports menu follow steps mentioned below: 1) New report -> Standard Report Wizard 2) Create New Conne
-
Re: solaris 8 VM on T41 Sparc server?
Hi Eze , I have a customer with a similar requirement where customer has Solaris 8 (2/02 , 7/03) and Solaris 9 (4/04, 12/03, 9/05) installed as physical servers which needs to be virtualized (P2V) , is it possible to run them as branded zone on solar
-
Hi, Does anyone know how can I customize the QBE? I want to remove the format mask textbox, the align combo box and the case sensitive check box? any help would very appreciated... thanks in advance, Miguel
-
Hi All, I need a BAPI of function module to copy the favorites from one user to the other. I can use BAPI_USER_WP_PERS_DATA_READ and BAPI_USER_WP_PERS_DATA_SAVE to read the favorites from a template user and to save them against a newly created user.