Function module to get PRT for the operation in Maintenance Order
Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order? and also tell me the FM to get all details of those PRT Docs so that I can Print those documents.
Thanks.
Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order in TCode IW31/32/33? and also tell me the Function Module to get all details of those PRT Documents so that I can take Print out of those documents.
Thanks,
Jay.
Similar Messages
-
Function module to get PPM for given product and/or location
Hi,
I want to check whether any PPM is existing for given product, location.which function module i can use for the same.There is a BAPI that might help - BAPI_PPMSRVAPS_GETLIST which has product and location selection criteria.
Regards
Laurence -
To Control status of the operations of maintenance orders individually
Hi,
To Control status of the operations of maintenance orders individually
Anyone know how to control individually the operation status of maintenance orders?, see the image below?
Exsample: I need complete (TECO) only the operation 0010
Thanks,
Adilson DelfinoAdilson Delfino
The system-statuses cannot be set manually by the user (like you can with user-statuses).
You need to process a function to make these statuses change, e.g. releasing the order header, TECOing and order or dispatching operations. Alternatively you can develop a solution that may be able to change these statuses (see above post).
I don't think you will be able to set the TECO status on individual operations.
Have you considered user-statuses on the operations?
PeteA -
Function module to get name of the employee
hi friends
I am working in HCM workflows. Is there any function module which gives the name of the employee when i pass pernr and userid.
Regards
vijayhi,
use HR_READ_INFOTYPE on infotype 0002
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = p_pa0002-pernr -----------> your pernr
infty = '0002'
TABLES
infty_tab = t_pa0002
EXCEPTIONS
infty_not_found = 1.
the fields
INITS NACHN NAME2 NACH2 VORNA CNAME
TITEL TITL2 NAMZU VORSW VORS2 RUFNM MIDNM
KNZNM
stores different parts of employee's name.
you check your required one.
Regards,
Anirban -
Function Module to get a Waranty Claim Number From Service order Number
Hi Guru's
How to Find a Function Modulewhich is return waranty Claim Number(bapi2222header-claim ) when we pass Service order Number(Aufnr)
Thanks In advanceHi Vanitha,
Pass Vehicle GUID in FM - /DBM/VM01_VEHICLE_GET
You will get all possible vehicle information and claim information in importing parameter es_iobj_data_multi_com(its a deep structure)
or.
Use one of the flower pot method /DBM/CL_ORDER~INSTANCE_GET_BY_VBELN to get all the info of the particular Service order.
Hope it helps.
Regards,
Mathan R. -
Function module to get admin within personnel area
Hi,
are there any function module to get admin for certain personnel area?
i want to used it in workflow,
to make rule agents for employee within personnel number "A", this workflow will go to admin for personnel area "A"
thanksOK, here's the case.
in our company, we assign people to be the administrator.
each personnel area has administrator.
for example
- PERNER 34010-34050 are in personnel area 4700, with the administrator is user ABC
- PERNER 34051-34100 are in personnel area 4800, with the administrator is user EFG
so, when employee with personnel number 34010 create travel request, i want the workflow to send notification to admin/user ABC to either approve or reject the request.
how to do this?
thanks
Edited by: nzworld on Aug 10, 2010 4:30 AM -
Reg function module to get periods.
Hi,
can any one help me in giving the function module to get the number of months available in between the start date and end date
Regards.
venkatHi,
Use the below function modules.
HR_ECM_GET_NUMBER_OF_MONTHS
HR_GBSXP_GET_MONTHS
For the function module HR_GBSXP_GET_MONTHS Pass 'M'
for MODIFY_INTERVAL. -
Function Module to get Recipes
Please let me know if there is any Function Module to get Recipes for a given product.
Thanks in advance.hi,
Check
BAPI_CONTROL_RECIPE_GET_LIST Read control recipe list
BAPI_CONTROL_RECIPE_REQUEST Request and transfer control recipes
Regards,
Santosh -
The save for the web function has stopped working in my copy of photoshop elements 12. I get this message, “ The operation could not be completed. The system cannot find the path specified” Resetting preferences did not fix.
my os is windows 7. elements 12 worked fine for many months then save for the web stopped working
-
Function module to get the BOM details for a material-plant combination
hi
Is there any function module to get the BOM details such as
BOM Usage -STLAN
Alternative BOM -STLAL
Items -POSNR
Required Quantity-EMENG
Resulting Quantity-MENGE
Unit of measure -BMEIN
Base unit of measure-MEINS
for a given material-plant combination
if so please suggest me some FMs.................
Awaiting for ur reply..............try the below fm it may be useful for you
DATA : BEGIN OF I_BOM OCCURS 0.
INCLUDE STRUCTURE STPOX.
DATA : END OF I_BOM.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
regards
shiba dutta -
Function module to get actual salary paid for a particular period
Hi All,
I have a requirement to build a report on the monthly superannuation contributions the company makes to the employee [Australian Payroll], along with a few other information. We are on a weekly payroll and make super contributions once a month.
Is there any Function module or table that stores the pay results for a period [from which I can calculate the superannuation amount] or superannuation pay ?
Or is there an alternative way of approaching to get the information ?
Thank you,
SatishI used table hrpy_rgdir to get sequence number for the given pernr, payroll area and dates.
Using the sequence number, I am calling Function PYXX_READ_PAYROLL_RESULT to extract the payroll results.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_hrpy_rgdir
FROM hrpy_rgdir
WHERE srtza = 'A'
AND paydt IN sopaydt
AND abkrs IN soabkrs
AND pernr IN sopernr.
LOOP AT it_hrpy_rgdir.
PERFORM get_rt USING it_hrpy_rgdir-pernr it_hrpy_rgdir-seqnr.
ENDLOOP.
*& Form get_rt
* text
* -->PERNR text
* -->SEQNR text
FORM get_rt USING pernr seqnr.
CLEAR: it_payroll_result.
CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
EXPORTING
clusterid = 'RQ'
employeenumber = pernr
sequencenumber = seqnr
CHANGING
payroll_result = it_payroll_result
EXCEPTIONS
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
error_reading_archive = 8
error_reading_relid = 9
OTHERS = 10.
ENDFORM.
For any period, the function module just returns sy-subrc = 6 [no_record_found].
We are on Australian Payroll. Could you please let me know what I might be missing or is there an alternative way of getting the information ?
Thank you -
Function Module to get the TIMESTAMP
Hi,
Is there any function module to get the TIMESTAMP as Outout , if i give input Time and Date.
Or,
If I go for the concatenate statement.. Do I need to concate the commas in to the target field?
Because,
I am not getting the proper result with this concatenate statement where I concatenated the YYYYMMDDHHMMSS in to the DECIMAL 15 Variable.
Thanks,
Naveen Inuganti.Hi use
IB_CONVERT_INTO_TIMESTAMP' or IB_CONVERT_FROM_TIMESTAMP'
Example:
* Declaring the work variables.......................
DATA :
timestamp like TZONREF-TSTAMPS,
time like sy-uzeit,
date like sy-datum.
* The following function module is used to convert the
* time and date into GMT timestamp
CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
EXPORTING
i_datlo = sy-datum
i_timlo = sy-uzeit
I_TZONE = 'INDIA'
IMPORTING
E_TIMESTAMP = timestamp.
* The following function module is used to convert the
* above obtained timestamp to PST time zone date and time.
CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
EXPORTING
i_timestamp = timestamp
I_TZONE = 'PST'
IMPORTING
E_DATLO = date
E_TIMLO = time.
write :/ 'Date and Time at PST zone is ',date, time. -
Function module to get the sequence numbers based on PERNR & payroll period
Hi,
Right now i am using the function module 'CU_READ_RGDIR' to get the sequence number based on the PERNR. Once i get the data i am filtering based on payroll periods (begin date and end date). Is there any function module to get the sequence number directly based on PERNR and payroll period dates? if so could you let me know.
Thanks
SatyaI think thats the only way
CALL FUNCTION 'CU_READ_RGDIR'
EXPORTING
persnr = p0001-pernr
TABLES
in_rgdir = it_rgdir
EXCEPTIONS
no_record_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
check whether "Pay date for payroll result" with in Start Date and
End date, and "Reason for Off-Cycle Payroll" is initial
LOOP AT it_rgdir WHERE paydt >= v_begda
AND paydt <= v_endda AND
void IS INITIAL
AND ocrsn IS INITIAL
AND srtza = 'A'.
v_seqnr = it_rgdir-seqnr.
ENDLOOP.
Hope this helps.
Thanks
Kiran -
Function Module to get the GST tax rate on basis of posting date
Hi Guys,
Can somebody suggest any function module to get GST tax rate (Canada) according to the posting date. I have already tried GET_TAX_PERCENTAGE. It is not giving me any results.
Is there any other functions modules.?
What is the the name of table for finding the tax?hi,
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-LOW
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-HIGH
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ags. -
Function module to get the cost estimate
Hi all
while running the standard costing run the cost estimate is stored in the table keko and keph.can anyone tell me whether is there any function module to get that cost estimate of a material which is in released statusHi
Check the following
BAPI_COSTESTIMATE_RELEASING Release of Marked Standard Cost Estimates
BAPI_COSTESTIMATE_UPDATE_PRICE Update of Prices in Material Master
fun module
POST_COST_ESTIMATE
You can check in SE37 for other cost estimate related fun modules
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
Microsoft Exchange Categories in iCal, Address Book and Mail
I work in a Microsoft environment with my MacBook Pro and would like to use iCal, Address Book and Mail as my default applications rather than Microsoft Oulook 2011, however, there is not support for the Microsoft Exchange Categories to be replicated
-
Cant find belle update for nokia n8
i cant find update for n8.. my product code is 59B6D7 Pls help me...
-
Hello everyone I wonder if you can advice me. I got myself a Power PC G5 which is bluetooth enabled but has no bluetooth antenna. Can I still use a magic or mighty mouse with it? OR do I need an antenna? Many thanks
-
Cisco ise on vm Failed to start database
vmware 4.1 (or maybe 4.0.1) configured with 2 core minimum freq 3.6Ghz 200Gb HD on single physical drive (minimum requirement), no thin provisioning datastore vmfs 3, 2Mb block size, ethernet : flexible network adapter ram 4Gb Scsi controller setup..
-
Globals in crossdomain swf's (AS2)
Hi, I have two domains (on the same server) each of the domains contains a crossdomain xml and swf's. The swf's have System.security.allowDomain("*") set. From 'domainOne' I start the main swf. This main swf loads (with a loader component) a swf from