Include new field in dynamic selection in fbl1n
Hi Guys,
I want to add a new field in dynamic selection in tcode FBL1N.
Regards,
H.Sathiskumar
Hi Sathiskumar,
Here are general instructions for adding new fields to the dynamic selection:
1) Call Transaction SE36
2) Enter logical database DDF, KDF or SDF (for FBL5N, FBL1N, FLB3N)
3) Menu -> Extras -> selection views
4) Here you can find 2 origins of the view (SAP and CUS).
The standard view SAP is used. Create your own using view CUS. First copy the view SAP.
On the left side are the functional groups.
01 Customer master => fields from table KNA1
02 Company code => fields from table KNB1
03 Documents => fields from table BSID
Only those fields from these tables can be used for dynamic selection
5) To get another field from e.g. table KNB1 for the dynamic selection double click on the right side on
table KNB1. The field in the lower area will be changed. Search for the desired field and enter a 03
in front of the field. Save.
6) Test in your report.
Note: Not every table and field can be used as dynamic selection. It is also necessary that the report
allows selection for that field."
Furthermore I suggest You to have a look at the note number 310886 that can be useful.
Customers: logical database: DDF
Permitted tables:
KNA1, KNB1: All fields are permitted that are contained in the VF_DEBI view. If necessary, you have to
include additional fields in the view fields category using Transaction SE11.
I hope this information may help you in resolving the reported issue.
Regards,
Emoke
Similar Messages
-
Add new field in dynamic selections for transaction FAGLL03
Hello experts,
I'm trying to add field CPUDT (Entry Date) from table BKPF in the dynamic selections of logical database SDF.
In fact, and referring to some hints posted in the forum, I copied the standard selection view 'SAP' to 'CUS' and then added a new functional group and then assign the field CPUDT (table BKPF) to this functional group.
Even after saving, I couldn't see the new group I created neither the field CPUDT.
Could you please advice?
Thanks in advance.Hello
I think you can do it by adding the field into the view (SM30): V_T021S and transport the request.
Best regards,
Philippe -
Add Z-fields in dynamic selection of FBL1N
Hello experts,
I'm trying to add some Z*-fields from table BKPF in the dynamic selections of logical database KDF.
In fact, and referring to some hints posted in the forum, I copied the standard selection view 'SAP' to 'CUS' and then added a new functional group and then assign the fields (table BKPF) to this functional group.
The Z-fields are also added in SM30 V_T021S.
The fields are not available in BSIK, so maybe there is where the problem lies.
Could you please advice?
Kind regards,
IsabelHi,
I already did this in SE36. The problem is that my Z-fields do not appear in BSIK. They appear only in BKPF... And in SE36 if I try to select the Z-fields in BKPF, they do not appear in the dynamic selections.
Thanks for your answer. Kind regards,
Isabel -
Adding of new field in dynamic selection for financial statements
Hi ALL,
I want to add Trading partner in dynamic selection fields of financial statement report at document level not yet GL master level: S_ALR_87012284 - Balance Sheet / Profit and Loss Statement .
Can any one tell how to proceed?
I have referred notes: Note 188663 - Enhancing selection views and dynamic selection.
But exactly I am unable to find which logical database has to be given?
regs,
ramesh bHi,
If you want to add extra field in your report you can do the setting in Layout selection. If it is not available kinldy check any SAP notes available or not. Otherwise do Zreport with your ABAPer.
Regards,
Mohan. -
Dynamic Selection for FBL1N and FBL5N reports
Dear all,
is it possible to show more fields in Dynamic Selection for FBL1N and FBL5N reports?
Thanks in advance
AlbertoDear Alberto,
Please refer to the SAP note 310886. In the note you should be able
to see how to add fields in to the dynamic selection , and the fields,
which are available for this.
I hope this can help You.
Mauri -
How to add into dynamic selection criteria (FBL1N) - custom field from LFB1
Hello all,
i have following problem. I added new customer field into table LFB1 (Z* field). And now i need to use this field as dynamic selection criteria in transaction FBL1N. I enhanced selection view for logical database KDF - i have created new customer view and I added my new field from LFB1. It is OK, i see this field in dynamic selection criteria in FBL1N but if i try to select according that Z* field, short dump occured.
open cursor with hold LC_KRED for select (VF_KRED_FIELDS)
from <b>VF_KRED</b>
where LIFNR in KD_LIFNR
and BUKRS in KD_BUKRS
and LAND1 in KD_LAND1
and KONZS in KD_KONZS
and VBUND in KD_VBUND
and AKONT in KD_AKONT
and BUSAB in KD_BUSAB
and (VF_KRED_WHERE)
Problem is in VF_KRED - this is database view (LFA1 joins LFB1). This view has no Z* fields and therefore it cannot be use in statement above -> dump.
Is needed repature of standard - enhancement of view VF_KRED?
Thank you very much.Hi guys,
thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
Regards -
Addition of field for Dynamic Selection in TCode FBL1N
Hi,
We have a requirement to add the field Partner Bank Type in TCode FBL1N on clicking dynamic selection button (under vendor master) in TCode FBL1N. To achieve this we went to TCode SE36 (Logical database) and selected logical databse KDF and then seleted selection views from the extras menu. There we have selected the table LFBK and then entered 01 (function group for Vendor Master) in the box next to the field BVTYP and selected the checbox on the right of BVTYP to enable Preselection. Saved the changes.
However the field Partner Bank Type does not show in the dynamic selection in TCode FBL1N under Vendor Master. Please help.
Thanks in advance.
MickThanks Miguel.
I found this on the web:
http://joyjitghosh.blogspot.com/2009/05/how-to-add-new-fields-in-dynamic.html
I have done exactly as per the instructions given in the above link, but still I am unable to see the field in the dynamic selections of TCode FBL1N. Any reason why and how can we add the field in the dynamic selections?
Mick -
Dynamic selections with FBL1N transaction
Hello,
I want to add new fields to do dynamic selections using FBL1N transaction.
I have "House bank" field in the company code fields, but I want this field in the document fields.
How could I do it?
Thank you very muchDear Beatriz
Yes this is possible. You need to extend the selection view for the logical database KDF using transaction SE36, to have more selection fields available in the dynamic selections of the line item display.
Call up Transaction SE36 and enter the logical database KDF.
Choose "Extras --> Selection views".
Select the origin of view.
Choose "Display" or "Change".
Vendors: logical database: KDF
Permitted tables:
LFA1, LFB1: All fields are permitted that are contained in the VF_KRED
view. If necessary, you have to include additional fields in
the view fields category using Transaction SE11.
BSIK: all fields
Change the source code in program SAPDBKDF, Form INIT as explained in the SAP note 310886.
If this helps please reward with points.
Best Regards
Kesav -
Custmer Class. field in dynamic selection of FBL5N not cming in Report
Hi,
After selecting Customer Classification field in Dynamic selection of Transaction Code FBL5N and saving it and creating a Variant, this field doesnot come in output of report after execution.
Can anybody send a reply on this asap.
Regards
BobHi,
After executing the report in FBL5N, check in the display layout if the same field is available. If it is available include it in the display list (Left side of the pop up screen). Save the layout after including and make it default or user specific as per requirement.
Hope this helps you.
Thanks and Regards,
Anit -
Hi.
Is it possible certain selection fields from dynamic selections (such as clearing document)
in report FBL1N to be always available in the dialog appeared in the right hand instead of choosing them every time of the dialog in the left hand?
Thanks in advancefurther to the comments below, you can create a variant and in the variant you can define the layout, so you can move fields to the left, right or center.
You can make the variant a global variant so all users will use it, or you can make it a user variant so only you can use it.
Finally and something to consider you can define user specific layouts in t code FB00.
This is best practise as creating a global variant will cause problems.
Hope this helps award points if useful. -
How to add new field into dynamic internal table
Hello Expert.
how to add new field into dynamic internal table.
PARAMETERS: P_TABLE(30). "table name
DATA: I_TAB TYPE REF TO DATA.
FIELD-SYMBOLS: <TAB> TYPE standard TABLE.
*Create dynamic FS
create DATA I_TAB TYPE TABLE OF (p_table).
ASSIGN I_TAB->* TO <TAB>.
SELECT * FROM (p_table) INTO TABLE <TAB>.
here i want to add one more field into <TAB> at LAST position and my
Field name = field_stype and
Field type = 'LVC_T_STYL'
could you please helpme out .Hi,
Please find the code below.You can add the field acc to your requirement.
Creating Dynamic internal table
TYPE-POOLS: slis.
FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE, u201C Dynamic internal table name
<fs_dyntable>, u201C Field symbol to create work area
<fs_fldval> type any. u201C Field symbol to assign values
PARAMETERS: p_cols(5) TYPE c. u201C Input number of columns
DATA: t_newtable TYPE REF TO data,
t_newline TYPE REF TO data,
t_fldcat TYPE slis_t_fldcat_alv,
t_fldcat TYPE lvc_t_fcat,
wa_it_fldcat TYPE lvc_s_fcat,
wa_colno(2) TYPE n,
wa_flname(5) TYPE c.
Create fields .
DO p_cols TIMES.
CLEAR wa_it_fldcat.
move sy-index to wa_colno.
concatenate 'COL'
wa_colno
into wa_flname.
wa_it_fldcat-fieldname = wa_flname.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO t_fldcat.
ENDDO.
Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = t_fldcat
IMPORTING
ep_table = t_newtable.
ASSIGN t_newtable->* TO <t_dyntable>.
Create dynamic work area and assign to FS
CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
ASSIGN t_newline->* TO <fs_dyntable>.
Populating Dynamic internal table
DATA: fieldname(20) TYPE c.
DATA: fieldvalue(10) TYPE c.
DATA: index(3) TYPE c.
DO p_cols TIMES.
index = sy-index.
MOVE sy-index TO wa_colno.
CONCATENATE 'COL'
wa_colno
INTO wa_flname.
Set up fieldvalue
CONCATENATE 'VALUE' index INTO
fieldvalue.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
ENDDO.
Append to the dynamic internal table
APPEND <fs_dyntable> TO <t_dyntable>.
Displaying dynamic internal table using Grid.
DATA: wa_cat LIKE LINE OF fs_fldcat.
DO p_cols TIMES.
CLEAR wa_cat.
MOVE sy-index TO wa_colno.
CONCATENATE 'COL'
wa_colno
INTO wa_flname.
wa_cat-fieldname = wa_flname.
wa_cat-seltext_s = wa_flname.
wa_cat-outputlen = '10'.
APPEND wa_cat TO fs_fldcat.
ENDDO.
Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = fs_fldcat
TABLES
t_outtab = <t_dyntable>. -
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 -
How to change the text of a user defined field in dynamic selections?
Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
Found an OSS note - 86980 - that tells that this is not possible.
But when we read the documentation on the user field (CJI3 - dynamic selections - double click on user field - F1), it shows the following text:
User-defined field in which you can enter general information with a length of up to 20 characters.
Dependencies
The names (key words) for user-defined fields depend on the field key.
Now the question is where to change the field key..
Thanks,
VenMadhu - you did not get the question I think.
Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
Thanks, -
S_P99_41000101 - Check Register Modification to include new fields
Dear Friends,
We are working in 4.7V.
The user wants to include new fields in Check Register.
Special G/L ind.
Demand Draft No
GL Code
Material Code
How to include the new fields and how to match Material code to check no or payment or vendor.
Please advice.
Regards
SridharZreport to be done
-
Add certain field at dynamic selection screen in FBL3N transaction
Hello Expert,
I would like to add entry date field (BKPF-CPUDT) at dynamic selection screen in FBL3N transaction.
So, I went to SE36 transaction and changed something in selection view for SDF.
However, it didn't work.
Is there anyone who knows how to add a certain field at dynamic selection screen in FBL3N transaction?
Thanks in advance.
BR,
Chris KimHi
Refer to the following thread
Additional field selections in FB03
It talks about adding Header Text field
You should be able to add entry date similarly
Regards
Sach!n
Maybe you are looking for
-
Can no longer see family purchase in iTunes using family sharing
On all my devices the option to select another family member to view and access their purchases is gone. All I can see now is purchases under my AppleID. I checked in iCloud and other family members are still setup to share their purchases so not su
-
What are the functions of look and feel files?
Hi, If some one can explain me what are individual role in look and feel of the ISA B2C application. mainFS.jsp main_inner.jsp catalogFS.jsp accountFS.jsp refresherB2C.jsp I want to know function of each files. If I change any file then where exactly
-
pages 5.5 output PDF is not have pages number interlinkage ,why?How to deal with?
-
External monitor as second desktop
Hello I have a mbp late 2011 and I run os X 10.9.5. I run an external monitor (BenQ T903) beside my macbook and I would love to be able to access the external monitor the way you access a 2nd desktop: by using three fingers and swiping them to the r
-
I'm having some issues with my Macbook being run through a Dell 3200MP DLP projector. Until today, the MB seemed to recognize the Dell projector, but the projector's display would repeatedly show "searching for signal". As of today, the MB doesn't ev