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 PM
Hi,
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
Similar Messages
-
How to add a selection criterion to a SQ01 query based on logical database SDF?
Hi,
How should I add a selection criterion to a SQ01 query based on the logical database SDF? Is it possible through additional code? How to make use of the custom selection fields? I need a selection criterion based on BKPF-CPUDT (creation date).
Thanks.Hi John,
Please check the given below link in addtion to Atul post.
http://scn.sap.com/community/erp/sd/blog/2012/04/16/query-report-tips-part-2--mandatory-selection-field
Thanks,
Senthil Maruthappan. -
Modify selection screen for Logical Database 'SDF'
Hi
I need to make a section of the standard selection screen for logical database 'SDF' invisible. I have tried the differet selection screen options of the report attributes, but none of the provided ones give me what I want.
How can I find the name of the screen group for the "Line Item Selection" block of the selection screen so that I can make it invisible when the selection screen is displayed?
Thanks,
ThomasI tried to do this:
Loop at screen.
if screen-group4 = '026'
or screen-group4 = '027'
or screen-group4 = '028'.
screen-invisible = 1.
modify screen.
endif.
endloop.
This removed the selection text for these fields, but the Line Item Selection block is still visible, and the actual input fields are also visible. They now look like password input fields with all ***** in them.
What am I doing wrong?
Thanks for your help!
Thomas -
One of the functional groups of the Logical Database "SDF" does not appear.
Hello,
I have a problem with the logical database "SDF". It has already defined 3 functional groups. When I select the buttom "display the contents" I can see all these groups with their owns fields.
The problem is that when I use a transaction which contains this logical database, in the dynamic selections I can only see two of the functional groups. The last one doesn't appear there and I don't know why.
How can I resolve my problem?
Thank you very much in advance.
Best Regards.1 hour is the default timeout for "ExternalCommandTimeout". So, it could be that this one measure group's fact query is taking longer than 1 hour for the first record. You can see the query in the error messages and might like to try it out
manually. Note, a common issue is with referenced dimensions or Distinct Count when an inner join or Order By are added to the fact queries.
A simple solution might be to simply increase the ExternalCommandTimeout in the SSAS properties page. Try 7200, and if it completes in less than 2 hours, or fails after exactly 2 hours, you know this is the issue.
Richard -
Logical database sdf in custom program not triggering selection screen?
I added logical Database SDF (screen 905) to a custom program - but the selection screen is not getting triggered.
Do I have to associate these somewhere?
Thanks,
VenHI,
Declare this statement after the Report Statement in the program.
TABLES : SKA1, SKB1.
You will get the selection screen now. -
How to make non editable field after requestor created the shoping cart
Hi,
i need to make non editable field (Price field) after requester created the shooping cart.The field should be non editable only for requster .
this i need to make when workflow triggers when the buyer sends back the shopping cart to requester.
one solution which i found:depend on the status of the shoping cart
but i dont know whether it is correct way.
if not please suggest me the solution.Hi,
You can implement the BADI" BBP_UI_CONTROL_BADI".
You can check for the role of the user who has logged in(e.g. for user REQUESTER,there will be a distinct role to idnetify that the user is a requester) and then acc set the display properties for the field PRICE.
For sample code pls refer the foll links:
Sample code for BBP_UI_CONTROL_BADI
Re: Hiding Shopping Cart Fields in SRM 3.0
Re: How to Hide the attributes from template BBPSC01?
Re: How to validating total value in shopping cart
Re: Price filed in Shopping cart should be in display mode
BR,
Disha. -
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. -
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. -
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 -
How to make the payroll field in the assignment screen mandatory using personalization ?
I am trying to make the payroll field required in the assignment screen using personalization , but it's not working, can anybody assist me ?
Thanks.Hi,
Navigate to Assignment Screen. Help > Diagnostic > Custom Code > Personalize
Create a new item : say "Mandatory Payroll Name"
Condition:
Trigger Event:WHEN-NEW-BLOCK-INSTANCE
Trigger Object: ASSGT
Actions:
Object type: Item
Target Object: ASSGT.PAYROLL_NAME
Property Name: REQUIRED
Value: TRUE
Apply / Save.
Exit form and re-enter Assignment Screen to check.
HTH.
Regards,
Rajen. -
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 -
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 -
Changes to logical database SDF
I want to add Network field in dynamic selections for FBL3. This field is part of table BSEG only.
I have added that field to output of FBL3.1) filter it in your FBL3-output
2) change database-programs DBSDFSEL & SAPDBSDF
A.
Maybe you are looking for
-
How to display images from BLOB column via APEX 4.0
Hello, I did the following in order to display images of two Oracle records on the APEX page. I am using APEX Version : 4.0.1.00.03 , Oracle DB Version : 10.2.0.4.0. 1. Created An oracle table TEST_FORM with 3 columns ( ID number, MIME_TYPE varchar2(
-
Creation of Stand Alone prompt in OLAP universe
Hi, I am creating a webi report from universe build from Bex query. I have to catch a user response so i am creating a stand alone prompt in the universe but when i am parsing it, it's giving error. <FILTER KEY="[Level Object definition]"><CONDITION
-
MSI Why No HT Support On 845e Max Rev1
Please can someone from MSI tell me if there is anyway to update my 845E Max 6566 MB to utilise Hyper Threading. I have the latest Bios Revision 5.9. In the specs on this website it says that the 845E Max DOES support HT. Yet mine does not have a Bio
-
Commerce/personalization server jsp error?
Hi, I'm having problems installing the commerce and personalization engine 3.1 on solaris 2.6, with weblogic 5.1 sp6. Everything seems to run fine until I try to create a group or user or any useful link on the exampleportal when I get: Tue Oct 03 16
-
Process to Discrete Inventory Transfer Facility in EBS 11.5.10
I have a need to understand how the Process to Discrete Inventory Transfer Facility in EBS 11.5.10 works. Does it transfer only certain types of items? How is it determined which items are to be transfered? I understand that in 12.1.1 the OPM invento