Modification of VF44 program
Hi all,
I have a requirement where i need to modify the VF44 program to add additional fields for selection with ALV output and it has options to filter and sort, which can be used as information to process the transaction.
Functionally,this requirement is related to deferral reason revenue recognition process where items otherwise eligible for revenue recognition are deferred to a future period, due to specified conditions.
These additional selection parameters on VF44 will enable us to sort, filter the report by different criteria, and perform collective processing.
YVF44 is going to be the new transaction having all these changes.
Problem i am having is i am not able to figure out from where to start !!
Please help...
hi,
1.
your z-function module must be created as a copy of SAMPLE_INTERFACE_00503108
2.
example:
FUNCTION Z_SAMPLE_INTERFACE_00503108.
""Lokale Schnittstelle:
*" TABLES
*" FIT_VBREVAV STRUCTURE VBREVAV
break-point.
export FIT_VBREVAV[] to memory ID 'vf44'.
submit zprogram_00503108 and return.
import FIT_VBREVAV[] from memory ID 'vf44'.
ENDFUNCTION.
3.
create program zprogram_00503108 with own selection screen...
report zprogram_00503108.
data: FIT_VBREVAV like VBREVAV occurs 0 with header line.
select-options....
start-of-selection.
import FIT_VBREVAV[] from memory ID 'vf44'.
loop at FIT_VBREVAV.
*here your checks according to selection screen....
example: delete FIT_VBREVAV index sy-tabix....
endloop.
*export to memory modified workllist...
export FIT_VBREVAV[] to memory ID 'vf44'.
4.
now, when you start vf44 and when you execute ->selection-screen
of your z-program should appears...and here user can do extra selections...
regards,darek
Similar Messages
-
Modification of standard programs
Hi experts,
i want to modify cursor movment in the transaction COIB. Pls tell me how can i achieve this. Pls tell me the procedure and process required for this task.
Thank u.hi,
folow these link for modification of standard programs...
http://www.sap-img.com/basis/manually-applying-the-oss-note.htm
http://www.sap-img.com/ab025.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18c5de6e11d195460000e82de14a/content.htm
we can set the cursor position in two way's.
<b>Static Cursor Position</b>
To define the cursor position statically, enter the name of the required screen element in the Cursor position screen attribute in the Screen Painter.
<b>Dynamic Cursor Position</b>
To set the cursor position dynamically, use the following statement in an ABAP dialog module in the PBO event:
<b>SET CURSOR FIELD <f> [OFFSET <off>].</b>
<f> can be a literal or a variable containing the name of a screen element. You can use the OFFSET addition to place the cursor at a particular point within an input/output field.
regards,
Ashok reddy -
How to Swithch on Modification Assitance in Program
Hi friends,
please let me know how to switch on modification assitance in my program.
pls help me out regarding that..
regards
deviHi,
It is not possible to switch on modification assistance once it is switched off..
Thanks and Regards,
Litta. -
Query on Modification of std program
Hi Experts,
My requirement is to get destination bin for material in ware house. This is will be resolved by L_TO_CREATE_SINGLE function module, but it is create TRANSFER ORDER with giving destination bin details also.I donot want create Transfer order. How can i get this requirement? Please guide me.
Can i copy this std fm along with function group and modify this fm in order to meeet my requirements? otherwise is there any std fm to meet my requirements? Please guide me with details..
Rewards points for useful .
Thanks in Advance..Mukund,
You will have to register the details with SAP about the modification and get something called as ACCESS KEY (Not devleoper key). Once you get that when you try to go into CHANGE mode, it will ask for key. Enter the access key and you should be able to see options on the toolbar. Unless you enter the access key those will be disabled.
The access key is user/program specific.
Regards,
Ravi
Note : Please mark the helpful answers -
Problems with Print Program of Production Order (CO03) !!
Hi all,
I have a question about Print program of Production Order. I created a new Order in CO01. Then, in CO03, I call Print Program ( menu <b>Functions >> Print</b>). At the first time, it printed a so-called original version. Later, when i printed it again, it informed me that just was a copy. Now, that's ok.
I made some modification of Print Program by copying and changing the code (let's call it Z_PSFCOBJL) and SAPScript form. However, When I call Print function in CO03 for that Order, it didn't show any changes which I made. What's wrong? I checked in the code by debug mode, the variable that I transfered to the form was correct with its value.
<b>I think that because SAP just make a print copy so that it will not reflect any changes that I made to the program, right? Is there any way to overcome this because I don't want to create new Orders just for testing every modification</b>?
Thank you in advance.Hi MURUGESAN THANGATHURAI ,
Yes, I did assign the new program and new form for this before printing. But I wanna know if there is any way that allows me to view those changes I made?
When I change the code in Print Program, print-out includes this update (although it still informs me that is a copy version). But when I make changes in the SAPScript form (for example, adding a variable for display), <b>it will not update this</b>?
What's problem?
Thank you guys. -
Txt format in a file created by the Payment Medium Program
Hi,
I need some help with a query from Payroll France.
They use the transaction PC00_M06_FFOT (program RFFOF_V) to transfer payment data to banks.
This program creates a txt file that is accessible to the payroll and accounting teams. This file is stored on local discs and as txt format it can be modified.
The last audit pointed to this as a potential issue. The data in this file is very sensitive and shoud be secured against any modification.
The program is SAP standard and the txt format is compliant with the system used by banks. That is why I am not sure if the file format can be modified. We were thinking perhaps a PDF fike would be an option. However, our Development do not want to touch at the change before we know if this will not be a problem for the banks' system.
I've created a note for SAP about already but they say it is not really an error and in fact beyond their scope.
Would appreciate some advice from you.
Thanks,
Monika.Monika :
When running payment transfer to the bank (i.e. RFFOT or RFFOV), you have an option to either have the output file created (at application server) or a temse file created (which you would go to DME management to process downloading to a file (e.g. in your local PC machine).
Having the ACH file created on application server site usually should be quite secure in my opition (first of, not many ee should have access to application servers; second, you can control not to allow non-authorized personnel to access to certain directories in application server; third, usually, when ACH file is created, it usually will be picked up by an automate process to send the file to the bank (rather than manual process)) . Just my thought on your audit issue .
Rgds. -
How to track the transported Variant for a program
Hi All ,
Can anyone please let me know how to track the modifications done on program variants , and how to track if it has been transported .
Thanks In Advance .Hi Balaji
Variants are stored in the table VARID.
Pushpraj -
Hide "Administratior" in IT 0001 through screen modification
Hi Gurus,
I have requirement where client wast us to hide Administrator section which have three administrators field from IT 0001. Please help me to understand that is it possible through screen modification.
If not then what is the other solution?
Regards,
Amit JainHi Subhash,
FIrst go to the IT001 screen... go to SYSTEMS -
STATUS and get the program name and screen number
then on
Go to SPRO..
Personnel Management > Personnel Administration > Customizing User Interface > Change Screen Modification >
Select the program name and screen number which you got from IT0001
then click on magnification screen and select the Hide radio button for ADMINISTRATOR field.
Hope this helps...
Ajay -
Electronic payment program RFFOJP_T
Dear all,
I would like to make a modification within the program RFFOJP_T which is used while performing some domestic electronic payments. The modification would be to add 4 zeros in front of the payment receiver bank account number in order to fit the payment bank requirements.
I've found within the include RFFORIJP data declaration for the account number:
DATA :
BEGIN OF DTADJP1,
ACCNT_NO(7) TYPE N,
What would be the best way to proceed?
Regards.
NC.Vijay,
Thanks for you worry regarding my issue.
In fact there is a SAP note 569522 on this saying that the field DTADJP2-HOUSE_NO are filled with zeros if they do not contain any information but the fields are supposed to be blank.
And when I looked at the prog I found out the following:
DTADJP2-HOUSE_NO = SPACE.
THis is why.
Best regards. -
Call module pool program from report
Hi,
Iam calling module pool program from a report, while passing values to module pool program, one of the field doesn't have parameter id, how to pass value to it. and also please let me know how to call module pool program.
Appreciate your help.
Thanks in advance
jogHi Jog,
Module pool program can be run in background. Most of the BDC's are written on module pool programs and they run in the background.
Also regarrding copying the standard program, if you require to make the changes for every user then instead of copying the program make modification in standard program as copied program are much harder to maintain during support pack implementation or upgrade that modification to standard program.
Reward points if useful.
Regards,
Atish -
Hi to all,
I have small doubt in FICO. This is the package RTTREE.
In this package one of the transaction code is S_ALR_87012080, for selection special sales.But we want in profit centerwise.But this is not a report .this is function module.We change in main program selection screen and modifications in that program.I dont know which the main program.Please help me...Hi Geetha,
Could'nt understand ur requirement.
Why would u go for change std prog.
The Main Prog is GP3UY9IGAXMOO2L34YDABO5A8SX.
In Tcode S_ALR_87012080
to see the Selection screen
see include
INCLUDE RKDBATSE.
INCLUDE RKDBATSE1.
INCLUDE RKDPRESENTATIONTYPE.
Instead of modifying the standard one, U can use report painter to get profit centre wise detail report.
If it is helpfull pls reward pts.
Regards
Srimanta -
Call transaction MMBE from another program and press Back button
Hello,
I have program that is used as a 'launch pad' for some of our heavily used transactions. When I call the main 'launch pad' program, the user will select a button and a Call Transaction MMBE is initiated (USING the first screen). The user selects a material for display and presses the execute button (F8). The material overview is displayed correctly. When the user presses the Back button (F12), transaction returns all the way back to the first called program and not to the first screen for transaction MMBE as expected.
Does anyone know how I can change the screen flow and go back to the fist screen of MMBE and not the screen of the first called program?
Regards,
RCRod,
In your case i think it is not possible as it is standard functionality by SAP.
Try work around, may be modification to the program will work.
Regards,
Amey -
Help in finding an OSS notes for a SAP Program
Hi,
A runtime error TIME_OUT has occured in the program LSCD2F01.
I need to find an OSS notes which deals with the correction of this dump.I have checked with the latest date of modification of this program and it is 18.02.2006
So the OSS notes which has been generated earlier to this date has been implemented in the program.
I have attached the Dump details below: Any inputs on this will be helpful.
<b>Information on where terminated</b>
The termination occurred in the ABAP program "SAPLSCD1" in "READ_CD_FROM_DB".
The main program was "SAPMSSY1 ".
The termination occurred in line 1031 of the source code of the (Include)
program "LSCD2F01"
of the source code of program "LSCD2F01" (when calling the editor 10310).
<b>Source Code Extract</b>
1020 FORM read_cd_from_db CHANGING pt_cdhdr TYPE cdhdr_tab
1021 pt_cdpos TYPE cdpos_tab
1022 pt_cdpos_uid TYPE cdpos_uid_tab.
1023
1024 DATA: lt_cdhdr_for_uid TYPE cdhdr_tab
1025 ,lv_guid_true TYPE i.
1026 FIELD-SYMBOLS: <fs_cdhdr> TYPE cdhdr.
1027
1028 CLEAR: lt_cdhdr_for_uid[], lv_guid_true.
1029
1030 * select header from cdhdr
<b>>>>> SELECT * FROM cdhdr INTO TABLE pt_cdhdr</b>
1032 WHERE objectclas IN lt_sl_objectclas
1033 AND objectid IN lt_sl_objectid
1034 AND changenr IN lt_sl_changenr
1035 AND username IN lt_sl_username
1036 AND (
1037 (
1038 udate = date_of_change
1039 AND
1040 utime >= time_of_change
1041 )
1042 OR
1043 udate > date_of_change
1044 )
Regards,
RajCheck notes:
459838 Performance improvement with very large datasets
and
671283 Performance problem with change documents material master
Rob -
Executiing program in background..??
Right now, I want to create a background program which monitors certain folder. What I mean by background is that, I want create a program that will continue running on myLinux Machine whether I log on or off (of course the computer willl be on). Also, the program must be executing while I ssh onto the machine or do other command line on the screen.
How would I create the program so that it remains executing in background ?You need to make no modifications to your program to allow it to run in the background in Unix or Linux.
There are two ways to start the program, depending on which shell (command interpreter) you use:
java com.whatever.GeeWhiz &
or
nohup java com.whatever.GeeWhiz &
Some shells need the "nohup" thing. Try out which one works for you. Or, the latter should work always; the first one gets HUP'ed (killed by a hangup signal) on some shells. -
Very urgent program.....
Hello expets,
I have stuck in the middle of one program, where i selected 9 radio button in matrix form which is displayed on the selection screen. so
when i click on R1 then R4 &R7 should be disabled, when R4 is clicked then R1 & R7 should be disabled, when i click R7 then R1 & R4 should be disabled
the below is my coding... can anyone help me in this
PROGRAM zmatrad_01002 .
DATA: radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,
field1(10) TYPE c, field2(10) TYPE c, field3(10) TYPE c,
box TYPE c.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm,
CHECK1 type flag,
CHECK2 type flag,
CHECK3 type flag,
CHECK4 type flag,
CHECK5 type flag,
CHECK6 type flag,
CHECK7 type flag,
CHECK8 type flag,
CHECK9 type flag.
CALL SCREEN 100.
MODULE user_command_0100 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'check1'.
loop at screen.
if screen-name = 'CHECK4'.
screen-input = '0'.
screen-active = '0'.
screen-output = '0'.
modify screen.
endif.
if screen-name = 'CHECK7'.
screen-input = 'X'.
screen-active = 'X'.
screen-output = 'X'.
CHECK7 = ''.
modify screen.
endif.
endloop.
WHEN 'CANCEL'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE.
MODULE user OUTPUT.
ENDMODULE. " user_command_0100 OUTPUThi,
Please reward points if helpful.
Here i have given sample code for report program not for module pool prog.
you just replace code given here event at selection-screen output with PBO of the screen and write some module under PBO of that screen.
Use modif id.
Program for radio button selections at selection-screen output.
REPORT zstemp_qty2_ .
TABLES:lfm1.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_lifnr FOR lfm1-lifnr .
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS:
r_asn RADIOBUTTON GROUP rad1 USER-COMMAND uc1 DEFAULT 'X',
r_ers RADIOBUTTON GROUP rad1 ,
r_830 RADIOBUTTON GROUP rad1,
r_850 RADIOBUTTON GROUP rad1,
r_862 RADIOBUTTON GROUP rad1,
r_810 RADIOBUTTON GROUP rad1,
r_820 RADIOBUTTON GROUP rad1,
r_824 RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECT-OPTIONS: s_bstae FOR lfm1-bstae MODIF ID sd1.
PARAMETERS:
p_ekorg TYPE lfm1-ekorg MODIF ID md1,
p_evcode TYPE edp21-evcode MODIF ID md2,
p_kappl TYPE nach-kappl MODIF ID md3,
p_parvw TYPE nach-parvw MODIF ID md4,
p_kschl TYPE nach-kschl MODIF ID md5,
p_vakey TYPE nach-vakey MODIF ID md6,
p_werks TYPE werks_d MODIF ID md7,
p_bukrs TYPE lfb1-bukrs MODIF ID md8.
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF r_asn EQ 'X'
AND ( screen-group1 = 'MD3' OR screen-group1 = 'MD4'
OR screen-group1 = 'MD5' OR screen-group1 = 'MD6'
OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_ers EQ 'X'
AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
OR screen-group1 = 'MD2' OR screen-group1 = 'MD3'
OR screen-group1 = 'MD4' OR screen-group1 = 'MD5'
OR screen-group1 = 'MD6' OR screen-group1 = 'MD7'
OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_830 EQ 'X'
AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
OR screen-group1 = 'MD2' OR screen-group1 = 'MD6'
OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_850 EQ 'X'
AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
OR screen-group1 = 'MD2' OR screen-group1 = 'MD6'
OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_862 EQ 'X'
AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
OR screen-group1 = 'MD2' OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_810 EQ 'X'
AND ( screen-group1 = 'MD3' OR screen-group1 = 'MD4'
OR screen-group1 = 'MD5' OR screen-group1 = 'MD6'
OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_820 EQ 'X'
AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
OR screen-group1 = 'MD2' OR screen-group1 = 'MD3'
OR screen-group1 = 'MD4' OR screen-group1 = 'MD5'
OR screen-group1 = 'MD6' OR screen-group1 = 'MD7' ).
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ELSEIF r_824 EQ 'X'
AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
OR screen-group1 = 'MD2' OR screen-group1 = 'MD3'
OR screen-group1 = 'MD4' OR screen-group1 = 'MD5'
OR screen-group1 = 'MD6' OR screen-group1 = 'MD7'
OR screen-group1 = 'MD8' ) .
screen-active = '0'.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Thanks
Sivaparvathi
Maybe you are looking for
-
Hello, Syncing problems - but different. I am trying to sync an old m505 to a new HP desktop. - Palm m505, OS 4.1 - new HP desktop: Windows 7 Pro, 32-bit. The m505 has worked fine for years on a previous XP computer (now dead from hard drive failure)
-
HT4356 Why are Kodak printers not on this list and how can I print with my Kodak printer
Why can I not able to print with a Kodak printer
-
Hi All, We have a scenario wherein our client when they buy intra/inter company have a special way of sending and receiving goods. What they do is that when one plant is sending materials to other by 'ocean' a container is loaded with materials from
-
Photoshop Elements 12 installation error on windows causing rollback-help needed please
I am installing Photoshop Elements 12 on my windows laptop. When almost done an error occurs and it starts rollback and the installation fails. I consulted the troubleshooting guide which suggests to go to C://Program Files(x86)/Common Files/Adobe/OO
-
Company code currency balance not equal Group currency balance
Dear experts, Some of our account balances are inconsistent bewteen the company code and the group amount. This company has the same currency in both the company code and group currrencies which are USD. The exchange quotation is also setup in OB08 w