HR Abap-RPTQTA00 enhancement
Hi friends,
anyone who made changes in rptqta00??
can you share your experince?
I want to change the output this way:
difference between generated leave in a year and the taken /availed leave should not exceed 40 days.
is this possible?
the stand report only generates quota,while abs are availble in 2006 infotype.So can i compare the diff ??
and i want to restrict the total avaialble quota to an employee only 40 days.
regards
Sai
There is the Concept called dynamic actions regarding this .Kindly chekc the available documkents fgro this ..ok
regards
sas
Moreover this is Functional people work
Reward points if useful
Similar Messages
-
ABAP HR enhancement for Short profile in PB20 or PB30
Hello gurus,
I am trying to display shortprofile in trnsaction PB20 and PB30.
Here values are coming but I want to know from where and how this values are coming as I need to display some extra text for this.
Here requirement is there is some short profile field on portal application and I need to display this text in R3 when user clicks on that short profile button on application bar of PB20 or PB30 screen.
I need some enhancement like I can read table and display this extra text with this coming values as well.
Can any anybody please explain how can I make this possible?
I am going to post same thread for ABAP HR also.
Thanks in Advance.I have resolved it my self,
I have enhanced all standared infotypes as per my requirement and this infotype is getting called in this short profile code.
There is no other option. -
Doubt s in ABAP HR -Enhancements
Hi Experts,
I am working in enhancements, I have some doughtes in that ,so plz do help to me,
My enhancement is,
Whenever we enter data such as Emp Firstname, emp.lastname,empdate of birth, in pb10 this data should check in PAP database tables and if he is previous employer of the that company it should give his Emp.id.
And also it should check how many months back he worked in this company if that period is less than r equal to 3monthes
We have to send the message that he is not eligible for attending interview. if that is greater than 3 months he is eligible for attending interview.
For this I am trying in cmod transaction code in EXIT of pbs0001.
CLASS CL_HR_PNNNN_TYPE_CAST DEFINITION LOAD.
CASE INNNN-INFTY.
WHEN '4000'.
data : p0002 like p0002.
data : p4000 like p4000.
call method CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
INNNN = p0002.
if ( IPSYST-IOPER = 'INS' OR IPSYST-IOPER = 'MOD' )
**and sy-ucomm = 'UPD' .
CLEAR SY-UCOMM.
ENDIF.
BUT WHENEVER I SEE IN DEDUGGING MODE ,I am not getting any data in that mode ,
Where I am doing mistake I am not getting so plz do help on this.
Thank you very much,
Krishna.Hi,
I am not sure of the exact solution, but think that the problem may be because of the LDB's. Applicant database uses PAP LDB whereas employee database uses PNP LDB. May be after picking up the data from applicant database you can do a select on PA0002 table on the fields first name, last name and date of birth to check whether the employee worked in the company earlier or not. Just check if this helps.
Regards,
Jaisish -
Hi Experts,
As i am not familiar with data types please update me...
I am using the below logic to calculacte years & months between 2 dates and save the result in YY.MM format.
The FM i am using will give years & months between 2 given dates.
My requirment is to save result in YY.MM format.
The code is working correctly...i need a minor enhancement to code
Currently if years are 8 and months are 8 the out put will be 8.08 but i want it in YY.MM format which is 08.08
I want to add a leading 0 if years <10
Please update
DATA: years TYPE tfmatage,
months TYPE tfmatage.
DATA: l_res TYPE p decimals 2 .
IF NOT SOURCE_FIELDS-/bic/zdob IS INITIAL.
CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
EXPORTING
I_DATE_FROM = SOURCE_FIELDS-/bic/zdob
I_DATE_TO = sy-datum
I_FLG_SEPARATE = 'X'
IMPORTING
E_DAYS =
E_MONTHS = months
E_YEARS = years.
l_res = years + months / 100.
WRITE l_res TO RESULT.
ENDIF.
WRITE / RESULT.Hi,
you could do like this:
REPORT zhabitest4.
PARAMETER:
p_datum LIKE sy-datum.
DATA:
result(20).
DATA: years TYPE tfmatage,
months TYPE tfmatage,
y_num(4) TYPE n,
m_num(2) TYPE n.
DATA: l_res TYPE p DECIMALS 2 .
IF NOT p_datum IS INITIAL.
CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
EXPORTING
i_date_from = p_datum
i_date_to = sy-datum
i_flg_separate = 'X'
IMPORTING
e_days =
e_months = months
e_years = years.
l_res = years + months / 100.
WRITE l_res TO result.
y_num = years.
m_num = months.
CONCATENATE y_num+2(2) '.' m_num INTO result.
ENDIF.
WRITE / result.
regards
Walter Habich -
ABAP Coding- enhance transactional datasource
i need to bring in data from different tables and following code works for me:
DATA: l_s_ziw_orderma_i like ziw_orderma_i.
CASE i_DATASOURCE.
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = l_s_ziw_orderma_i-GUID .
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDSELECT.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
Guid...date...........objectid...item guid
1122......1.1.10....901..........z1122
1122......1.1.10....901..........z1123
1122......1.1.10....901..........z1124
using this ITEM GUID from extractor, i want to pull out data from table - CRMD_SRV_REF
guid ...............product...............Product type..........product quality
z1122.............110011..........ABC.........................GUD
z1123.............110012..........DEF..........................GUD
z1124.............110013...........DFG.........................GUD
NOW my code works for extracting PRODUCT..
what MODIFICATION I need to do so that i can bring in PRODUCT TYPE & PRODUCT QUALITYHI ,
I am not sure about the Product quality( Do you know the source table ?) , but Product type will be available in the
will not be available in CRMD_SRV_REFOBJ, you can get that from table COMM_PRODUCT ,
Change your code as below sample code to get product id and Type , find the source table for product quality and extend this code in the similar way , check for syntax error if any and fix it
TYPES : BEGIN OF PROD ,
PRODUCT_ID TYPE COMT_PRODUCT_ID ,
PRODUCT_TYPE TYPE COMT_PRODUCT_TYPE,
END OF PROD .
DATA: l_s_ziw_orderma_i like ziw_orderma_i,
i_PROD TYPE TABLE OF PROD ,
WA_PROD LIKE LINE OF i_PROD .
CASE i_DATASOURCE.
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
SELECT PRODUCT_ID
FROM CRMD_SRV_REFOBJ
INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = l_s_ziw_orderma_i-GUID .
ENDSELECT.
IF SY-SUBRC EQ 0 .
SELECT PRODUCT_ID
PRODUCT_TYPE
INTO TABLE i_PROD
FROM COMM_PRODUCT
WHERE PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
ENDIF .
IF i_PROD[] IS NOT INITIAL .
READ TABLE I_PROD INTO WA_PROD WITH KEY
PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
IF SY-SUBRC EQ 0 .
l_s_ziw_orderma_i-ZZPROD_TYPE = WA_PROD-PRODUCT_TYPE .
ENDIF.
ENDIF .
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
Regards,
Sathya -
How to Generate New Version of Enhancements done to Std WebDynpro ABAP obj
Hi Experts,
We have enhanced a SAP Std WebDynpro ABAP component (HAP_DOCUMENT_BODY) using Enhancement framework provided by SAP. Multiple enhancements were done on the same component for different requirements. Now, under the Enhancement Implementations folder of this component, you can see 5 enhancements of the component each referring to the 5 different changes done (most of the changes were done to the same view ).
These changes has now been transported to the Quality System. Now, the client wants one of the changes to be removed. I am not sure of the impact of removing, for eg: the 3rd enhancement, on the other changes done as multiple enhancements were done in a mixed manner.
What i want to do is to generate a new version of WebDynpro component on Dev which has all the enhancements done so far using Utilities -> Versions -> Generate new version. Then try to delete the 3rd enhancement folder, so that if something goes wrong, I can always revert to this newly created version on DEV which has all changes available.
Questions:
1) Before that, I would like to know if I can generate versions of the enhancements done of WebDynpro ABAP using enhancement framework by using Utilities -> Versions -> Generate new version ?
2) If yes, I want to generate one version which has all the enhancements done so far using enhancement framework. For doing so, where should i do the click or selection (Is it Std Main Component or is it Enhancements in the enhancements folder-if so, there are 5 of them, and which one??) before i go to Utilities -> Versions -> Generate new version. I am not clear where i should select or keep the cursor selected on before generating a new version?
Please guide with step by step details.
Thanks,I have moved this post to the HTML5 layouts forum, which is more appropriate.
I am guessing you are using Rh11 as you have a trial copy. I have some instructions for Rh10 and the only difference should be the script used. See the contact page on my site and request those details. Include a link to this thread.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Difference between implicit enhancement and explicit enhancement
What is the difference between implicit enhancement and explicit enhancement .
Hi Peters,
Implicit enhancement option
Throughout the ABAP system, enhancement options are automatically available at certain pre-defined places. Some of the implicit options are:
u2022 At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
u2022 At the beginning and end of all FORM subroutines
u2022 At the end of all Function Modules
u2022 At the end of all visibility areas (public, protected and private) of local class
To view all the implicit options available in a source code, choose u2018Edit -> Enhancement Operations -> Show Implicit Enhancement Optionsu2019 from the editor.
Befor that you click on the spiral icon button in the application toolbar
Explicit enhancement option
The Implicit enhancement options are provided at specific source code places explicitly by SAP (Note that these enhancement definitions can also be created by partners and customers in their code).
There are two types of Explicit Enhancement options available. One which can be provided at a specific place - called Enhancement Point, and another which can be used to replace a set of statements u2013 called Enhancement Section. For this, we now have two new ABAP statements, viz.
u2022 ENHANCEMENT-POINT
u2022 ENHANCEMENT-SECTION
When the Enhancement-Section is implemented, only the implementation gets executed and the original code doesnu2019t get executed. This is a new technique, which didnu2019t exist previously in any of the old ways of enhancing, to exclude any standard SAP code from execution. Because of this, there can be only one active implementation of an Enhancement-Section. On the other hand, there can be multiple active implementations of an Enhancement-Point, in which case all the implementations will be executed with no guarantee in the order of execution.
For more information check the following link
[http://help.sap.com/saphelp_nw70/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm]
Thanks,
Surya -
ABAP Programming Guidelines not showing in ABAP Keyword Documentation
We are currently in the process of upgrading to Netweaver 7.0 EhP2
I have seen mentioned that the ABAP Keyword Documentation and ABAP Examples are now all provided in an improved ABAPDOCU transaction. In addition, the ABAPDOCU transaction is meant to also have a section on ABAP Programming Guidelines.
I have seen a screen example of what the ABAPDOCU screen now looks like (as shown in the mockup below). Our ABAPDOCU screen looks very similar except that there is no node for ABAP Programming Guidelines.
That is an area that I would like to have a closer look at. Have we missed something. Is this available as part of the standard 7.0 EhP2 install or does it need to be installed separately (or perhaps is this only available in a higher EhP). I've tried finding further information on this option but have not been able to come across anything. Does anyone know what would be involved (or if it is possible) to make this available in EhP2
Greg Milici
ABAP Developer
...V...ABAP Keyword Documentation
.......>...ABAP Overview
.......>...ABAP - Reference
.......>...ABAP - Short Reference
.......>...ABAP - Release-Specific Changes
.......>...ABAP Programming Guidelines
............ABAP Glossary
............ABAP Index
............ABAP Subject Directory
etc.Hi Greg,
When [searching|http://help.sap.com/search/sap_trex.jsp] the [documentation for NW 7.0.2|http://help.sap.com/nw702/] for ABAP keyword there are several documents that mention how you can find more details about ABAP keywords. For example, [Data Consistency|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/41/7af4b6a79e11d1950f0000e82de14a/frameset.htm] mentions a menu in the ABAP Editor, and [New Features in Web Dynpro ABAP for Enhancement Package 2 (EhP2)|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/54/07ec96bd5a4764be4996fff231b4de/frameset.htm] mentions the ABAPHELP transaction.
I suppose you could try to find if the documentation you need is installed on your system. Perhaps the [how do I Install SAP Document CD and SAP Library|how do I Install SAP Document CD and SAP Library; thread might be of help.
Best regards,
Rossen -
How to use Enhancement Framework in ECC 5.0 and 6.0
hi
is there any good tutorials on enhancement framework? i have gone through the help but its not very clear. if anyone has stepby step guide will be useful.
~SureshThis is an old question... but i think it is very useful for the developers if anyone search it and find my answer relevant like it with immediate effect.....
What is Enhancement Framework?????????
Enhancement Framework is the new paradigm to bring all enhancement techniques under one roof. It can also be switched using Switch Framework. The following are different enhancement technologies available under this framework.
• Source Code Enhancement
• Function Group Enhancement
• Class Enhancement
• Kernel-BADI Enhancement
Semantically related enhancement options are grouped under a ‘Simple Enhancement Spot’. ‘Composite Enhancement Spot’ contains one or more of Simple and other Composite Enhancement Spots. On the other hand (implementation side), various related implementation elements are grouped under a ‘Simple Enhancement Implementation’. A ‘Composite Enhancement Implementation’ can contain one or more of Simple and other Complex Enhancement Implementations.
1.Source Code enhancement
Whenever enhancement needs to be incorporated directly into the ABAP source code, this technology shall be provided. Implementing this technology is also called as Source Code Plug-In. There are two types of Source Code enhancements possible.
• Implicit enhancement option
• Explicit enhancement option
>>>Implicit enhancement option
Throughout the ABAP system, enhancement options are automatically available at certain pre-defined places. Some of the implicit options are:
• At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
• At the beginning and end of all FORM subroutines
• At the end of all Function Modules
• At the end of all visibility areas (public, protected and private) of local class
******Note that, in order to implement any of these Source code enhancements, you need to be in the ‘Change Enhancement mode’ (the spiral icon available in the editor). Technically the source code plug-in implementations are stored in a separate include program and not as part of the original source program.***********
>>>>Explicit enhancement option
The Implicit enhancement options are provided at specific source code places explicitly by SAP (Note that these enhancement definitions can also be created by partners and customers in their code).
There are two types of Explicit Enhancement options available. One which can be provided at a specific place - called Enhancement Point, and another which can be used to replace a set of statements – called Enhancement Section. For this, we now have two new ABAP statements, viz.
• ENHANCEMENT-POINT
• ENHANCEMENT-SECTION
When the Enhancement-Section is implemented, only the implementation gets executed and the original code doesn’t get executed. This is a new technique, which didn’t exist previously in any of the old ways of enhancing, to exclude any standard SAP code from execution. Because of this, there can be only one active implementation of an Enhancement-Section. On the other hand, there can be multiple active implementations of an Enhancement-Point, in which case all the implementations will be executed with no guarantee in the order of execution.
we mainly use above framework .......if nybody need further and more information let me knw... -
I read it on this forum that Netweaver is equipped with 2 application engines, the J2EE Engine and the ABAP Engine with separate stacks. If this is so, I wonder we must be able to code in ABAP from our NetWeaver Environment.
I tried to locate where I can write a piece of code in ABAP and see the results on netweaver but failed. If it is possible, could any one of you experts shed some light on this topic. Any help or suggestion would be highly appreciated.
Regards
PBHi Pankaj,
You can write ABAP code either in enhancement spots or as a Webdynpro application.
<b>Developing Business Applications using ABAP</b>
1. Search for enhancement spots
Inside an ABAP package enhancement, spots can be
located at various places (in ABAP programs, in the ABAP Dictionary).
2. Use the Enhancement Information System to obtain a list of enhancement options
3. Implement the enhancement
Once you have located the enhancement you can navigate directly to the Enhancement Builder tool to process enhancement implementations.
<b>Developing a Web Dynpro Application (ABAP)</b>
Web Dynpro ABAP is the SAP standard UI technology for developing Web applications in the ABAP environment.
It consists of a runtime environment and a graphical development environment with special Web Dynpro tools
that are integrated in the ABAP Workbench(SE80).
In the ABAP development environment, you use the Web Dynpro Explorer to create and edit Web Dynpro applications.
The Web Dynpro Explorer has been fully integrated into
the ABAP Workbench and does not have a separate transaction code.
For further details you can see the following link :
<a href="http://">http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm</a>
Regards
Rakesh. -
Dear Experts,
I Have 3 more years of experience in SAP ABAP - Reports, Enhancements, BAPI, BADI, Forms, Etc...May i know how to improve my self.
i plan to learn ABAP advance concepts, Please sugges suitable thing and it should be give bright feature for me.
Please give your valuable suggestion.
Thanks in Advance,
Jayakumar.M
Edited by: Jayakumar on Jul 22, 2009 8:39 AMYou can start with the community contributed [eLearning titles|https://www.sdn.sap.com/irj/scn/abap-elearning].
We have also recently launched [Learning on Demand by SAP |http://learningondemandbysap.com]which provides ready access to a variety of ABAP related courses. -
Upgrade Guide "SAP NetWeaver 7.3 on IBM i ABAP+Java Based Systems" missing
http://service.sap.com/upgradenw73
-> Upgrade Documentation - SAP NetWeaver 7.3
-> SAP NetWeaver 7.3 ABAP+Java Based Systems
-> IBM DB2 for i
The link still opens the PDF document 011000358700001119112010E-2.pdf
which is "Upgrade Guide
SAP NetWeaver 7.0 Business Intelligence ABAP Including Enhancement Package 2".
"This document describes the upgrade to SAP NetWeaver 7.0 Business Intelligence ABAP including enhancement package 2 on IBM i."
..but I would like to upgrade to NetWeaver 7.3 on IBM i
Please let me know when the new upgrade guide is available.
Kind regards
Rüdiger Höckel
apetito AGHi Rüdiger,
The links have been updated with the correct versions. This is also true for the ABAP only version, which previously pointed to 7.0 EHP 2.
Regards,
Thomas -
Re: Enhancement-point VS Enhancment-Section
HI All,
Could you please let me know the use of Enhancement-Point and Enhancement-Section.
Thanx in Advance.
Regards
ambiHi Ambika,
Please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/91/f1e540f8648431e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/81/9a3942ec4ae22ce10000000a1550b0/content.htm
The ABAP statements ENHANCEMENT-POINT and ENHANCEMENT-SECTION identify positions where code can be inserted or replaced. The enhancement implementations are regular repository objects and are assigned to a development package in the customeru2019s namespace when they are created.
The enhancement spots are used to manage explicit enhancement options. Enhancement spots carry information about the positions at which enhancement options were created. One enhancement spot can manage several enhancement options of a Repository object. Conversely, several enhancement spots can be assigned to one enhancement option.
Best regards,
raam -
Enhancing standard ESS Component
Hi Experts,
I am going to make changes in standard ESS component in WD ABAP through enhancement button given on menu by creating an enhancement implementation. I want to know is it the right way to create enhancement and suppose any enhancement package is applied to the system, In that case changes done in current enhancement will remain same after the new enhancement is installed or not.
Please provide answers to my queries.
Thanks and Regards,
Vaibhav Tiwari.thanks vaibhav for reply....
I have a requirement that i need to add some custom(Input ) fields in 'Create Travel Request' view of travel and Expense Page of standard ESS . now the same field was needed in back-end in ECC in t-code TRIP...this i did using append structure in PTK99 and and modifying standard program and screen SAPMP56T 9999 with the guidelines given in SPRO.
now the same thing is to be done in in ESS which is ABAP WD application. WD component name is FITV_FPM, but in this application contains viewContainerUIElements on LAYOUT_VIEW which gets populated dynamically..I can create and Enahancement of this application and put the required field on the view but still after doing this, how to store the these data in back-end??? in back-end this data is stored in PCL1 cluster..
I feel SAP should have given some facility for this in ESS like it has given in ECC... -
Enhancement for FK01 PAN No. field
Hi,
While creating vendor through FK01 i want to make PAN No. field mandatory which is present in the CIN tab .
Regards,
SujitAs this question was posed in [Enhancements and Modifications forum|ABAP Switching, Enhancing, and Adapting Standard Programs;, the answer will be
In Enhancement, transaction [SMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=smodCMOD&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue], [SAPMF02K|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=sapmf02k&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue], there is an exit for user-checks [EXIT_SAPMF02K_001|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=exit_sapmf02k_001&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue] "Vendors: User Exit for Checks prior to Saving". You should be able to use this exit to add your own checks, via transaction [CMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=smodCMOD&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue].
Was it posted in [ERP Financials forum|SAP ERP Financials; it could have been
Call customizing transaction, Accounts Receivable and Accounts Payable; Vendor Accounts, Master Records, Preparations for Creating Vendor Master Records, Define Screen Layout per Company Code (Vendors). There you can define field status for vendor here you can define which fields are required, optional or only displayed. There is also here an option Develop Enhancements for Vendor Master Data which links to CMOD, and with a documentation pointing to the Enhancement SAPMF02K.
Regards
Maybe you are looking for
-
[SOLVED] Opening Shell and runnning command(s)
Hi, I have just discovered the wonderful program xbindkeys, and am thus setting all my keybindings. I ran into a problem when I came to adding the music keybinding [EDIT]. I don't use a gui, just command line mplayer, so this is a bit problematic,
-
I am using MS Excel 2010 and i have a template which i am using for my project. There are fields in the template in one column and in the other column, the user has to feed data for the requested fields. Now the requested fields have explanation for
-
Wiki: Internal Server Error
When trying to access a particular wiki, I get the following errors in the apache error log: 2010-02-12 15:20:01-0700 [HTTPChannel,0,127.0.0.1] Exception rendering: 2010-02-12 15:20:01-0700 [HTTPChannel,0,127.0.0.1] Unhandled Error Traceback (most re
-
Hello all, the standard Portal Framework scrollbars do not include the entire page, but deals with the frames (innerpage and navigation) separately. Now i would like to get a framework page done similar to the current SDN one, where you have just one
-
How to Solve Routed Output based on certain field.
Hi, Please help me with this routing development... We have an input strucutre something like this <b><File> <Customer> <Name>John</Name> <Company Info> <Number>101</Number> <Company>Coka Cola</C