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
Similar Messages
-
How to find a program which modifies the variant of a standard program?
Hi,
I have an issue where the variant values of the standard program RKEVEXT3 (Transaction : KEFC), is getting changed by a background job.I need to find the program which modifies the values of the variant.
Any input on this will be helpful.
Regards,
Rajhi Raj,
you can change variants with FM RS_VARIANT_CHANGE. I would suggest to run a where used list for this variant in your system.
hope this helps
ec -
Modification in SAP standard programs.
Hi All
I am trying to make modification in SAP standard program by using a copy of code from the original program to my program..but facing many errors like the statement BEgin of block syntax is wrong..
i am trying to mdify the foloowing program--RFSSLD00...
Please help me and guide to make changes to this prog..
Also tell me that do we need to again create all the functiongroup and global data declarartion part.
thank u.hi,
Please note that when you copy a standard Sap Program ,make sure all the objects are copied following your compays naming conventions.
Now RFSSLD00 can be copied without any difficuly.after that compare the new copied program with the standard program. going to version mngmt->remote comparison . doing this you can get the differences
check all the includes.. and type pool declartaion and gui status etc....by going to se80
regards,
Safel -
Standard program modification logs
Hi,
Is there any way/transaction we can view or store logs from a modified standard program ?
Something like the version management in the abap editor but it must display all the standard program that has been modified .
The purpose is to easily keep track of all the changes, in case of system refresh/update.
Thank you.version management will report changes for ALL ABAP objects, including those in SAP namespace. is that what you're asking for?
-
How to know changes in Standard program of SAP
hi
suppose some one has made some manual changes in SAP standard code with the help of access key. The another person wants to know what changes has been made by him?Hi,
To find out modifications in a standard SAP program, check out modification overview. It is a part of modification assistant. When you open a SAP standard program, you will see some extra buttons on the tool bar i.e.Insert, Replace etc., just besides them there is a button for modification overview. Click on that and it will give you the list of modifications done on the program.
If you just want to check out when modifications are done & their request nos, go to the version management and you will get the whole list of requests that the program has.
Reward points if the answer is helpful.
Regards,
Mukul -
Problem in saving a standard program
hello
I have a problem while making changes to a standard program. We are doing an upgrade of 4.6 C to Ecc 6.0.We are doing SPAU activity now and while putting back a customer modification of standard code done in 4.6C version, i face this problem.
I able to change the standard program, but while saving it, i get an error message "Internal error". I tried debugging it and i understand that it is because of checking some enhancement points related things.
I have not worked in enhancement points; can you please suggest why is this error appearing?
Thank you.Can you tell us how was the customer modification implemented in 4.6c system i.e. User-exit or BAdI etc.
Are you trying to copy the source-code of 4.6c (inside user-exit) into enhancement points.
I have encountered "Internal error" many a times while working with ABAP Dictionary. I cannot tell exactly why it happened, but most of the times when i made changes to multiple fields of views it happened.
In order to temporarily solve the problem, I split my work into small portions & made changes to only one field and saved and activated. That way it worked. May be you can try that too.
Regards,
Saurabh -
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 -
How to modify standard programs
HI FRIENDS..........
is there any way to modify standard programs.....Hi Suresh,
in the past it was necessary to modify standard programs. Today SAP offers lots of possibilities to modify programs without doing what SAP calls MODIFICATION.
Have a look at the <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm">Enhancement Framework</a>, especially the different <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/70/63da4023a28631e10000000a1550b0/content.htm">Enhancement Technologies</a>
If you do not understand everything, don't worry: Nobody does but it gives you some hints.
Let us know why and where you think about modification. I'm convinced there are many nice solutions on hand.
Regards,
Clemens -
Standard program on good received statement
Hi all,
can anyone tell me any standard program on good received statement .Hi
check this code
report zmmgnrep0001
line-count 58
line-size 234
no standard page heading
message-id zpp.
TABLES *********************************
tables : mseg,
mkpf,
bkpf,
ekbe,
bseg,
rseg,
rbkp.
DATA DECLARATION ****************************
*data xekbe like ekbe occurs 0 with header line.
*data zxekbe like ekbe occurs 0 with header line.
*data :mirodoc like ekbe-belnr,
mbudat like ekbe-budat.
data xekbe like ekbe occurs 0 with header line.
data zxrbkp like rbkp occurs 0 with header line.
data zrseg like rseg occurs 0 with header line.
data :mirodoc like rseg-belnr,
mbudat like rbkp-budat.
data : begin of icheck occurs 0,
checkdoc like rseg-belnr,
end of icheck.
data: begin of itab occurs 0,
mblnr like mkpf-mblnr,
mjahr like mkpf-mjahr,
budat like mkpf-budat,
bldat like mkpf-bldat,
xblnr like mkpf-xblnr,
zeile like mseg-zeile,
bwart like mseg-bwart,
ebeln like mseg-ebeln,
ebelp like mseg-ebelp,
lifnr like mseg-lifnr,
lfbnr like mseg-lfbnr,
lfbja like mseg-lfbja,
lfpos like mseg-lfpos,
belnr like bkpf-belnr,
bxblnr like bkpf-xblnr,
bbudat like bkpf-budat,
wrbtr like bseg-wrbtr,
dmbtr like bseg-dmbtr,
kursf like bkpf-kursf,
grri like bseg-hkont,
accn like bkpf-belnr,
mirodoc like ekbe-belnr,
mbudat like ekbe-budat,
mirodoc like rseg-belnr,
mbudat like rbkp-budat,
end of itab.
data : xmseg like mseg occurs 0 with header line,
xmkpf like mkpf occurs 0 with header line.
Modifed by Raja Robinson,TTIL pune *****************************
data: counter(10),
counter1(10),
flag,
belnr like bkpf-belnr,
xblnr like bkpf-xblnr,
budat like bkpf-budat,
totlc like bseg-dmbtr,
totfc like bseg-wrbtr,
kursf like bkpf-kursf,
grri like bseg-hkont,
nilcount(5).
data: begin of hdg occurs 10,
f1 type c value '|',
line(232),
f2 type c value '|',
end of hdg.
SELECTION SCREEN ****************************
selection-screen begin of block input with frame.
select-options: pos_date for mkpf-budat,
mat_no for mseg-matnr,
mv_type for mseg-bwart,
vend_cd for mseg-lifnr,
po_no for mseg-ebeln,
hkont for bseg-hkont.
selection-screen end of block input.
BEGIN OF CODE ******************************
BEGIN OF MAIN CODE ***************************
start-of-selection.
perform initialization.
perform get_data_for_input.
perform filter_data.
perform getmirodata.
perform format_data.
perform print_data.
*& Form INITIALIZATION
text
--> p1 text
<-- p2 text
form initialization.
endform. " INITIALIZATION
*& Form GET_DATA_FOR_INPUT
text
--> p1 text
<-- p2 text
form get_data_for_input.
select a~mblnr " Material Document (GRN No.)
a~mjahr " Material Document Year
a~budat " Material Document Posting Date
a~bldat " Material Document Date
a~xblnr " Reference Document (Invoice No.)
b~zeile " Material Document Item No.
b~bwart " Movement Type (101 - GR Iss., 102 - GR Reverse)
b~ebeln " Purchase Order
b~ebelp " Purchase Order Line Number
b~lifnr " Vendor Code
b~lfbnr " Reference Document No(Contains 101 No in case of 102)
b~lfbja " Reference Document Year
b~lfpos " Reference Document Item No.
into corresponding fields of table itab
from mkpf as a
inner join mseg as b
on amblnr = bmblnr
and amjahr = bmjahr
where a~budat in pos_date
and b~bwart in mv_type
and b~ebeln in po_no
and b~matnr in mat_no
and b~lifnr in vend_cd.
if sy-subrc <> 0.
message e000(zpp) with 'No Data Found for the Input Criteria.'.
endif.
endform. " GET_DATA_FOR_INPUT
*& Form GETMIRODATA
form getmirodata.
select * from rseg into table zrseg for all entries in itab
where ebeln = itab-ebeln
and ebelp = itab-ebelp.
select * from rbkp into table zxrbkp for all entries in zrseg
where belnr = zrseg-belnr.
endform.
*& Form FILTER_DATA
text
--> p1 text
<-- p2 text
form filter_data.
sort itab by lifnr mblnr ebeln.
loop at itab.
if itab-bwart = '102'.
delete itab where mblnr = itab-lfbnr
and mjahr = itab-lfbja
and zeile = itab-lfpos.
delete itab.
endif.
endloop.
endform. " FILTER_DATA
*& Form FORMAT_DATA
text
--> p1 text
<-- p2 text
form format_data.
loop at itab.
clear : ekbe,bkpf.
*select * from ekbe
into corresponding fields of table zxekbe
where ebeln = itab-ebeln "xmseg-ebeln
and ebelp = itab-ebelp "xmseg-ebelp
and bewtp in ('R', 'Q').
select * from ekbe
into corresponding fields of table xekbe
where ebeln = itab-ebeln "xmseg-ebeln
and ebelp = itab-ebelp "xmseg-ebelp
and lfbnr = itab-mblnr "xmseg-mblnr
and lfgja = itab-mjahr "xmseg-mjahr
and lfpos = itab-zeile "xmseg-zeile
and bewtp in ('E', 'R').
if sy-subrc = 0.
loop at xekbe.
case xekbe-bewtp.
when 'E'.
select single * from bkpf
where bukrs = 'GMI'
and belnr like '%'
and gjahr like '%'
and bstat = space
and xblnr = xekbe-xblnr
and blart = 'WE'.
and budat = xekbe-budat
and bldat = xekbe-bldat and blart = 'WE'.
itab-wrbtr = xekbe-wrbtr.
itab-dmbtr = xekbe-dmbtr.
itab-kursf = bkpf-kursf.
itab-accn = bkpf-belnr.
when 'R'.
select single * from bkpf
where bukrs = 'GMI'
and belnr = xekbe-belnr
and gjahr = xekbe-gjahr.
move bkpf-belnr to itab-belnr.
move bkpf-xblnr to itab-bxblnr.
move bkpf-budat to itab-bbudat.
endcase.
select single * from bseg where bukrs = bkpf-bukrs and gjahr =
bkpf-gjahr and belnr = bkpf-belnr and buzid = 'W'.
itab-grri = bseg-hkont.
clear bkpf.
endloop.
endif.
read table zrseg with key ebeln = itab-ebeln
ebelp = itab-ebelp.
on change of zrseg-belnr.
if not icheck[] is initial.
read table icheck with key checkdoc = zrseg-belnr.
if sy-subrc <> 0.
icheck-checkdoc = zrseg-belnr.
append icheck.
move zrseg-belnr to itab-mirodoc.
read table zxrbkp with key belnr = zrseg-belnr.
if zxrbkp-budat >= itab-budat.
move zxrbkp-budat to itab-mbudat.
endif.
endif.
else.
move zrseg-belnr to itab-mirodoc.
icheck-checkdoc = zrseg-belnr.
append icheck.
endif.
read table zxrbkp with key belnr = zrseg-belnr.
if zxrbkp-budat >= itab-budat.
move zxrbkp-budat to itab-mbudat.
endif.
endon.
read table zxekbe with key ebeln = itab-ebeln
ebelp = itab-ebelp.
move zxekbe-belnr to itab-mirodoc.
move zxekbe-budat to itab-mbudat.
clear: zxekbe.
********- SZ398R on 22.04.2008
modify itab.
endloop.
sort itab by mblnr.
counter = 0.
endform. " FORMAT_DATA
*& Form PRINT_DATA
text
--> p1 text
<-- p2 text
form print_data.
if hkont <> ''.
delete itab where not grri in hkont.
endif.
loop at itab.
clear flag.
mirodoc = itab-mirodoc.
mbudat = itab-mbudat.
on change of itab-mblnr.
counter = counter + 1.
write:/0(12) itab-lifnr, " to out-line+0(12).
13(10) itab-mblnr, " to out-line+13(10).
24(10) itab-budat, " to out-line+24(10).
36(16) itab-xblnr, " to out-line+36(16).
53(10) itab-bldat, " to out-line+53(10).
64(10) itab-ebeln, " to out-line+64(10),
160(12) itab-accn,
180(15) itab-grri.
flag = 1.
endon.
if belnr = ' '.
belnr = itab-belnr.
xblnr = itab-bxblnr.
budat = itab-bbudat.
kursf = itab-kursf.
endif.
totlc = totlc + itab-dmbtr.
totfc = totfc + itab-wrbtr.
counter1 = counter1 + 1.
at end of mblnr.
if belnr = ' '.
belnr = 'Nil'.
nilcount = nilcount + 1.
endif.
write: 75(16) totlc no-zero,
92(16) totfc no-zero,
109(8) kursf no-zero,
118(10) belnr,
129(16) xblnr,
146(10) budat,
198 mirodoc,
215 mbudat.
CLEAR:mirodoc,mbudat .
clear: totlc, totfc, belnr, xblnr, budat.
endat.
endloop.
uline.
write : / counter, 'GRNs Selected'.
write : / counter1, 'records selected.'.
write : / nilcount, 'GRNs have no JV attached'.
write : 69 '***END OF REPORT*****'.
endform. " PRINT_DATA
TOP OF PAGE *******************************
top-of-page.
uline.
clear hdg-line.
write : 'General Motors India Confidential' to hdg-line+90.
write : hdg color col_heading intensified.
clear hdg-line.
write : 'Report : ZMM4' to hdg-line+1.
write : hdg color col_heading intensified.
clear hdg-line.
write : 'Date :' to hdg-line+10.
write : sy-datum to hdg-line+20.
write : sy-uzeit to hdg-line+39.
write : 'Requested By :' to hdg-line+55.
write : sy-uname to hdg-line+70.
write : hdg color col_heading intensified.
clear hdg-line.
write : 'Goods Receiving Report' to hdg-line+45,
'Page No. : ' to hdg-line+75,
sy-pagno to hdg-line+91(3).
write : hdg color col_heading intensified off.
uline.
clear hdg-line.
write :/0(12) 'Vendor', " to hdg-line+0,
13(10) 'GRN No.', " to hdg-line+13,
24(10) 'GRN Date', " to hdg-line+24,
36(16) 'Invoice No.', " to hdg-line+36,
53(10) 'Inv. Dt.', " to hdg-line+53,
64(10) 'PO No.', " to hdg-line+64,
75(16) 'Amount in LC' right-justified, " to hdg-line+153,
92(16) 'Amount in FC' right-justified, " to hdg-line+179,
109(8) 'Exchg Rt' right-justified, " to hdg-line+167,
118(10) 'JV No.', " to hdg-line+193,
129(16) 'JV.Reference', " to hdg-line+204,
146(10) 'Post.date', " to hdg-line+221.
160 'Account No',
180 'Acc Post',
198 'MIRO Document',
215 'MIRO Post'.
END OF CODE *******************************
thanks
sitaram -
hello
hw to change the field names and output format of a standard program.What program is this ?
Easier way to do will be to copy it into a Z program and then make modifications.
Thanks -
Hi Intellects,
I am supposed to make modifications to the emails sent to approver , reviwer and requestor to notify them of the status of the request.
standard program RSWUWFMLEC should be copied into a Z program and change the email content.
Does anyone has any idea about this standard report.
Thanks in advance.Hi
Please go through this ->
The older version of SRM (<5.0), uses the program RSWUWFMLEC to send escalation emails to approvers and their managers. A single email is sent to the approver, approvers manager and managers manager. Here the recipient can see the other recipients in distribution list of the escalation email. It helps the manager to easily identify the approver and follow-up with him for approval.
In the new version(>=5.0) we use the program RBBPNOTIFICATION_OFFAPP_
for sending notification and escalation emails to approvers and managers.
Behavior: An individual email is sent to the approver, approvers
manager and managers manager. Here the recipient cant see the other
recipients in distribution list of the escalation email. It becomes
difficult to the manager in identifying the approver, to follow-up with him for approval.
The old version send a mail only to one manager (no distribution list is maintained in standard). I think the rswuwfmlec you are using has been modified.
With the new version you can implement a badi (BBP_OFFLINE_APP_BADI ) to change the content of the mail or change and add new recipients.
Please go through these links ->
SAP Standard Solution
http://help.sap.com/saphelp_srm50/helpdata/en/88/f7423b4ac8d506e10000000a11402f/frameset.htm
Processing of Work Items in Other Mail Clients
http://help.sap.com/saphelp_srm50/helpdata/en/67/ec7b20d15411d2b465006094b92d37/frameset.htm
Other useful links ->
Offline Approval: RBBP_NOTIFICATION_OFFAPP Vs RSWUWFMLEC
WF-BATCH or not WF-BATCH....
Offline Approval
Re: RSWUWFMLEC
Hope this will help. Do let me know.
Regards
- Atul -
FI Invoices Outbound - Any Standard Program ?
Hi,
Is there any Standard program to send SAP FI Open, Chnaged and Closed Invoices in to a File (Outbound)?
How to Track Invoice is new or chnaged or closed ?
I appricate any help. Thank you.i am away from my system...Just check BKPF / BSEG tables...U can get the field name....
Award points if useful... -
Customer Statement (Standard Program and Scripts)
Hi All ABAPers,
Can anyone tell me the standard programs and their tcodes used for Customer statement with the smartform and sap script names?Custom statement Prog Name: RFKORD11
Script name: F140_CUS_STAT_01 & F140_CUS_STAT_02
Statements would be printed via FBL5N.
Edited by: Alexander on Jul 1, 2009 12:00 PM -
GL Account Document not picked by Standard Program
Hi Friends,
I have an issue which is related to GL Accounts
Everyday 5000 odd documents will be Picked by standard program and the GL documents are cumulated to one particular document and it will be sent to another system through idoc.
The issue here is on one particular day one single GL Account document has not been picked by the program and cumulated. Instead that has been picked on next month..
So i need to know what might be the reason for the delay in picking the document for particular day.
Help me with solution in this issue
Thanks in advance
kishoreThansk for the reply.
I also thought of one reason among the four u specified..But i will stil make it clear to u so that i will get better idea on this issue.
Like in one system all the documents wil be picked and GL account will be posted and through idoc it is sent to another system where the balance should be equal
when i compare two systems one is 4.7 and another is 4.5 version.
In FS10N for all the month the balance is talied for both the systems like the credit ,debit everything gets tallied for the particular document number. But for one particular month there is a diffence only in the credit amount of two systems..The 4.5 system shows some amt less than the total.
But that problem also solved but it got delayed by a month..
Thats the reason this issue arised, Why it took this delay..Could you pls suggest me witht this.
If any kind of prooof is ther to show this might be the reason for client
Thanks
kishore -
Do we any SAP Standard program to Send IDOC of Type CODCMT01
Do we any SAP Standard program for outbound processing for IDOC Type CODCMT01
Message was edited by: Vipin Nagpal- If it is for test purpose only, you could use transaction WE19 (Test Tool).
- As well you could write your own program and user MASTER_IDOC_DISTRIBUTE function module... but in this case you need to fill yourself the fields of the IDOC
- as well you can have a look at function group KALE...
E.g. function module K_DOCUMENT_SEND
Maybe you are looking for
-
Migration Assistant failure - intriguing behavior
I'm now on my third attempt to run Migration Assistant to reinstall my user account files. On the second attempt, I watched as Migration Assistant copied the files (from Desktop down to Pictures), and then sat horrified as the files quickly disappear
-
Mid 2007 macbook being too slow?
I purchased my macbook in mid 2007 and it is covered under applecare till September. For the past couple months it has become increasingly slow. Sometimes when I go to wake my computer it ends up shutting down and waking it up makes it restart, somet
-
How can you tell where your Mac Pro was assembled?
I heard mention in another thread that some MP's were made in China while some were assembled in CA. Where do you find this information?
-
Hi, In BPS, when user A is modifying a dataset, user B at the same time can't modify the same dataset because of the data locks. I wonder how does it work in BPC. In script logic when you add a particular value, say company 1000, in the dataset using
-
Error: Missing packages: SAPKA71007 (SAP_ABA)
I am upgrading a SAP PI system from 7.0 SPS18 to 7.10 SPS8. In the Configuration phase I get the error: ERROR: Unable to generate package queue. Return Code = 3, Reason = "Package SAPKA71008 : Import prerequisites are not fulfilled" Missing packages: