Changing fields of Logical database BRF
Hi;
I have a changing problem
I use brf logical database in my program but I want to change attributes of some selection fields.
Ex:I want to do mandotary year field.I can't dı it.I can add new field but I can't change fields of BRF.
How can I do?
try this:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CASE SCREEN-NAME.
WHEN 'BR_GJAHR'.
SCREEN-REQUIRED = 1.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
hope tha helps
Andreas
Similar Messages
-
For a report using logical database BRF where have to print invoice no with tax details and other line item details.
First reading BSEG using
GET BSEG.
then
GET BSET.
now want to retreive material no & quantity from table BSEG. how to write logic for that.
Kindly help.
anyaDude LDB gives me one extra selection parameter but i need not that parameter ...
Is ther any way by which i remove that selection parameter and add up my new paramere ...
The same thing i done in pnp LDB but i am unable to do same in brf LDB.
Beaus in PNP there is "HR report category " BY which i cam made >>>> -
Exclude one field from Logical Database's dynamic selection screen
Hi Guru,
I have a requirement to amend a program to exclude the document number field (bsik-belnr) from the dynamic selection-screen of the logical database KDF(Vendor Database) so that the program will not filter according to the document number.
I have use the below syntax in my zprogram.
selection-screen exclude select-options: doc-no.
However I get syntax error "The addition EXCLUDE is only allowed in INCLUDE DBKDFSEL".
Please advice.
Best Regards,
FungThe selection part of the logical database defines input fields for selecting data.
The runtime environment displays these on the selection screen when you run an executable program linked to the logical database.
Include called DB<ldbname>SEL.
SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx.
SELECTION-SCREEN EXCLUDE ... .
SELECTION-SCREEN END OF VERSION ver.
Defines a selection screen version (with a three-character name ver ). Between BEGIN OF VERSION and END OF VERSION , you can exclude selection screen objects for the version ver , i.e. remove them from the selection screen with SELECTION-SCREEN EXCLUDE.
SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab
If one of these tables is active in the report (i.e. it is declared under TABLES or lies somewhere on the path from the root of the database hierarchy to a table declared with TABLES ), a pushbutton called 'Dynamic selections' appears on the selection screen. -
Customizing user selection fields of Logical database PNP
Dear Gurus,
I had made a z-copy of payslip program for incorporation of Logo. Now we need to put this report in Enterprise Portal (EP). Now since we would not want any user to view any other person's payslip, I need to disable the selection field (PERNR) for user selection.
Problem is this field for user selection is coming from standard Logical Database (LDB - PNP) used in the program. So how can I make this field hardcoded as sy-uname and non-modifiable without making z-copy of LDB-PNP.
Also I wish to harcode Payroll Area writing some code (from table PA000) but again I cannot write this in std. PNP LDB and writing it in driver program will not help.
Thanks in advance.
Regards,
AmitWrite the highlighted coding in initialization ...
initialization .
select single pernr from pa0105
into pernr-pernr
where usrid = sy-uname.
if sy-subrc = 0.
PNPPERNR-sign = 'I'.
PNPPERNR-option = 'EQ'.
PNPPERNR-LOW = pernr-pernr.
Append PNPPERNR.
endif.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop.
at selection-screen output.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop. -
SQ01 - Name of Manager field for logical database PNPCE
Hi,
I am stumped and need your help.
I have defined an infoset ZZ_HR_DATA with logical database. In the Infotype 0001, under additional selections, I have the field "Name of superior (organizational assignment)" and it's technical name is SYHR_A_P0001_AF_MANAGERN. I am OK so far.
When I define a query against this info type, it is not showing as a field to select. What went wrong?
The query shows another similar field SYHR_A_P0001_AF_MANAGERN and Quickviewer is displaying this as well.
Regards
VennyI figured this out. User error..
Thanks
Venny -
Not getting fields in logical database of infotypes
Hi All,
I have created Infotype(9xxx) through PM01, and also maintained the screen for this with 6 feilds..
BEGDA, ENDDA, SUBTY, OBJPS, Zxxx1, Zxxx2
every thing is going fine but when im creating logical database for that infotype,
im getting only 3 feilds there
PERNR
Zxxx1
Zxxx2
I need to take all the fields there.. please suggest how to do this?
Regards
Neha GuptaSolved on own.
-
Custom selection field using Logical database
Hi All,
I have to create a program that would print out employee contracts from infotype 16.
I am using logical database PNPCE.
Is there a way to add "contract type" as a selection parameter in the screen that is generated by PNPCE?
Thanks,
~MarkHi,
Create CTTYP(Contract type) as input parameter in the program.
Then after GET PERNR.
write check stmt for that field like below.
PARAMETERS: p_cttyp type p0016-cttyp.
GET PERNR.
CHECK p0016-cttyp EQ p_cttyp.
Rewards points if helpful.
Regards,
Srinivas Ch -
Make non-mandatory field in Logical Database 'SDF' mandatory.
Hi all,
I want to make a non-mandatory field 'Chart of Accounts' in Logical Database 'SDF' mandatory in my Z program.
Please let me know how this can be done?
I tried defining the select-option in my zprogram but it gives error saying the parameter has already been defined in LDB.
Regards,
Atrinandan
Edited by: raj on Aug 3, 2009 7:46 PMHi,
You can try like below:
at selection-screen output.
loop at screen.
if screen-name = 'NAME OF THE PARAMETER'.
screen-required = 1.
modify screen.
endif.
endloop.
Regards,
Himanshu -
Add fields to logical database selection screen
Hello,
Is it posible to add a field in the default selection screen of a logical database.?
I´m using ELM. In the default selection screen, only the lifnr and ekorg fields are shown. I want to show the matnr field, is it posible?
Thank you!Hello,
If you go to the attributes of report, where you are using Logical Database;
there is a button named 'Report Category', which controls the field on selection screen...
If you select that one you can choose report category and also can create your own category
Thanks -
LOGICAL DATABASE BRF FOR ... BKPF AND BSEG
Hi friends ,
i want the change the input criteria ( select option) in my program , i am using the LDB "BRF" ..it gives me standard selection screen .. but i want to add the GSBER field in the input condition ..
How can i cahge the selection criteria in standard LDB ..How can i do that ..
Ialso want to convert select option in output to parameter ...
Plz suggest..Dude LDB gives me one extra selection parameter but i need not that parameter ...
Is ther any way by which i remove that selection parameter and add up my new paramere ...
The same thing i done in pnp LDB but i am unable to do same in brf LDB.
Beaus in PNP there is "HR report category " BY which i cam made >>>> -
Changing fields based on database values
Hi all,
I have one form and two drop -down fields. The fields are Call Type and Sub Call Type and are on the SAME form. I pull data from the Call Type from the database. When the user selects a particular Call Type, I need to go back to the database and pull in values associated with that particular Call Type.
This is the method, that I am using:-
1) I first populate the Call Type drop down field by using a Server Side Method to fill in values for the Call Type and calling the database.
2) I then call a method called as PopulateSubCallType by using the property On Change Invoke for the Call Type field.
In this method I again call the database and based on the Call Type selected by the user, I pull in the associated Sub Call Types and store them in an array.
3) I also call the same array to populate the Sub Call Types based on Call Types. But the drop down field for Sub Call Type is not auto-populated based on the values from the array. The array values although pulled up from the database are not shown on the form.
Can you tell me a way to auto-populate the Sub Call Type from the database based on the Call Type selected by the user but on the SAME form.
I AM NOT USING JSP's but ONLY ALBPM 6.0 PRESENTATIONS.refreshValidValues("someAttribute") is a method that comes with BPM Object presentations.
This one line in this method will work because it causes the attribute (child in this case) to automatically invoke the method you created for retrieving the valid values of the children of the parent.
Your server side method that dynamically returns valid values of the children based on the parent selected should be looking something like this:
for each ...
select * from child
where parentOfChild = parentAttribute
In this example the name of your parent attribute is "parentAttribute" column in the child database table that contains the parent's id is "parentOfChild".
This causes the list of children to auto populate in the child combo dropdown automatically.
To summarize - at runtime here is what happens:
a) since the parent has a dynamic method that populates its valid values, as the presentation initializes the SQL for the valid values of the parent is run.
b) the parent's combo dropdown is populated with a list of valid values of the parent
c) the end user selects one of the parent's names from the combo dropdown
d) this causes the method to fire that has only one line. This one line has the text "refreshValidValues("nameOfTheChildAttributeGoesHere")
e) since the child has a dynamic method that populates its valid values, when the previous step caused this child attribute to refresh its valid values, the SQL in the method that dynamically retrieves the valid values of the child is run.
f) the end user clicks the combo dropdown on the child's attribute and sees that the child valid values (based on the parent that was just selected) now appear.
Dan -
Hi,
I have a requirement to change the selection screen of a report. I need to remove one field and add another field in place of it. Now the report selection screen is getting retrieved from logical database ADA. How can I achieve the addition of field in logical database. Do I need to copy the existing logical database to a new one or is there any other way of achieving this ?Thanks for the reply Shiba. For that particular problem, the business wants to not have to use the dynamic selection, and just have KNA1-REGIO and KNB1-BUSAB as regular select options. Like I said as well, I did find DD_BUSAB which I can use for KNB1-BUSAB, but KNA1-REGIO is still a problem.
Right now I just use a CHECK statement and filter kna1-regio after the GET kna1 statement.
Thanks again,
L -
Hiii
There is a program MM60 which is really causing a issue of performance.
A copy of mm60 was done with additional column added . the issue we are actually having is that the program is taking too much time.
After analysis we have found out that there is GET XXX statement which are not necessary and which is being done by the copy program.
Can we just comment it or change the copy logical database to optimize the code . i would like to know the impact?If you have made a copy , the try to do performance tuning of object.
Check which select statement/ABAP logic is taking more time.
You can also try to avoid this Logical database by using database tables directly.
Check ST05 ans SE30 output. -
Logical database of ABAP query
Hi,
Can anybody please let me know what is the Logical database for ETXDCI, ETXDCH & ETXDCJ (Tax tables) with any sales document tables? I need to develop one ABAP query for the users.
I am a Functional person so I would like to know Can anybody please let me know how I can find out the Logical database?
Your time and help will be really appreciate.
Thanks & Regards,
Niki Shah.Try the BRF logical database.
I found it by searching in which programs the tables were used.
It show program SAPDBBRF which is the program for logical database BRF.
Kind regards,
Arthur Parisius -
Is there any harm in customizing logical database?
Hi Experts,
I want to add two field in logical database ADA and hence I created ZADA in se36.
Can I add this ZADA in my program which is a copy of standard program S_alr_87012936?
I just want to know is there any performance issue or any other botheration to SAP.
Thanks
Shireenhere is a similar post:https://discussions.apple.com/message/22199002#22199002. They dont need the full #.
Maybe you are looking for
-
Hello, using VC 7.1 I have created a model which can be seen [here|http://img216.imageshack.us/img216/2421/screenshotfh4.png]. The popup is intended to display the key of the object which has been created by the web service. This happens as expected.
-
Cannot load photoshop elements 10 disc 2
the serial number on the disc box Photoshop elements 10 worked for disc 1 but is not accepted by disc 2.
-
Why is Safari constanly closing on my ipod?( this has happened multiple times)
When ever i open safari for more than 10 min. The screen goes back. And safari quits . I have tried numerous things but it keeps quiting i am thinking about resetting my ipod and wiping everything from the memory.
-
Additional accounting document at MB1A
Hi, We want one additional accounting entry at the time of MB1A apart from material account entry. R&D expenses (425225) debit Excise Duty Paid credit How can I achieve it. Regards Rajeev Gupta
-
I am editing HD from a Sony deck in Premiere CS3 and wish to export for the web in a WMV HD format, I can't see any mention of HD in the drop down in Windows Media in Media Encoder am I missing something? Is this the best way of producing an HD downl