BAPI to get Additional Absence data needed
Hi,
do you know a BAPI to get additional Absence data (pa61 INFTY=82)??
cheers,
Andre
Try BAPI_EMPATTABS_GETDETAIL
Regards,
Suresh Datti
Similar Messages
-
Retriving Absence data from PNP logical database
hi all,
there is an function where i can get the absence data but my client wants in the following order
But my client wants the report in following format:
YEAR--- week number--
number of absence hourse in that week
2006 -
WEEK -
HOURS
infotype is pa2001.
thx in advance.
SunilSunil,
Table PTQUODED may be better suited than PA2001 because in PA2001 it is <b>very difficult to distinguish between absences that overlap between 2 or more weeks</b>.
Here is sample code that does exactly what you need:
REPORT zggar_abs.
DATA: ta_ptquoded TYPE TABLE OF ptquoded.
DATA: l_week TYPE scal-week.
DATA: BEGIN OF ta_abs OCCURS 0,
pernr TYPE pernr,
year(4) TYPE c,
week(2) TYPE c,
abs TYPE f,
END OF ta_abs.
DATA: wa_abs LIKE LINE OF ta_abs.
FIELD-SYMBOLS: <fs_ptquoded> LIKE LINE OF ta_ptquoded.
PARAMETERS : p_pernr TYPE p_pernr.
SELECT * FROM ptquoded
INTO TABLE ta_ptquoded
WHERE pernr = p_pernr.
LOOP AT ta_ptquoded ASSIGNING <fs_ptquoded>.
wa_abs-pernr = <fs_ptquoded>-pernr.
CLEAR: l_week.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
date = <fs_ptquoded>-datum
IMPORTING
week = l_week.
wa_abs-year = l_week+0(4).
wa_abs-week = l_week+4(2).
wa_abs-abs = <fs_ptquoded>-quode.
COLLECT wa_abs INTO ta_abs.
ENDLOOP.
SORT ta_abs BY year week.
LOOP AT ta_abs INTO wa_abs.
WRITE : wa_abs-year, wa_abs-week, wa_abs-abs.
NEW-LINE.
ENDLOOP.
Please, assign points and close the thread if solved.
Best regards,
Guillaume -
Hello Experts,
Are there any available FMs or BAPIs to get the material documents and its movement type?
Just like in transaction MB5B(Stocks on posting date)
Hope you can help me guys. Thank you and take care!As I said, I need an FM or BAPI and not a standard transaction.
Thanks. -
Get Additional Data with BAPI_DOCUMENT_GETDETAIL2
Hello,
I´m using BAPIs with VBA (MS Office). I´m able to get Detail Data for a document with the Function Module BAPI_DOCUMENT_GETDETAIL2. But trying to get Additional Data for a document with this BAPI doesn´t work because the required (?) table CHARACTERISTICVALUES is not active.
Is there any chance to get the Additional Data for a document with using VBA? Thanks for help!
Best regards
RobertKarlo,
Inorder to find answers to your questions I reccommend that you do the following.
1. Go to transaction SE 37 ( If you do not have authorization obtain one, normally an ABAP auth).
2. Type the name of the FM as BAPI_DOCUMENT_CREATE
3. Press F8
4. Goto --> Documentation
5. SAP has given a sample program, there.
6. You can copy the code, create a test ABAP program and test with different values for the class and characterestics and try to post the document.
7. Also in the documentation, you will find an explanation from SAP on the use of the BAPI.
If you have further questions, let me know,
Sojan -
Not able to get the Qualification data from BAPI
Hi all,
I am using a BAPI (BAPI_JOBREQUIRE_GETLIST) to get the qualifiaction data for requirement profile. It's working fine earlier but I did not get the qualification data from this BAPI, although the data is there in DB against this requirement profile.
Can someone suggest me why I am getting this issue. I have looked into SDN and in BAPI documentation and found as below:
"You require authorization (structural authorization) to read the Requirements subprofile."
I am having the same User ID as I had before (when I getting back the correct data), so I don't think it should be authorization issue.
Can someone help me out in this issue please.
Thanks,
Sanket SethiHi Shiva,
It does not going to these includes at all. Message comes out with successfully done. The BApi is calling RHPP_COMMON_QUALI_READ inside, but this will not return any data. But if will call any qualification object ID, this BAPI will come up with data.
So the QP type LO profile will not come up with any kind of data, but if we pass the OTYPE as Q and pass any Qualification object ID then the data will be returned.
Is there any relationship or some other thing is missing? Any idea.
Thanks,
Sanket Sethi -
When I try to open a Pages document from iCloud, created on my iPad, I get message stating I need a newer version of Pages. When I go to app store all I get is "installed" when looking at pages app. my Macbook pro is up to date with all updates. Any ideas?
You have 2 versions of Pages on your Mac.
Pages 5 is in your Applications folder.
Pages '09/'08 is in your Applications/iWork folder.
You are alternately opening the wrong versions.
Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
Anything that is saved to iCloud is also converted to Pages 5 files.
All Pages files no matter what version and incompatibility have the same extension .pages.
Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
Apple has not only managed to confuse all its users, but also itself.
Note: Apple has removed over 100 features from Pages 5 and added many bugs:
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
Peter -
My computer crashed and I have to get my data from my old drive to another computer, to ensure I get all my data what do I need to get. I have and ipad and an iphone. I need to get apps, contacts, pictures, etc. Is there a way to do this? It was a vista pc and the new is win 7. I can grab the backup files, and music, but what about my apps? I do not want to sync on the new pc since the apps aren't there. Were are the app files located in itunes? Can I just copy them to the new computer?
You can transfer itunes purchases: File>Devices>Transfer Purchases
The iphone is not a storage/backup device. The sync is one way - computer to iphone. The exception is itunes purchases.
It has always been very basic to always maintain a backup copy of your computer. Use your backup copy to put everything back. -
I Need BAPI to get partners, product, Product category in CRM
Hi Experts,
I need bapi to get all partner detials, All product detials, all product category details.
I found one bapi(BAPI_CRM_PRODUCT_GETLIST) to get product.But we should give the product category as import field. But i need with out any input should generate all product details. These bapi we will use in crm to create Opportunity.
Please any one help me...........
Thanks,
SunilCOM_PRODUCT_CATEGORY_CHECK_ALL
COM_PRODUCT_CATEGORY_API
COM_PRODCAT_API_GET_PRODUCTS
COM_PRODUCT_BASE_CATEGORY_READ
COM_PRODUCT_CATEGORY_API_FREE
COM_PRODUCT_CATEGORY_GETLIST
COM_PRODUCT_CATEGORY_F4
COM_PRODUCT_CATEGORY_APPL_F4
COM_PRODUCT_CATEGORY_F4
COM_PRODUCT_CATEGORY_F4_HIERI
COM_PRODUCT_CATEGORY_F4_PRREF
COM_BSP_PRODUCT_GUID_GET
BAPI_CRM_PRODUCT_GETLIST
BAPI_PPRODUCT_READMULTIPLE
COM_PRODUCT_CHANGEM
COM_PRODUCT_CREATEM
COM_PRODUCT_FREE
COM_PRODUCT_GUID_GET_INTERNAL
COM_PRODUCT_MAINTAIN_INIT
COM_PRODUCT_MAINTAIN_READ
COM_PRODUCT_MAINT_CHECK_ON_DB
COM_PRODUCT_READ_MULTIPLE
COM_PRODUCT_READ_SINGLE
COM_PRODUCT_READ_SINGLEM
COM_PRODUCT_READ_VIA_RFC
COM_PRODUCT_SAVE
COM_PRODUCT_SAVE_LOCAL_END
COM_PRODUCT_SAVE_LOCAL_START
COM_PRODUCT_GET_PARTNER_PROC
COM_PRODUCT_GET_REFERENCE_PROD
COM_PRODUCT_GUID_GET
COM_PRODUCT_HISTORY_GET
COM_PRODUCT_ID_GET
COM_PRODUCT_GETLIST
COM_PRODCAT_API_GET_PRODUCTS
COM_PRODUCT_BASE_CATEGORY_REA
COM_PRODUCT_CATEGORY_API_FREE
COM_PRODUCT_CATEGORY_GETLIST
COM_PRODUCT_GETDETAIL_API
COM_PRODUCT_GETDETAIL_INTERNAL
COM_PRODUCT_GETHISTORY_API
COM_PRODUCT_MAPPING_MODULE
COM_PRODUCT_GET_PRODUCT_STATUS
COM_PRODUCT_GET_SALES_STATUS
COM_PRODUCT_HANDLE_ARCHIVE
COM_PRODUCT_HANDLE_RECAT
COM_PRODUCT_MOBILE_CHANGE_BDOC
COM_PRODUCT_SET_CHANGED_FIELDS
COM_PRODUCT_SET_SENDBITS_TASK
COM_PRODUCT_SET_UPDATE_TYPE
COM_PRODUCT_VAR_MAP_TO_BDOC
COM_PRODUCT_CHECK_DELETED
COM_PRODUCT_MAINTAIN
COM_PRODUCT_MAINTAIN_GETSTATUS
COM_PRODUCT_MAINTAIN_GET_CC
COM_PRODUCT_MAINTAIN_RESSTATUS
COM_PRODUCT_MAINTAIN_RES_CC
COM_PRODUCT_MAINTAIN_SETSTATUS
COM_PRODUCT_MAINTAIN_SET_CC
COM_PRODUCT_MAINTAIN_STATUS
COM_PRODUCT_SAVE_DB
COM_PRODUCT_GET_TABLES
COM_PRODUCT_UI_GETDETAIL
CRM_PRODUCT_GETDETAIL_API
CRM_PRODUCT_GETLIST2
CRM_WAP_PRODUCT_GET_CATEGORY Get Hierarchy and Category of a product
CRM_WAP_PRODUCT_GET_DETAILS Get ID,descrion,UOM, Price of a product
CRM_WAP_PRODUCT_GET_LIST Get product list from favorit
CRM_WAP_PRODUCT_GET_PPR Get the prp product list for a partner
COM_PRODUCT_GET_CDB_TABLES
This is all FM Related to Product deatils Fetching..Hope it will help you -
I have problem with my iphone as it is disable and need to get all my data as the phone needs at least 40 years to enable accessing it
If you have never connected the phone to iTunes and backed it up or used iCloud to backup your data, it is lost at this point.
The only way to get back into the phone is to restore it.
~Lyssa -
UAR-Need additional Employee data for review
We are just starting work on trying to implement UAR to replace our current manual User Review process. In our current process, access is reviewed by the Role Owners (BDOs), and they are given a spreadsheet containing the roles and users. This spreadsheet contains a lot of information about the users (department, job title, location, etc.) that the BDOs need to be able to perform the review.
I've seem some sample screen shots of the UAR request and the only user information they seem to contain is the userid and user name. This is inadequate for our reviewers. We are a large company, so there is no way a BDO is going to know who everyone is and whether their access is appropriate based on just their id and name. They are going to have to have additional employee data.
1. Can additional fields be added to the UAR request?
2. Does the userid maybe work similar to role name (you can click on the role name in a request and see the role information)?
3. If neither 1 or 2 are options, how do most companies handle providing additonal employee data to the review?
4. Do most companies have the Manager or the Role Owner as the reviewer?
Thanks.Hi Bob,
I do not think so that u can add additional fields for UAR request. As UAR requests are generated with help of background job.
Data in the request are pulled from ERM application.
Also in UAR request first & last name of user is also shown apart from user id.
kind Regards,
Srinivasan -
Need formula in my subreport to get last month date - CR XIr2
Post Author: olesco
CA Forum: Formula
I need to pass the value (#of units) from the subreport to the main report u2013 I know how to do that but my problem is I donu2019t know what formula should I put in my subreport to get last month date.
Both main report and subreport have a date parameter (Field link - {?DatePrompt}. What I need is when I fill in the current month date to the main report the subreport should process the last moth date.
Main report u2013 Date Range (2007-10-1) (2007-10-31) - result #of units = 22
u201CRecord Selection Formula Editor
DateRecd = {@DatePrompt} [i.e. current month]
Subreport u2013 should have data from last month - result #of units = 25
u201CRecord Selection Formula Editor
DateRecd < {@DatePrompt} [last month] ??????
There are 22 3 units this month and 25 units last month.
Any help is greatly appreciated.Post Author: SKodidine
CA Forum: Formula
DateRecd in dateadd('m',-1,minimum({@DatePrompt})) to dateadd('m',-1,maximum({@DatePrompt})) -
Which type of setting we need to maintain in query to get Multi Provider data
HI Friends.
I created query on top of Multi Provider. Multi Provider created on top of Hybrid provider and Standard cube.
When i executed the Query on top Multi Provider, i can't see the data of Hybrid Provider through Query.
In BW side i can see the data on Multi provider.
Can any one help me.Hi,
First need to understand what is the use of Hybrid Provider in what cases we prefer provider.
Multiprovider :can be created based on DSO & Infocube
Hybrid Provider : Can Be created based on DSO / HybridProviders based on direct access.
For more Info on Hybrid Provider : Creating HybridProviders - Modeling - SAP Library
There are no settings to get Hybrid provider data Or Multiprovider data in Bex .
Even though if we need to do any settings we can do it in SPRO , check once in SPRO tcode related to Bex reporting settings.
Regards,
Seshu.P -
If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!
Still it could not find the data network.it searches for voice network instantly and works too. but even full voice network available, there is no data network.when i restart the phone it could find data network.
Already i reset network settings for two times. -
I am trying to download Adobe Pro and I keep getting "Reliable Source Serving Corrupt Data" need and answer to this problem. Thank you!
Hi David,
Please see this forum thread: "Not Enough Storage Space" error - Acrobat 9 Pro
While it addresses an earlier version of Acrobat, the troubleshooting tips in it should help in your case as well.
Best,
Sara -
Need FM/BAPI to get how many line items per given FI document...
Hello Experts,
IS there an available FM or BAPI to get how many line items there is for a given
FI document? We are avoinding BSEG because of the performance.
Hope you can help me guys. Thank you and take care!Hi,
Not sure if there is a specific FMs or BAPIs whose specific purpose is to just count FI document lines. But you can use a number of FMs to read an FI document.
i.e. FI_DOCUMENT_READ - pass the document keys (BUKRS, BELNR, GJAHR) and retrieve the T_BSEG table to get the document lines. Then you can just use DESCRIBE statement to get the number of lines in T_BSEG.
Also, based on experience, I never had any problems with BSEG as long as I am providing the complete keys for an FI document (BUKRS, BELNR, GJAHR). But if you are trying to avoid BSEG, you can use the secondary index tables like BSIS , BSAS, BSAD, BSID, BSIK, BSAK to improve performance.
Regards,
Oscean Tortona
Maybe you are looking for
-
Delete data from a flat file using PL/SQL -- Please help.. urgent
Hi All, We are writing data to a flat file using Text_IO.Put_Line command. We want to delete data / record from that file after data is written onto it. Please let us know if this is possible. Thanks in advance. Vaishali
-
Import errors using TIFF, JPEG, BMP, PSD
I've been trying to import as assets or slideshows from Adobe Bridge (using CS2 as my main program) still images with the same message for 25% of the files, that being that Encore cannot decode the media, and perhaps you should find the proper decode
-
Custom styles disappear in Smartview
Hi We have given some styles in data forms for HFM (color/ bold, etc) Though this appears rightly on the web, the same does not appear at all when the data form is opened using Smartview in Excel. In excel, it reverts to the standard HFM color code.
-
How to download free apps on ipod touch
Hello everyone , I came here to ask you something. I have the newest generation of ipod touch . I bought it yesterday, and I made a new apple account yesterday . I was going to download twitter, and it was a free app . So I thought I was able to dow
-
We are trying to create a text box with a 50% transparent background without effecting the transparency of the text.