Extend dynamic selection for a field added on PRPS table
Hi Gurus,
I want to see the field that I've added in PRPS table as part of dynamic selection on the reports like S_ALR_87013542/ S_ALR_87013532. The LDB for project systems is PSJ. How do I make it appear as a dynamic selection on the selection-screen criteria for these reports?
Thanks...
Hi,
We have done this a lot on my project. Follow these steps:
(1) Transaction SE36 for logical database PSJ
(2) Choose menu path Extras -> Selection views (Ctrl+F7)
(3) Change the "Origin of view" to SAP
(4) Find the PRPS_R node in the top, right "Tables/nodes" view.
(5) Double-click PRPS_R.
(6) Find your custom field that you added in PRPS (in the bottom "Table fields/node fields" view.
(7) Choose and enter a 2-character Function Group ID (see the top, left view) next to the new field.
(8) Save and transport...
Best Regards,
James Gaddis
Similar Messages
-
How to extend dynamic selection for Logical Database PNPCE
Hi All,
I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
Thanks
RanjithHi All,
I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
Thanks
Ranjith -
Problem in delta management for custom fields added in standard Table
Hi developers,
we have a problem, when a sales order is modified in a field custom, added in tables (VBAP-VBAK), the delta BW doesn't recognize the modifications. The data type of these fields haven't the flag (Change document) setted in
view Definition.
If this flag is setted, Can the delta BW recognize the modifications of the custom fields?
Best regards
DomenicoYou cannot get delta by just appending fields to extract structure & writing the user exit coding as this user exit code is run by the extractor after the X- and Y- tables are compared to create the before & after images.
You have to do this procedure by enhancing LIS comm structures like MCVBAP (for example).
Please refer to OSS note 576886 for complete details.
Kumar Gudiseva. -
Dynamic Selections for the F.42 report
Hii Experts,
I want to add a field called Business Place(BUPLA) in dynamic Selection in tcode F.42.
So, in F.42 KDF Logical Database is used, so i make a Custom Selection view for KDF database.
Business place is successfully added in Dynamic Selection, but it doesn`t reflect when i execute F.42.
When i test from SE36, it reflects.
Nitin GargNote 50370 explains in full detail how the system works for selecting the documents with dynamic selection.
Balance report reads the transaction figures which are stored with the help of several different fields, so the selection according to further fields cannot be proceed. This is standard design.
The dynamic selection for Document Data does not work for reports which use customer / vendor transaction tables (KNC1 LFC1),i.e., document data like doc.number and Doc.date is not stored in transaction tables.
Dynamic selections can only be used with customer / vendor, company code
or fiscal year fields. The following reports are affected by this
program design.
S_ALR_87012186 - Customer sales
S_ALR_87012082 - Vendor Balances in Local Currency
S_ALR_87012093 - Vendor Business
S_ALR_87012079 - Transaction Figures: Account Balance
S_ALR_87012080 - Transaction Figures: Special Sales
S_ALR_87012081 - Transaction Figures: Sales
S_ALR_87012105 - List of Down Payments open at Key Date - Vendors
S_ALR_87012172 - Customer balances in local currency
RFKSLD00 - F.42
RFDSLD00 - F.23
Hope this clarifies.
Kind Regards
Soumya -
Dynamic select for all entries?
Hi!
Is it possible to do a dynamic SELECT FOR ALL ENTRIES IN... command?
sg. like:
DATA:
select_text TYPE string,
from_text TYPE string,
where_text TYPE string.
SELECT FOR ALL ENTRIES IN <gt_table1> (select_text)
into corresponding fields of table <gt_table2>
FROM (from_text)
WHERE (where_text).
Thanks and Best Regards,
TamasHi,
you can use the Dynamic Selects for FOR ALL ENTRIES, but i think you may need to use the correct Internal table to match the tabel structure
Regards
Sudheer -
Dynamic selections for the FBL5N report
Hi Experts,
Can any body help how to add the account assignment group field in dynamic selections for the FBL5N report.
rgds / SriniHi Alex,
Thanks for your quick response, here for the report FBL5N the logical database is DDF and the field which should be add in dynamic selection is (KTGRD) account assignment group is available in KNVV table but this table is not available in DDF logival database.
Please suggest us how we can pickup this field into the report FBL5N for dynamic selections.
regards / Srini -
The dynamic selection for profit center in FBL1N isn't working
Dear all,
I have one one issue regarding FBL1N.
The dynamic selection for profit center in FBL1N isn't working.
If we enter profit center, we don't get any value.
As per developer after debugging, table BSIK is not getting updated, hence values are not updating in the report.
Please let me know, any configuration is missing.
BR,
ShailendraTry BSEG and see if its there for the particular doc. If its not there its a functional issue, you have to capture profit center at the time of entry. You can either make the profit center field mandatory or substitute it at the time of document generation. Consult your FI consultant. If u have activated New GL features the profit center may me in table FAGLFLEXA. but i don't think u can get the profit center from this table for your purpose, you may need to develop a zreport.
And its not BISK its BSIK
Edited by: Harisankar S on May 4, 2010 3:05 PM -
Create Dynamic variant for date field
Hello all,
I need to have the current month year displayed in my selection screen in format MM.YYYY and the field is of type SPMON (Period to analyze - month).
and while saving the variant it is showing only 'T' (entries from TVARVC table) in "selection variable" field and not showing 'D' (Dynamic selection) for the above field.
So,please help me in resolving this issue.
Thanks in advance.hi
good
go through this code,i hope this ll help you to create the dynamic variant.
Please find the sample using RS_CREATE_VARIANT (FM).
It make use of other FM also , just have a look .
Hope this may help you.
REPORT ZEXAMPLE.
DATA: JVARI_DESC LIKE VARID,
RC LIKE SY-SUBRC,
VARIANT_TEXT LIKE VARIT-VTEXT,
JVT LIKE VARIT OCCURS 0 WITH HEADER LINE,
SELPA LIKE RSPARAMS OCCURS 0 WITH HEADER LINE,
PARMS LIKE RSPARAMS OCCURS 0 WITH HEADER LINE,
OBJS LIKE VANZ OCCURS 0 WITH HEADER LINE.
PARAMETERS: P_VAR LIKE RSVAR-VARIANT. "NAME OF VARIANT
JVARI_DESC-REPORT = SY-REPID.
JVARI_DESC-VARIANT = P_VAR.
JVARI_DESC-ENAME = 'EXAMPLES'.
JVT-REPORT = SY-REPID.
JVT-VARIANT = P_VAR.
JVT-LANGU = SY-LANGU.
JVT-VTEXT = 'FUNCTION EXAMPLES'.
APPEND JVT.
CLEAR SELPA.
SELPA-SIGN = 'I'.
SELPA-OPTION = 'EQ'.
SELPA-KIND = 'P'.
SELPA-SELNAME = 'P_VAR'.
SELPA-LOW = P_VAR.
APPEND SELPA.
CHECK IF VARIANT EXISTS
CALL FUNCTION 'RS_VARIANT_EXISTS'
EXPORTING
REPORT = JVARI_DESC-REPORT
VARIANT = P_VAR
IMPORTING
R_C = RC
EXCEPTIONS
NOT_AUTHORIZED = 1
NO_REPORT = 2
REPORT_NOT_EXISTENT = 3
REPORT_NOT_SUPPLIED = 4
OTHERS = 5.
IF RC = 0 AND SY-SUBRC EQ 0.
DELETE OLD VARIANT
CALL FUNCTION 'RS_VARIANT_DELETE'
EXPORTING
REPORT = JVARI_DESC-REPORT
VARIANT = P_VAR
FLAG_CONFIRMSCREEN = 'X'
EXCEPTIONS
NOT_AUTHORIZED = 1
NOT_EXECUTED = 2
NO_REPORT = 3
REPORT_NOT_EXISTENT = 4
REPORT_NOT_SUPPLIED = 5
VARIANT_LOCKED = 6
VARIANT_NOT_EXISTENT = 7
NO_CORR_INSERT = 8
VARIANT_PROTECTED = 9
OTHERS = 10.
IF SY-SUBRC NE 0.
WRITE: 'UNABLE TO DELETE VARIANT:', P_VAR ,'STATUS=', SY-SUBRC.
EXIT.
ELSE.
WRITE:/ P_VAR, 'DELETED'.
ENDIF.
ELSE.
WRITE:/ P_VAR, 'DOES NOT EXIST'.
ENDIF. " ALREADY EXISTS
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
CURR_REPORT = JVARI_DESC-REPORT
CURR_VARIANT = P_VAR
VARI_DESC = JVARI_DESC
TABLES
VARI_CONTENTS = SELPA
VARI_TEXT = JVT
EXCEPTIONS
ILLEGAL_REPORT_OR_VARIANT = 1
ILLEGAL_VARIANTNAME = 2
NOT_AUTHORIZED = 3
NOT_EXECUTED = 4
REPORT_NOT_EXISTENT = 5
REPORT_NOT_SUPPLIED = 6
VARIANT_EXISTS = 7
VARIANT_LOCKED = 8
OTHERS = 9.
IF SY-SUBRC EQ 0.
WRITE:/ 'VARIANT', P_VAR, 'CREATED FOR PROGRAM', JVARI_DESC-REPORT.
ELSE.
WRITE:/ 'VARIANT', P_VAR, 'NOT CREATED FOR PROGRAM', JVARI_DESC-REPORT.
EXIT.
ENDIF.
CALL FUNCTION 'RS_VARIANT_CONTENTS'
EXPORTING
REPORT = JVARI_DESC-REPORT
VARIANT = P_VAR
TABLES
VALUTAB = PARMS
OBJECTS = OBJS
EXCEPTIONS
VARIANT_NON_EXISTENT = 1
VARIANT_OBSOLETE = 2
OTHERS = 3.
IF SY-SUBRC NE 0.
WRITE : / 'ERROR READING VARIANT CONTENTS.'.
ELSE.
CALL FUNCTION 'RS_VARIANT_TEXT'
EXPORTING
LANGU = SY-LANGU
CURR_REPORT = JVARI_DESC-REPORT
VARIANT = P_VAR
IMPORTING
V_TEXT = VARIANT_TEXT.
WRITE:/ 'VARIANT DESCRIPTION:', VARIANT_TEXT.
LOOP AT PARMS.
CHECK PARMS-LOW NE SPACE OR PARMS-HIGH NE SPACE.
READ TABLE OBJS WITH KEY NAME = PARMS-SELNAME.
WRITE : /2 PARMS-SELNAME, OBJS-TEXT,
45 PARMS-KIND,
PARMS-SIGN,
PARMS-OPTION,
PARMS-LOW,
PARMS-HIGH.
NEW-LINE.
ENDLOOP.
SKIP.
ENDIF.
some other approach....
This function module selects the Selection Screen contents
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-repid
TABLES
selection_table = loc_int_tab
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3.
IF sy-subrc NE 0.
MESSAGE i000 WITH 'Error in RS_REFRESH_FROM_SELECTOPTIONS'(029).
LEAVE LIST-PROCESSING.
ENDIF.
Craete the variant VAR1
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = sy-repid
curr_variant = wf_variant
vari_desc = loc_varid
TABLES
vari_contents = loc_int_tab
vari_text = loc_varit
EXCEPTIONS
illegal_report_or_variant = 1
illegal_variantname = 2
not_authorized = 3
not_executed = 4
report_not_existent = 5
report_not_supplied = 6
variant_exists = 7
variant_locked = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE i000 WITH 'Error while creating dynamic variant'(028).
LEAVE LIST-PROCESSING.
ENDIF.
reward point if helpful.
thanks
mrutyun^ -
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 Document: Dynamic selection for InfoSpoke
Hello
I have downloaded and read the "How To" document: Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format
link: https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70&overridelayout=true
I'm mostly interested for the dynamic selection part of the document and the code for that seems to be stored in an attached text document (ZLX_ESS_INTERFACE.txt). The problem is that i cannot actually view it or any other txt in the pdf.
Can anyone who has got the txt file link it here please or suggest a program that would dynamicaly change the infospoke selections?
Actualy i'm not interested in having an input screen for filling the variable value, i just want to get the value from an ODS
any suggestions?
Thanx in advance
FragiHello
I have downloaded and read the "How To" document: Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format
link: https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70&overridelayout=true
I'm mostly interested for the dynamic selection part of the document and the code for that seems to be stored in an attached text document (ZLX_ESS_INTERFACE.txt). The problem is that i cannot actually view it or any other txt in the pdf.
Can anyone who has got the txt file link it here please or suggest a program that would dynamicaly change the infospoke selections?
Actualy i'm not interested in having an input screen for filling the variable value, i just want to get the value from an ODS
any suggestions?
Thanx in advance
Fragi -
Drop down in the selection for the field from the table
Hi.
i want to put the drop down for the field from the table fo which i dont know the number of entries for the field zregion1 of the table zbwcntry.
please tell me how to use the function module and what could be the line of codes.
the drop down is for the select option on the slection screen of the classical report.
please help .HI,
Check below code..it may help you.
REPORT Zbunu .
TYPES :BEGIN OF STR ,
MATNR TYPE MATNR ,
END OF STR .
DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
VAR TYPE MARA-MATNR .
PARAMETERS : S_MATNR TYPE MATNR ,
P_MATNR TYPE MATNR.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MATNR .
SELECT MATNR FROM MARA INTO
CORRESPONDING FIELDS OF TABLE ITAB UP TO 1000 ROWS.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'MATNR'
PVALKEY = ' '
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_MATNR'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = 'X'
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = ITAB
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
Regards
Ansumesh -
Selection-screen dynamic selections for dtab
Hey experts,
when I add this to my code
selection-screen dynamic selections for zbr_t_autori
and I want activate it, it writes out an error
The addition "DYNAMIC_SELECTIONS" is only allowed in INCLUDE DB__SSEL.
and I don't know how to solve it, what is that include db__ssel?
Can anybody help me.
Regards,
RobertCheck this:
Structure of Logical Databases - ABAP Programming (BC-ABA) - SAP Library
Where are you using this code?
selection-screen dynamic selections for zbr_t_autori
It should be in the include reserved for your LDB selection: -
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. -
How to do dynamic selection for fields
Hi,
Can you please help me on this.
I am adding the custom fields to the standard trasactions CJI3, CJI4, CJI5 for dispalying the line items. For this I am using COOMEP01 CO-OM: Information system -> line item reports enhancement.
I am displaying the custom fileds for line items.
The problem is...In all three t.codes I am having dynamic selection icon. user wants, selection is based on my custom fields...How to get my custom fileds on the selection screen?
Please assist me as soon.
Regards,
RaviHai reddy
This example shows how different transactions codes can be used to produce different selection options for the same program. The example allows for lookups on Sales Order number, Purchase Order Number, Delivery Number or Invoice number.
*--- SELECTION OPTIONS -
SELECTION-SCREEN BEGIN OF BLOCK SO WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN,"Sales order number
S_VBELND FOR LIKP-VBELN,"Delivery number
S_VBELNI FOR VBRK-VBELN,"Invoice number
S_VBELNP FOR VBKD-BSTKD."PO number
SELECTION-SCREEN END OF BLOCK SO.
*--- EVENT AT SCREEN OUTPUT -
AT SELECTION-SCREEN OUTPUT.
CASE SY-TCODE.
WHEN 'ZEDI6'.
LOOP AT SCREEN.
CASE SCREEN-GROUP4.
WHEN '001'. "Sales order select
SCREEN-ACTIVE = '1'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '002'. "Delivery select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '003'. "Invoice select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '004'. "PO Select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
WHEN 'ZEDI6D'. "Delivery select
LOOP AT SCREEN.
CASE SCREEN-GROUP4.
WHEN '001'. "Sales order select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '002'. "Delivery select
SCREEN-ACTIVE = '1'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '003'. "Invoice select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '004'. "PO Select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
WHEN 'ZEDI6I'. "Invoice select
LOOP AT SCREEN.
CASE SCREEN-GROUP4.
WHEN '001'. "Sales order select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '002'. "Delivery select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '003'. "Invoice select
SCREEN-ACTIVE = '1'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '004'. "PO Select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
WHEN 'ZEDI6P'. "PO select
LOOP AT SCREEN.
CASE SCREEN-GROUP4.
WHEN '001'. "Sales order select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '002'. "Delivery select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '003'. "Invoice select
SCREEN-ACTIVE = '0'. "1=Active, 0=Don't display
MODIFY SCREEN.
WHEN '004'. "PO Select
SCREEN-ACTIVE = '1'. "1=Active, 0=Don't display
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
ENDCASE.
Thanks & regards
Sreenivasulu P -
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
Maybe you are looking for
-
Aright, I'm really hoping I can get some help here. This macbook is the most expensive thing that I own. So, I start up my macbook pro 13inch running macvericks a few days go and for some reason the fans are going full last and it's terribly sluggish
-
Hello, Since I upgraded to OS 7.0.3, the bluetooth earpiece I use will no longer connect. Is there a fix for this? I have tried turning it off, removing it, reinstalling the bluetooth, nothing works. Any ideas?
-
How to copy from an external hard drive collection to a folder on your mac?
I put 2000 images from my honeymoon on an external hard drive. I flag my favorites and work on 7 images i layter but in an collection. I am really proud of this 7 images and want to put them in my portfolio map on my laptop. BUT that seems to be impo
-
I switched to cable and can't get wireless.
I just switch to Cox high speed internet. For that I needed to buy a cable modem. I bought a Linksys BEFCMU10 by Cisco. I'm using a Powerbook running 10.3.9. I have a snow dual airport. I can get on the net fine if I connect the ethernet cable direct
-
Regarding updation of the particular field
hi experts,, in my company earlier we created vendor whose 'Check Flag for Double Invoices or Credit Memos(REPRF)' field in the table LFB1 is vacant means at the time of creation we didnt enable the checkbox FOR chk double inv. in pay