Enhancement for T-Code PHAP_CREATE_PA
Hi,
I am using T-Code PHAP_CREATE_PA to create an appraisal document. Is there any way to give message so that whenever i exit the t-code i can warn the user about the status of the appraisal document.
It uses function module HRHAP_SHOW_DOCUMENT in which one option is you go for implicit enhancement if nothing available but i can see various badi's also avaialble but could not test them on my system.
Also check if HRHAP00_DOC_PREPARE badi is of any help
search with HRHAP00* in se18 you will see lot of BADI's use suitable one as per your requirement.
Nabheet
Similar Messages
-
Enhancement for t.code FBRA
Hi,
I tried using user-exit F050S006. i inserted a break-piont in the exit and executed transaction code FBRA but control doesnt go to this exit. please help me out in finding an enhancement while executing FBRA.
Regards,
Sonali.hi,
check this
Enhancement
F050S003 FIDCC2: Change IDoc/do not send
F050S002 FIDCC1: Change IDoc/do not send
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
SAPLF051 Workflow for FI (pre-capture, release for payment)
RFKORIEX Automatic correspondence
RFEPOS00 Line item display: Checking of selection conditions
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
Business Add-in
FI_FB08_SUBST_BUDAT FB08: Check Posting Date for Reversal of FI Doc. with FB08
FI_GET_INV_PYMT_AMT BAdI for determining the payment amount for an invoice
FI_HEADER_SUB_1300 Screen Enhancement for Document Header SAPMF05A
FI_PAYREF_BADI_010 BAdI: Payment Reference Number
FI_RES_ITEM_CURRENCY Document of Residual Item with Invoice Currency
FI_TRANS_DATE_DERIVE Derive BKPF-WWERT from Other Document Header Data
BADI_ENJ_ALT_ADR Go to alternative vendor/customer data
BADI_F040_SCREEN_600 Screen Enhancement on F040 0600 Document Header
BADI_FDCB_SUBBAS01 Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS02 Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS03 Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS04 Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
RFESR000_BADI_001 BAdI for Own Processing of POR Item
BADI_FDCB_SUBBAS05 Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
BADI_MIRO_SPLT_ADD Append additional fields of ACCVS to ACCIT
BADI_PRKNG_NO_UPDATE BAdI for Deactivating Update of Parked Documents
FVFZ Replacement for Function Modules of Function Group FVFZ
INVOIC_FI_INBOUND BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
F050S008 FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
AC_QUANTITY_GET Transfer of Quantities to Accounting - Customer Exit
ADJUST_NET_DAYS Change to Net Due Date
FBAS_CIN_LTAX1F02 Tax interface
FBAS_CIN_MF05AFA0 EWT - Downpayment Clearing - Tax transfer for CIN
FISPLIT Online Split: Cash Discount, Exchange Rate Differences
FI_AUTHORITY_ITEM Extended Authorization Check for Document Display (FB03)
FI_DOC_DISP_LI Diversion to Document Items (FB03)
Yogesh N -
Hi guys....i need to find an user exit or badi for the transaction CJ88 but not the
COOM0003 because we need an use exit or badi for check profit center at moments
from first screen to second list screen.
I hope somebody could help me with this..
Regards
mail:[email protected]To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas -
Enhancement for F-02 T.Code
Hi all,
Can any one help me with a enhancment. i want a enhancment for the t.code F-02.or Any user exit.
Thanks.hi
execute this report
report zbadi_find .
tables : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode,
p_pgmna like tstc-pgmna .
data wa_tadir type tadir.
start-of-selection.
if not p_tcode is initial.
select single * from tstc where tcode eq p_tcode.
elseif not p_pgmna is initial.
tstc-pgmna = p_pgmna.
endif.
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object in ('SMOD', 'SXSD')
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(105) sy-uline.
format color col_heading intensified on.
Sorting the internal Table
sort jtab by object.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type c.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
loop at jtab into wa_tadir.
at first.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
write:/(105) sy-uline.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
format color col_group intensified on.
write:/1 sy-vline,
2 wf_object2,
105 sy-vline.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
select single modtext into wf_txt
from modsapt
where sprsl = sy-langu
and name = wa_tadir-obj_name.
format color col_normal intensified off.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single text into wf_txt
from sxs_attrt
where sprsl = sy-langu
and exit_name = wa_tadir-obj_name.
format color col_normal intensified on.
endcase.
write:/1 sy-vline,
2 wa_tadir-obj_name hotspot on,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
at end of object.
write : /(105) sy-uline.
endat.
endloop.
write:/(105) sy-uline.
skip.
format color col_total intensified on.
write:/ 'No.of Exits:' , wf_smod.
write:/ 'No.of BADis:' , wf_badi.
else.
format color col_negative intensified on.
write:/(105) 'No userexits or BADis exist'.
endif.
else.
format color col_negative intensified on.
write:/(105) 'Transaction does not exist'.
endif.
at line-selection.
data : wf_object type tadir-object.
clear wf_object.
get cursor field field1.
check field1(8) eq 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
when 'SXSD'.
set parameter id 'EXN' field sy-lisel+1(20).
call transaction 'SE18' and skip first screen.
regards
Nagesh.Paruchuri -
Product enhancement for confidential BP codes
Currently, I am not aware of a way to restrict access to certain BP accounts, including the related activities for a BP. For example, our bank, HR consultants, etc. where I would like to limit the access to these BP accounts and related attachments to certain users, such as our management group.
Primary importance would be to limit access to related activities where sensitive information may be stored in the form of emails, attachments, etc.
Our previous CRM allowed us to flag BP accounts as restricted and set up permissions to authorized users.
Is anyone aware of a way to limit access to these activities?
If not, this is a great enhancement for future releases.Hi Deb,
that's right! Assigning your config key to business role allows you using your own configuration for this business role.
I thought, that you enhanced GET_I_DATAORIGIN_TEXT by redefining the I-GETTER. For me, this means, that the SAP creates a new z-class which inherits the SAP standard class. In this case you have to assign your enhancement set to your client...
Did you set a break-point to your GET_I_DATAORIGIN_TEXT and checked the returning parameter? If rv_disable = "FALSE" and the DDLB is still disabled, this could mean, that the entity belonging to your field is not changeable...
best wishes,
Hakan -
SAP is allowing the creation of PO's for C.codes for non extended vendors
Hi Gurus
SAP is allowing the creation of purchase orders for company codes to which the vendor has not been extended. An example is PO 4500XXYYZZ for vendor number 9010577. The PO was created for company code 1111, but the vendor is not extended to company code 1111.
Please suggest how to avoid the above transaction by throwing an error.
Thanks
SadaYes, this is SAP Standard Behaviour Only. System Will check Whether the Vendor Hasbeen Maintained at Purchase Orgn Level during Purchase Order Creation.
During MIRO only System check whether the Vendor is Maintained at Company Code level or not Else it will not allow to Post Invoice.
You can Control this by Restricting Users to Use MK01 and Give Access to XK01
Else Use the Following Enhancement :
MM06E004 EXIT_SAPMM06E_004
Contact your abaper and Fulfil your Requirement. -
Question about "Enhanced for loop"
public class NewLoopTest{
public NewLoopTest(){
int result=0;
int[] a=new int[20];
for(int i=0;i<a.length;i++){
a=i++;
for(int i:a){
System.out.println("i="+i+";"+"a["+i+"]="+a[i]+";result="+result+"+"+i+"="+(result+i));
result+=i;
System.out.println("-------------");
result=0;
for(int i=0;i<a.length;i++){
System.out.println("i="+i+";"+"a["+i+"]="+a[i]+";result="+result+"+"+i+"="+(result+i));
result+=i;
This code counts sum of the elements of a array.
At first I use the enhanced for loop and at second I use the traditional for.
Enhanced for loop in sdk1.5 returns only even elements of array, am I right?Enhanced for loop in sdk1.5 returns only even
elements of array, am I right?No. It covers them all.
The i in the enhanced for loop is not the index. It's the element at the current index. You don't have access to the index in the new loop because you don't need it.
for (int item : arr) {
System.out.println(item);
// is equivalent to
for (int ix = 0; ix < arr.length; ix++) {
int item = aa[ix];
System.out.println(item);
}The i in your new loop is the same as a [ i ] in the old loop. -
Enhanced for-loop by java5 needs to be more enhanced?
Hi, all of you,
I often need to iterate a collection. Sometimes I need to iterate a subset of a collection. Then I have found the enhanced for-loop is not enough.
Before Java 5, you did the following:
for(int i=0;i<collection.size();i++) {
Object object = collection.get(i);
doSomething(object);
}Thanks to Java 5, you can do the following:
for(Object object:collection) {
doSomething(object);
}However, before Java 5, I have the flexibility to skip the first two lines by purpose, as follows
for(int i=2;i<collection.size();i++) {
Object object = collection.get(i);
doSomething(object);
}What should I do the same thing with Java 5?
Kind regards.
Pengyoupengyou wrote:
JoachimSauer wrote:
masijade. wrote:
uncle_alice wrote:
Or, if the collection is a List: for (Object obj : theList.subList(2, theList.size())) {
doSomething(obj);
Ah, yeah, I keep forgetting about that. ;-)
Actually, I just never think about it. ;-)I think you're not alone. I find that subList() is severly under-used. It simplifies a lot of operations (ever tried someList.subList(0, someIndex).clear()? Try it).The solution is nice except it might throw IndexOutOfBoundsException.Which probably means a bug somewhere else. The way to avoid runtime exceptions is to write code that doesn't put you into situations where they'll arise, not to avoid them being thrown -
Enhancement for BGM1 Transaction
Hi Friends,
I have a reqirement to add a new column in the BGM1 transaction -> Item Screen -> Services Tab , in-between SORTID and INCL/EXCL. I have checked all the User-exits, Customer exits and BADI's available for the transaction but could not find a suitable enhancement for this.
I have given the basic frame work of the sequence in which the column should be inserted below.
Item Service Text LongText Sortid New field to be inserted INCL/EXCL
Is there any way to modify the screen by inserting this column. Please guide me.
Thanks & Regards,
R.Indirajit.Hi
I do not think so, there is any user exit/BADI related to "Baseline date" change.
Instead, if you are using ECC6.0 you can go with " Enhancement Spots ".
Program:
Include: LFDCBFM0
Search for " Implicit Enhancement " in the above program.....
At the end of the Subroutine " Modify_Screen_Header_Fields ", place your logic:
Logic:
Loop at screen.
Case Screen-Name.
When 'INVFO-ZFBDT'.
If <company code> is YES.
screen-input = 0.
modify screen.
endif.
endcase.
end loop.
Hope this helps............. -
Hi experts,
I hope u can Resolve this query.......My requirement is in 'XD02' by giving the customer no and the division type. in the next screen in sales document screen and in the billing document tab it will dispaly the payment term tat maintained to the division type.
for eg: customer no : 500010.
division type : 00 common.
division type : 05 some name.
in the second screen.
in sales area data.
in billing document.
In the payment term field tat corresponding to the division type.The Point is the common division '00 ' is also maintained for customer no and payment term is also maintained individually for both division type.
in sales order 'Va01' screen if we enter the order type tat relates to the division type has some values.
My client Requirement is in 'VA01' if they enters the order type and the common division '00' it will enter into the next screen there if we give the 'customer no' it should relate the order type and should brings the value of 05.
for that found out the enhancement in the standard program 'MV45AFZZ'.
Could you Pls provide Some Code to fill this.
Note: Client says that Not to create any Ztable.
Moderator Message: Kaushik is right. Thread Locked. And refrain from posting duplicate thread too.
Edited by: kishan P on Dec 16, 2011 1:32 PMSorry kaushik some Idea to How to do this.....we found out the enhancement but our code is not working since some one coding has overwriting that....sorry am not Asking the entire code.
-
Data source enhancement for text
Hi,
I have a datasource 0customer_attr and it has also zfield .now requirement is to load the text of that zfield also in BW. I have a doubt about that whether I have to enhance ocustmer_attr ie add new field into it or I have to create a generic data source for it.
Thanks,
SaurabhHi,
customer_attr is fetching data from extract structure and this is based on kna1 table and kna1 table has some z fields . for those zfields we have custom table and in custom table(ztable ) we get the data from there respective r table . ie we have acq code in custom table(and in also data source and extract structure and kna1 table) and we require acq description also in BW. and acq code & desc is maintain in its respective table(its a z table ).
i also see the enhance abap code which is fetching data for acq code .
i have a doubt whether i add one more field to 0cust_attr or create generic data souce as it is Zfield.
Thanks,
Saurabh -
At User command - enhancement for FBL1N
Good day,
For our requirement, we have modified the Vendor Line Item display report (Tcode FBL1N) to include another field. Now we need enhance this further. When the user clicks on this additional field, a customer specific functionality needs to be called (not the FI document).
We checked the BADIs/ User exits for FBL1N. There are several menu enhancements. But no specific enhancement for the
'at user command' action, called when this field is clicked. We would like to know if anyone of you have implemented this before.
Appreciate your help,
Liz.Hi,
I tried in my system and it allows me to create enhancement in FI_ITEMS_DISPLAY. Take the following steps.
Go to Se37 and press display for function module. Press SHIFT+F4. Go to edit--> enhancement operation->show implicit enhancements.
It will bring a line at start and end of function module. In the end before endfunction right click with curson on line and click create implementation. Choose declaration and name of implementation and code there.
I believe you are on ECC.
Let me know in case you need any help.
Nabheet -
Finding Enhancement for a userexit
Hi All,
I am trying to find Enhancement name for the userexit USEREXIT_MOVE_FIELD_TO_VBAP and so far have tried all suggestions from the experts including, sample program code to find userexits for a transaction, SMOD, SE84 (thru package), etc., etc.. but without any success. Can someone please show me step by step how to find the Enhancement for this userexit. I would greatly appreciate it. Again, no tips, hints, pls. ..just the actual steps for the aforementioned userexit. Once we have this resolved, we could apply this to a lot more exits, which would be a big help as we need the Enhancement name in CMOD.
Thanks & Regards,
TonyThis is special type of the userexit form in the SD area. You will not find it in SMOD, CMOD etc.
You can find this FORM in the program MV45AFZZ.
You need an access key for this program if you are chaning it first time.
MV45AFZZ is the include which cotains all the userexit forms for order processing.
Regards,
Naimesh Patel -
I get the following compiler error when using the Java 5 SE enhanced for loop with a generic collection.
Code:
public static void main(String[] args)
List<Integer> l = new ArrayList<Integer>();
l.add(new Integer(1));
printCollection(l);
private static void printCollection(Collection<?> c)
for (Object e : c)
System.out.println(e);
Error on attempting to build:
"Error: Internal compilation error, terminated with a fatal exception"
And the following from ojcInternalError.log:
java.lang.NullPointerException
at oracle.ojc.compiler.EnhancedForStatement.resolveAndCheck(Statement.java:2204)
at oracle.ojc.compiler.StatementList.resolveAndCheck(Statement.java:4476)
at oracle.ojc.compiler.MethodSymbol.resolveMethod(Symbol.java:10822)
at oracle.ojc.compiler.RawClassSymbol.resolveMethodBodies(Symbol.java:6648)
at oracle.ojc.compiler.Parser.resolveMethodBodies(Parser.java:8316)
at oracle.ojc.compiler.Parser.parse(Parser.java:7823)
at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:978)
at oracle.ojc.compiler.Compiler.main(Compiler.java:745)
at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1486)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:515)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:715)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:893)Install the Service Update 1 patch for JDeveloper (using the help->check for updates), and let us know if this didn't solve the problem.
-
Enhancement for partner determination in STO
Hello, SAP gurus!
We are working on enhancement to copy CR partner role (forwarding agent) from supplying plant's vendor master to STO partner tab. We have found a way, how to select the data and fill it in structure MMPA, which will update STO partner data during STO save. The problem we are facing now is the missing partner data in parnters tab on ME21N screen, when the data is copied. Data is filled in MMPA structure, but something is still missing so it is not displayed on screen, thus it cannot be changed or seen.
Has anyone figured out working solution for this, as SAP does not support partner determination for STO's sccording to note 117537?
Thanks in advance!Hi,
You need debug the T-code ME21N and see from which run time structure does ME21N displays data on the screen.
And you will also write an enhancement for ME21N.
Hope this is of help to you!
Reetesh
Maybe you are looking for
-
Hi, I need some help in Data Federator. How to create Projects etc and connections? What are the steps and how does it work with InfoView, WebI and Universe? I will appreciate steps and charts besides guides. Thanks Bashir Awan
-
My iphone 5 is not discovered ssid wifi
my iphone 5 is not discovered ssid wifi in near of ap, but most very near of ap why ???? my ios v 6.0.2 but not currect work
-
I have mac OS 10.6.8 build 10K549 cannot update mail or OS to lion
I have an iMac with a newly replace 1 tetrabyte HD which has come back with mac OS 10.6.8 and build 10K549 I cannot update Mac mail or update the OS to lion. I have downloaded the update to the OS to allow the installation of Lion but the desternatio
-
Can we store values @run time in Adobe Forms when there are multiple views
Hi, I am new to Web dynpro Java - Adobe Forms. I working on a solution for the following scenario. I have 3 Views (each an adobe Form) in a web dynpro component. I have to capture the user entered values in View1 and View2 (PDFs) and display them in
-
Why is the new iOS 6 so slow?
Why is the my iPad 3 running so slow now I have updated to iOS 6. Also unable to access the app shop