Skipping Screen on LDB
Hi... another question for my friends.
I'm using LDB PSJ. And already manipulated the Selection-screen.
But still having a problem.... When I call my program, the LDB calls a little screen
to ask my "Project Perfil" .... with a required camp. ( I have already a fixed value for it)
Use CN41 to see the same screen I m talking about.
I want to skip this screen.... and go foward.
Jose,
You can maintain the value for the Parameter ID PFL in the User parmeters ie
System> User Profile> Own Data-->Parameters
Maintain the value for the Parameter ID PFL.
You should no longer get the pop-up when using PSJ.
~Suresh
Similar Messages
-
How to Add a new fields in the selection screen of LDB.
Hi All,
I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
So could you please tell me for that where i need to add the code for selecting the data.
Thanks
RoliHi
welcome to SDN forum
If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
if you wants to modify the std LDB of SAp means take the access key and to modify that code
if you add the extra field you have to modify the where conditions in the code also
see the doc
A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
Less coding s required to retrieve data compared to normal internel tables.
Tables used LDB are in hierarchial structure.
Mainly we used LDBs in HR Abap Programming.
Where all tables are highly inter related so LDBs can optimize the performance there.
Check this Document. All abt LDB's
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
GO THROUGH LINKS -
http://www.sap-basis-abap.com/saptab.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Re: **LDB**
www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
www.sap-img.com/abap/abap-interview-question.htm
www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
Gothru the blog which provides info on LDB's:
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Sample code
TABLES: SPFLI,
SFLIGHT,
SBOOK,
SCARR.
START-OF-SELECTION.
GET SPFLI.
WRITE:/ SPFLI: , SPFLI-CARRID, SPFLI-CONNID,
SPFLI-AIRPFROM, SPFLI-AIRPTO.
GET SFLIGHT.
WRITE:/ SFLIGHT: , SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
GET SBOOK.
WRITE:/ SBOOK: , SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
GET SFLIGHT LATE.
WRITE:/ GET SFLIGHT LATE: , SFLIGHT-FLDATE.
Regards
anji -
Reg : Selection-Screen in LDB's
hi,
Iam working on a report which uses Logical DataBase : PSJ.
Iam getting output based on the standard selection screen of LDB PSJ.
Now my requirement is :
I need to add a new field(select option) to the Selection screen and the output should be displayed based on new field select option values
how to do this?
Plz answer
Regards
vajaHi,
You simply add the check in the relevant GET event of the LDB.
For example, you may have an event for DOCUMENT as follows.
GET DOCUMENT.
check document-ref in s_ref.
S_REF being your new select option.
Hope this helps.
Darren -
How to disable the Selection screens of LDB's ?
Hi,
How to disable the Selection screens of LDB's when we r using the predefined LDB for our executable pgm ? and how to include the predefined LDB can u write the Code for including LDb or if possible give an example of a Pgm using a Predefined LDB?
Thanks & Regards,
Gopi.Hi Gopi,
Go through the link,
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Regards,
Azaz Ali. -
Hi All,
I want to skip screen in BDC while upload data what should I do? Pleas help me in this regard.
Do you think if I pass /n itll work?
ERFORM sub_bdc_dynpro USING 'MP002200' '2000'.
PERFORM sub_bdc_field USING :
'P0022-BEGDA' temp_date ' ', " FROM DATE
'P0022-ENDDA' '12319999' ' ', " TO DATE
'BDC_OKCODE' '=/n' ' '. To Skip ?
OR
'BDC_OKCODE' '/00' ' '. To Skip ?
OR
'BDC_OKCODE' 'SHOP' ' '. To Skip ?
Thanks
Message was edited by: Suleman JavedHi Suleman,
I guess, after entering the dates on the firts csreen , you want to skip the next screen and go to another screen.. then.. try the following..
PERFORM sub_bdc_dynpro USING 'MP002200' '2000'.
PERFORM sub_bdc_field USING :
'P0022-BEGDA' temp_date ' ', " FROM DATE
'P0022-ENDDA' '12319999' ' ', " TO DATE
PERFORM sub_bdc_dynpro USING 'MP002200' '2010'.
any way.. what is that you actually want to do with this Education infotype??
Regards,
Suresh Datti -
Is there adware in skip-screen-it showed up on my scans, and realtime protection today 7/15/2011 ('''adware/agent zugo143'''... I use (with others) primarily AVG antivirus, Threatfire, & SAS
thank youUhhhh, what have you been smokin? This reads more like a detective novel. You would have been better off and saved yourself precious time by just posting a pic of the problem.
-
Hi to All,
I need to skip the screen, In BO method program i called
CALL TRANSACTION 'ZPAYMENT' AND SKIP FIRST SCREEN.
Using this statement also not working skip screen, I need to show 2nd screen directly. what is the solution for this
Regards,
Peter Son
Message was edited by:
peter son
In ZPAYMENT is the tcode for dialog program has 2 depends screens are existsHi peter,
I had the same problem some time ago. You can't use call transaction using bdcdata unless you force an error in the creen and use the addition mode E, but I think the business wouldn;t accept such a solution.
You could check which screen the second screen is and how the data is filled. Now either create a transaction which starts at that screen and somehow fill the data needed for it, or create a new transaction. I think the latter will be a lot easier to achieve.
In my case I created a new program where I supply the data and call the screen.
Kind regards, Rob Dielemans -
Capturing elements value in the selection screen for LDB during run time
Hi,
I have a program where LDB is used.
Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
Specially, the company code and the period values.
Please reply . Its too urgent.
Regards,
Binay.I got it
-
Infoset Query- How do I clear the in-built selection screen in LDB
Dear Experts,
When LDB is used in queries unwanted selection screen blocks appear.
Please help in getting rid of the same.
Kind Regards
Jogeswara RaoHello Jogeswara,
1. In the Infoset push button Extras and then select Code tab.
2. Select AT SELECTION-SCREEN OUTPUT for Code Section.
Suppose your query is based on logical database KDF and you went to hide the SELECT-OPTIONS for Company Code.
loop at screen.
if SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TEXT' OR
SCREEN-NAME = '%_KD_BUKRS_%_APP_%-OPTI_PUSH' OR
SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TO_TEXT' OR
SCREEN-NAME = '%_KD_BUKRS_%_APP_%-VALU_PUSH' OR
SCREEN-NAME = 'KD_BUKRS-LOW' OR
SCREEN-NAME = 'KD_BUKRS-HIGH'.
screen-invisible = '1'.
screen-active = '0'.
modify screen.
endif.
endloop.
Kind Regards,
Rae Ellen Woytowiez -
How to get a default variant screen using LDB.(HR-ABAP)
Hello,
I have created a report using LDB PNP.Used HRBEN000 as a hr report category.
Got a default selection screen, I want to add one more field, for this I have selected the field from further
selection button, and displayed on the screen. Now i saved as a variant.
how to get this default screen using the variant in the report/program when executed?
Please help me.
Thanks&Regards,
Archana.Hi ,you camn always make your Z report category...if the field is present in further selection tab..
if not you can create your own paramerter or select option.....
but you have to handle it in your code ....as get pernr wont filter on its basis(parameter select optyin created by you)
but why loop at screen is not working?
let me know how you are doing...
have to do it in at selection-screen output -
Modifying selection screen of LDB
Hi,
I copied a standard report (RFCLLIB04) in a Z Report. This Report uses a logical database BRF. I have to put a check box on the selection screen in between the fields provided by Logical Database BRF i.e i have to put a check box after the field 'Ledger'.
How can i achieve this ?
Thanks,
IbrahimHi,
You can not add a chec box in between the selection screen of a LDB but you can add as an extra field at the bottom. If the user dont want to add in this way you can also look for the other selection screen whic may have the fields like you wanted.
To achieve this goto --> attributes > Report category> search for the required category here. It will change the selection screen. Other wise you need to create one customisex report category.
thanks,
Preetham -
Working with dynamic selection screen in LDB FMF
Hi Guys,
I am working with LDB FMF and I have a requirement where user need the selection field in initial screen which is already comming in dynamic selection option.
Is it possible without changing the standerd LDB.
Atul
Edited by: Atul Dhariwal on Jun 16, 2009 6:27 AMHi,
my requirement is to list fields from dynamic selection to appear in the main selection screen.
user doesn't want's to click on dynamic selection option and select the fields.
I hope i am clear this time.
Atul -
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. -
How to change selection screen on LDB
Hi everybody,
Does anyone know how to change the selection screen on a ABAP report that uses LDB ?
What I want to do is to suppress some fields and buttons and to add hidden fields.
Thanks for your help.
BTHi bruno,
1. use like this :
2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'MYFIELD'.
SCREEN-INPUT = 0.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
regards,
amit m. -
How to skip screens in a transaction
I m using transaction CU01, from the program i have to go to the third screen by skiping the first two,, is there any syntax for tht.
I know how to go directly for second screen
the syntax for tht is
call transaction 'CU01' and skip first screen.
Now my requirement is to go to 3rd screen.
Can anyone tell me how to proceed.
Thanks in advance.
Kalpanashri RajendranHi Kalpanashri,
you can create a variant transaction.In variant transactions you can define screen number which should be called first.
to do this create a new transaction through se93 for the program.
then goto SHD0 transation to specify the variant for this transaction, here you can specify screen number.
then use normal call screen.
Hope this helps.
Award forum points to helpful answers
Maybe you are looking for
-
I had to reset the router a few days ago, now the blue wireless indicator is blinking. Not connected sign. Restarted the router, restarted the printer, tried to install with usb, the print and scan doctor. Nothing works the light keeps blinking and n
-
How can I log the data transmission of my switch in a file to analyze the quality of my communication channels?
-
Mapbuilder- can't import image
Hi, I use mapbuilder for trying to import an image into my database. But every format fails (bmp/gif/jpg). I got following error message Importing File... java.lang.ExceptionInInitializerError: null The georaster object is not loaded correctly!! And
-
Hi I have designed the Adobe form which fills the form with table details. Do i need to convert this form into PDF to attach in my workflow work item and the receiver get has an attachment. How to do attach this form. Regards vijay
-
System crashes, even after clean install. How to diagnose?
Hi all, Have been experiencing weird errors with my 2010 MBP, among which infrequent system crashes. I've seen my MBP swallow keypresses of the external Logitech keyboard I use. Replacing it with another (similar) model didn't help. It was getting qu