Add payer in selection screen of VF04
Hello everyone,
I would like to add a new selection criteria to the report VF04: by Payer. How can i do this? copy the original program SDBILLDL to a ZSDBILLDL and just add it ?
do i need to pay attention to the billing index ?
I saw note 25026, but i'm not quite understanding what to do. I implemented the note, but that is not enough to appear the new field on the selection screen.
Hello Anji,
How can i select using payer (KUNRG) ?
I see a form vkdfs_data_collect that uses a standard function RV_READ_INVOICE_INDEX to retrieve data, but there's no s_kunrg to select by payer.
Also, structure VBCO7 doesn't have KUNRG in it's fields (it's the structure used to create KUNNR range for later selection data)
Am i missing something ?
Message was edited by:
Nuno Santos
Similar Messages
-
Additional Fields on Selection Screen of VF04
Hi,
I need to add a new field to selection screen of VF04. How can i achieve this?
Regards,
Jayant
Edited by: jayant vikram on Oct 6, 2009 9:15 PM
Moderator message - This is almost a duplicate - post locked
Edited by: Rob Burbank on Oct 6, 2009 11:49 AMHi,
I need to add a new field to selection screen of VF04. How can i achieve this?
Regards,
Jayant
Edited by: jayant vikram on Oct 6, 2009 9:15 PM
Moderator message - This is almost a duplicate - post locked
Edited by: Rob Burbank on Oct 6, 2009 11:49 AM -
How to Add field to Selection screen of Tx. FBL5N
Hi All,
In Tx. FBL5N, there is a field Customer number (on Customer selection screen).
In addition to the above we need to add field Customer name in Selection screen.
How do we go about it ?
PS :- We have found steps to add fields to FBL5N output. But, we dont want it on output, we want to add it on Selection screen.
Regards,
AshishHi,
Only certain table fields are allowed in dynamic selection, please see this sap note for detail :
Sap Note 310886 - Line items: Dynamic selections ignored
Permitted tables:
SKA1: all fields
SKB1: all fields
BSIS: all fields
So BKPF-CPUDT field is not allowed for dynamic selection.
check this thread Add new Fields to Dynamic Selection FBL5n
Or
Enhancing Selection Views in the dynamic selection of some SAP transactions like FB03, FBL3N, FBL5N
This enhancing related to SAP OSS Note: 188663 and 832997
Requirement: The business requires the Doc. Header Text be added in the dynamic selection in SAP transactions FB03
■Execute Transaction code SE36. Click F4. Enter the SAP table name wherein you think the field could be found. In this case the SAP table is BKPF and the logical database is BRF
■From the initial screen of SE36, Choose from the path EXTRAS >> Selection Views
■Copy Selection View u201CSAPu201D to u201CCUSu201D
■Change the selection views u201CCUSu201D
■In the right corner, double click your table BKPF.
■In the right corner, check whether what functional groups does your field belong. If it is 01 then input it beside your field name.
■Then Save it afterwards.
Prabhudas -
How to add ranges of selection screen
hi experts.
I have selection screen :
eg. SELECT-OPTIONS :SPLGL FOR BSID-UMSKZ,
ie. Special GL indicators. now if person enters A to Z in this and 9 in single range on screen.
I want to store A,B,C...Z and 9 in an internal table. , what would be the the easiest way for doing it ?
Thanks in advance.
PDHello
Try this code:
select-options: splgl for bsid-umskz.
data: abcde like sy-abcde,
beg type i,
end type i,
div type i,
counter type i.
data: begin of itab occurs 0,
splgl like bsid-umskz,
end of itab.
abcde = sy-abcde.
loop at splgl.
case splgl-option.
when 'BT'.
search abcde for splgl-low.
if sy-subrc = 0.
beg = sy-fdpos.
endif.
search abcde for splgl-high.
if sy-subrc = 0.
end = sy-fdpos.
endif.
div = end - beg + 1.
counter = beg.
do div times.
itab-splgl = abcde+counter(1).
append itab.
counter = counter + 1.
enddo.
when 'EQ'.
itab-splgl = splgl-low.
append itab.
endcase.
endloop.
In itab you will have all values from selection screen. -
Adding selection parameter in VF04 selection screen
Hi Gurus...
I need to add a selection parameter on selection screen of VF04 transaction.
Is it possible to do so?
If yes, please tell me how.
Thanks.HI Jagdish
You can go in for Source Code Enhancements. (wont require the access key in this case)
Note - Available SAP ERP 6.0 onwards
1) Just click on the spiral (ENHANCE) button
2) Right click on the suitable enhancement point / Enhancement Section
3) Go to Enhancement Implementation -> Create
4) Add your code in the enhancement implementation and activate
You will need to add your code at multiple place (Obviously !!); just use the same implementation for all the Point / Sections you use in the program.
Refer Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework for more.
Hope it helps. Please revert in case of specific issues.
Neeraj -
Hi!
I've set up an initial screen (selection screen) in my dynpro-program, with company code (BUKRS) as input field. This screen has been developed using the Screen Painter and is of the screen type 'Normal'.
I have managed to add a search help to the input field, but how can I <b>add a multiple selection screen</b> to it?
Thank you for all your help!
- Mari VirikHI,
Create button beside BUKRS field.
and use FM <b>K_CMPERS_MULTIPLE_SELECTION</b> when the button is pressed.
this FM provides u a multiple selection screen. Use 'R' for Fieldtype.
data: parm like cmpersdata occurs 0.
call screen 300.
*& Module USER_COMMAND_0300 INPUT
text
module USER_COMMAND_0300 input.
case sy-ucomm.
when 'MULT'.
CALL FUNCTION 'K_CMPERS_MULTIPLE_SELECTION'
EXPORTING
p_fieldtype = 'R'
p_fieldname = 'MATNR'
p_tablename = 'MARA'
tables
pt_parm = parm
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endcase.
endmodule. " USER_COMMAND_0300 INPUT
Regards
CNU -
Transaction DP97: Need to add 2 fields on selection screen...
Hi,
I am using ECC6.0. I need to add 2 extra fields on selection screen of transaction DP97. Program name is RVPKMASS97. i did not find any screen-exit for this. Please can anybody suggest any other way to add fields on selection screen... I think i can use enhancement points. please help if anybody has previously worked on this. I need to know following things:
1) how to add 2 fields on selection screen ( 2 fields are : MATNR-Service product and FFPRF-DIP profile)
2) where to add programming logic for this
Thanks in advance,
MinalHi,
Go to program RVPKMASS97.
Go inside INCLUDE rvpkmasspar.
(When you double click on the include a pop up screen will come up and in that select the RVPKMASS97)
Click on spiral icon there on the tool bar.
right click on the '
ENHANCEMENT-POINT RVPKMASSPAR_01 SPOTS ES_RVPKMASSPAR STATIC INCLUDE BOUND .' line and select enhancement-> create. and give some implementation name and text.
now you can declare ur fields in this implementation.
After declaring save it and activate it.
Now go back to ur txn and run. you are able to see the custom fields on the screen.
Reward me points if it is helpful.
I think it will help you out.
Thanks,
Prasanna -
Add selection screen field in standard program
Hi Friends,
I have a requirement to add a language selection screen field in standard programs (RFSUSA00, RFITEMGL, RFIDPL11, RFBELJ10_NACC, RFIDPL06, RAGITT_ALV01 , RFASLD15 , S_PL0_86000028 , RFCASH00 , RFIDPL18).
This is such that when I select the appropriate language the output should get printed in that paticular language. Can someone help me with how to do this?
Regards,
DikshithaHi Dixitha,
Use implicit enhancement option.
Desplay the report in se38.
In Menu, go to Edit > Enhancement Operations > Show Implicit Enhancement Options.
The system will show you lines (in color) where you can add your enhancement.
This function will allow you to add business rules, substitute fields, do extra calculations, and other unique, non-standard requirements.
Reddy -
How to add document header text area on fb03's selection screen
hi,
i want to add an additional area on fb03's selection screen. i need document header text area for my document searchs. is it possible?Refer to this thread
How to Add field to Selection screen of Tx. FBL5N -
How to Add a new Selection Field in COPA Report
Hi Gurus
I'm new on SAP COPA reporting and I don't know how to solve this problem.
I need add a new Selection-screen field (char1), not connected with any characteristic.
This is necessary becuase if the user flag this field, when teh report is running I'll replace some key-figure values using the EXIT
ZXYEXF05. I don't find any instruction how to define this simple kinfd of variable, and use it into a Report.
Thank-you in advance for your help.
ClaudioHi
I'll try to explain better my need.
I've 10 CO-PA Key-Figures used to Split in the Cost of a material in different Cost Items.
Using the customizing I fill these key-figures using some rules.
The new requirement is use SOMETIME the same KF, by displaying different Costs overwritting the original values using the exit ZXYEXF05. But I need to know when the user wants consider the original value of KF, and when he wants overwrite these values (when I have to run teh exit). So I thought to create a new Selection-screen field (Char1), to permit to the user to pass to some report this user request. I thought to define a global variable, and add it to several reports when this feature is required.
Can you suggest a better solution ???
I could create some empty KF and fill them using teh exit, but I would prefer not expand the CO-PA structure.
Thanks for help.
Claudio -
ABAP Query Selection screen parameters
I need to add an additional selection screen parameter in existing ABAP Query. How to modify the selection screen fields in existing ABAP query ? Kindly help me.
Hi,
GO to info set transaction SQ02
Give the infoset
Press change
Press the selections button..Shift F7
In the right hand side you will get a table control to enter the selection screen parameters..
Press create button on top of the table control to create new parameters
Thanks,
Naren -
Hi all,
in my program i use PNP logical database, so system create automatically selection screen. Nice.
When user fill selection screen event start-of-selection is launched and i do GET PERNR for read data from PNP.
But my customer want to add field in selection screen. Ok, i did that. Well, now he want that when a user fills new fields the PNP is not read i.e GET PERNR shouldn't be launched, so i my program i write this :
if myfield is initial.
GET PERNR.
else.
PERFORM get_data.
endif.
But when i compile program i can't do that and i don't know how to make this and if it's possible.
Regards,Hi tafkap,
1. u have created a z report and
u are using PNP logical database.
2. u say,
, now he want that when a user fills new fields the PNP is not read i.e GET PERNR shouldn't be launched
suppose this is achieved, then how
are u going to fetch the data
and show the report ?
3. If u already have the logic for
getting information from database and showing
to the user,
then do not use GET event.
(It is not compulsory in a ldb)
4. Instead use START-OF-SELECTION
event
and do the normal programming.
5. In such case,
the selection screen (and ur extra field(s))
will be displayed as usual
and your own code will get triggered
at start-of-selection.
I hope it helps.
regards,
amit m. -
Custom button at selection screen toolbar
Hi All,
I have a requirement to add button at selection screen toolbar. Once this button was hit another program should be called.
Do you have any idea on how to do this. Appreciate your help.
Thanks in advance.Hi,
To add custom Button to your selection screen see the below example-
TABLES: SSCRFIELDS.
TYPE-POOLS ICON.
PARAMETERS: p_bukrs TYPE bukrs.
INITIALIZATION:
V_FUNCTXT-ICON_ID = ICON_XXX. " Add Icon to button if you want.
V_FUNCTXT-QUICKINFO = 'xxxx'. " Text to be displayed when you hover mouse over the button
V_FUNCTXT-ICON_TEXT = 'yyyy'. " Text to be dsipalyed on button.
SSCRFIELDS-FUNCTXT_01 = V_FUNCTXT.
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
WHEN 'FC01'. " Handle the click on button. By default this function code will be
to your
"Your logic
ENDCASE. -
Difference b/w At-selection-screen and onfield
Hi,
What is the difference between at-selection-screen and at-selction-onfield?Different Types of Selection Screens
What is:
1. at selection-screen on field
2. at selection-screen output
3. at selection-screen block
4. at selection-screen on value-request
5. at selection-screen on help-request and their difference?
For knowing Selection-screens:
First you must have right understanding of Events.
- Events are introduced by Event Keyword. They end when again next processs begins.
Selection-screens are special screen defined in ABAP.
- This ABAP at run time only controls the flow logic of Selection-screens. The PBO and PAI triggers the num of. selection-screens.
The basic form of the selection screen events is the AT SELECTION-SCREEN event. This event occurs after the runtime environment has passed all input data from the selection screen to the ABAP program. The other selection screen events allow programmers to modify the selection screen before it is sent and specifically check user input.
At Selection-screen OUTPUT is trigerred in PBO of selection-screen.
- This allows you to modify the Selection-screen, before it is displayed.
At Selection-screen On Field is triggered in PAI of selection-screens.
- The input fields can b checked,in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.
At Selection-screen On Block is trigerred in PAI event.
- You define a block by enclosing the declarations of the elements in the block between the statements SELECTION-SCREEN BEGIN OF BLOCK block - END OF BLOCK block. You can use this event block to check the consistency of the input fields in the block.
At Selection-screen On value request.
- This event is trigerred for F4 help.
At Selection-screen On help request .
- This event is triggered when the user clicks F1 for help on fileds. -
hi experts ,
can we add logo in selection screen .
if yes the how it can be possible .
Thanks And Regards .
PriyankTo create a logo u have to remember one thing is u have to upload that logo through OAER or SE78
for uploading logo in OAER
Enter class name as PICTURES
Class type as OT
Object key the name of ur logo want to upload
then press F8 or execute
Then it will automatically creates a folder for ur LOGO and upload ur logo in that folder
After that In the left side bottom of the page u can c the following options
1)Detail
2)Document Info
3)Keywords
4)Create
goto Detail in which u can find the Object Id
which u have to paste in the function module of this program
Check this program1
REPORT YMS_LOGOSEL.
*REPORT ZREPORT_LOGO.
DATA:
docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
START-OF-SELECTION.
num1 = p_dummy.
num2 = p_dummy1.
sum = num1 + num2.
WRITE : / sum.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 500
top = 10
width = 300.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'c:/pic.bmp'.
IF sy-subrc NE 0.
ENDIF.
ENDFORM. "show_pic
Maybe you are looking for
-
How do I open a folder and update web page on different computer.
Hi All, I started my iweb page on my powermac at work and have uploaded the pages online. I have saved the page to a folder and now want to work on the updates at home on my powerbook and can't seen to figure out how to open the folder. I've used Qui
-
Unable to copy iphoto library from external drive to internal drive
iPhoto '09 8.1.2 (424) I have a very large iPhoto library (282GB, 34k photos) spread between multiple computers, which as been consolidated on a single external drive now (1 TB Western Digital Mac OS Extended (Case-senstive, Journaled). I'm trying to
-
HI Gurus, I have a problem. I am doing AP aging report. I want to display a field called status ( net due date - last date). Last date should be given as a variable in selection screen, but the problem is last date is not in DSO on which the report i
-
'All Photos' - ios7 iPad to ios8 iphone 6
Hi All, I have an iPad 3rd gen running iOS 7 and an iPhone 6 running iOS 8. Over the past few years i have been able to import photos onto my iPad (from a camera) and then see them in my photo stream across all devices. Since I've had my iPhone 6 the
-
I just got a used Iphone, and it keeps freezing every time I try to do anything. Every time I click on an app it will open for a second and then close right back out. It will randomly restart, and some times it will just freeze and the only way I can