Need Function module to deactivate equipment in IE02
Dear All,
I have a requirement where i have to deactivate an equipment when user scraps(movement type 551) material in MIGO.
Please let me know if there is any function module to deactivate equipment.
manually we can do that by clicking menubar Equipment -> Functions -> Active <-> Inactive -> Deactivate in IE02.
This functionality i have to incorporate in the code.
Regards,
Prathima.
HI,
CHECK THIS FM ..IMAS_CHANGE_STATUS_SINGLE
Similar Messages
-
Need Function module to upload an excel file to SAP
Need Function module to upload more than 100 characters of excel file data into SAP internal table.
Currently i have two function module
1. ALSM_EXCEL_TO_INTERNAL_TABLE --32 characters max
2. KCD_EXCEL_OLE_TO_INT_CONVERT --50 characters max
Please let me know some pointers.
Thanks in Advance,
A.Karthikeyan.hi,
use the FM GUI_UPLOAD
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FILENAME
FILETYPE = W_FILETYPE
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = 'X'
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = wp_it_upload
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17. -
Need function module to convert system time to local time
Hi Experts,
Need function module to convert system time to local time.
i.e country specific that to in HH:MM format.
Thanks in advance.Dear Prince,
Kindly check the following link which contains the list of function modules for date and time conversion.
[http://www.sap-img.com/abap/date-month-pop-related-function-modules.htm]
Regards -
Need Function Module for convertion of Foreign currency to Indian currency
hi friends,
i need function module for converting amount from
Foreign currency to Indian currency
thankshi Venkat,
Please use the function module CONVERT_TO_LOCAL_CURRENCY
<b><u>Sample code:</u></b>
call function 'CONVERT_TO_LOCAL_CURRENCY'
exporting
date = p_alv_tab-begda
foreign_amount = p_alv_tab-kkost_p_person
foreign_currency = p_alv_tab-kwaer " foreign currency
local_currency = l_ev_waer " Indian currency
importing
local_amount = p_alv_tab-kkost_p_person
exceptions
no_rate_found = 1
overflow = 2
no_factors_found = 3
no_spread_found = 4
others = 5.
Hope this helps,
Sajan Joseph. -
Need functional module for service order
hello,
while creating service notification i want to create service order automatically.for that i need a functional module which is the key funtion to process creation of transaction in the background. i want the name of that functional module to create iw31 service order automatically and that of functional group so that i can assign in the action box.
Regards,
Rajesh Kumar Raju
9900311069Hi,
unfortunately there is no such "official" BAPI available - not even in ERP2005! There is a BAPI called BAPI_ALM_ORDER_MAINTAIN but this is for changing an already existing service order.
But, you can use what the "SAP CRM group" developed for their integration to the backend R/3 system. This FM is called CRM_CS_API_ORDER_CREATE and is part of FUGR CRM_CS_API_ORDER. This FM is acting in the same way as a "normal" BAPI although you can not find this FM in transaction BAPI.
Hope this can help!
Best regards, Johan -
Need Function Module to create Customer Master
Hi,
I need to create customer master data (T-Code: XD01) include the company code data and sales area data.
Is there any function module that I can use? I tried to use BDC but since the screen is different for each account group, I'm thinking is there any FM that can use so that I do not need to create so much BDC.
Hope someone can use.
Thanks.hi there...
Please find below some of the BAPIs, Function Modules and Direct Input Programs for Customer Master.
RFBIDE00
BAPI_CUSTOMER_CREATEFROMDATA1
SD_CUSTOMER_MAINTAIN_ALL
hope it helps...
do reward if helpful or get bak if u hav further queries. -
Need function module or Bapi name for uploading CJ02 tcode
Hi All,
When i am trying to record the data for TCODE : CJ02 i need to enter the project Definition and enter the WBS element it takes me to the screen then i should select the WBS element and attach a file for that selected WBS element . The option for me to attach the attachment of file will be available on the application area(Services for the Object).
Now the problem when i try to do recording in SHDB this option like create attachement is not visible in the recodring . Kindly suggest me what can i do such that i attach the file for the particular project def and WBS element.
Either suggest any function module or other procedure .......
Regards,
Sana.
Edited by: Misbah Sultana on Nov 5, 2009 10:33 AMHi,
try using BAPI
BAPI_PROMO_CHANGESITEPLANNING
or
BAPI_PLANNEDORDER_CHANG
THANKS
ravi -
Need functional module or table for user type
Hi all,
I need table or a functional module for getting the user type. plz helpHi,
Can you explain your requirement in a bit more detail. You can also provide all the relevant information regarding this topic.
Hope this will help.
Thanks,
Samantak. -
Hi i need function module name regarding dates
Hi ,
i need some function module which is taken month and year and it will give last date of that month in that year , i think there is some function module
pls can u help medata: start_date type sy-datum,
end_date type sy-datum.
parameters: p_spbup type spbup.
start-of-selection.
start_date = p_spbup.
start_date+6(2) = '01'.
call function 'LAST_DAY_OF_MONTHS'
exporting
day_in = start_date
importing
last_day_of_month = end_date.
write:/ start_date, end_date.
Use Function modules for finding last day of month:
RE_LAST_DAY_OF_MONTH
RP_LAST_DAY_OF_MONTHS
SLS_MISC_GET_LAST_DAY_OF_MONTH
Regards
Vasu -
Hi All,
I am looking for a function module in which we can pass the internal table value. More Important that this function module should have the Readio button or any indicator. I have the function module F4IF_INT_TABLE_VALUE_REQUEST which have the check box.
Requirment is when this function module display the content of internal table, User can choose the only one record from function module and the selected row will be checked radio button. But in function module F4IF_INT_TABLE_VALUE_REQUEST user can select more that one. So i need radio buttonHi,
Here is the sample coding for the function module you mentioned.
F4IF_INT_TABLE_VALUE_REQUEST F4 help that returns the values selected in an internal table. Very handy when programming your very own F4 help for a field.
Example:
data:
begin of t_values occurs 2,
value like kna1-begru,
end of t_values,
t_return like ddshretval occurs 0 with header line.
t_values = 'PAR*'.
append t_values.
t_values = 'UGG'.
append t_values.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BEGRU'
value_org = 'S'
tables
value_tab = t_values
return_tab = t_return
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc = 0.
read table t_return index 1.
o_begru-low = t_return-fieldval.
if o_begru-low = 'PAR*'.
o_begru-option = 'CP'.
else.
o_begru-option = 'EQ'.
endif.
o_begru-sign = 'I'.
append o_begru to s_begru.
else.
o_begru = i_begru.
endif. -
Need Function Module for HR WorkSchedule Rule
Hi,
I need a function module to get the employee working times based on his work schedule rule. In infotype 7 we maintain the work schedule rule, so based on that how can i get the timings of employee ?
Regards,
SrinathCALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE'
EXPORTING
pernr = pernr_infotypes_tab-pernr
begda = emp_per_begda
endda = emp_per_endda
TABLES
i0000 = i0000
i0001 = i0001
i0007 = i0007
perws = l_pws_days
EXCEPTIONS
error_occured = 1
abort_occured = 2.
CALL FUNCTION 'HR_WORK_SCHEDULE_TIMES'
EXPORTING
pernr = pdp-pernr
begda = p_date
endda = p_date
TABLES
i0001 = p0001
i0007 = p0007
i2003 = p2003
perws = perws
daygen = i_day_gen_info
dayint = i_day_intervals
EXCEPTIONS
error_occured = 1
perws_error = 2
OTHERS = 3.
Edited by: Aeda N on Nov 23, 2009 11:46 AM -
Need Function Module for Printing Rates,Discounts and Taxes in Invoice.
Hi All,
For our Invoice printing I need to get a function module which will provide me the rates,discounts and taxes against each item line of the Invoice No.
Finall it will be printed accordingly.
Can anyone help me regarding this with input parameter example.
Thx in Adv.Hi,
As far as I know there is no fun module to print all this stuff.
You have to get this data from KONV table by passing the VBRK table KNUMV field.
Then check for all the Rates and amount KBETR and KWERT fields for the respective condition Types.
You have to loop the KONV internal table and write all the condition rates and amounts in the script driver program.
see any Std script for this.
Regards,
Anji -
Need function module for Sales order overall status
Dear Team,
Our requriement is we need to capture sales orders overall status 'compleated' in header and item datat details.
Could you please let me know what are function modules available for to get the over all status for sales orders, (header and item)
Thanks & Regards,
MK.Hi MK,
Use any of this FMs.
C1CE_VBUK_READ
SD_VBUP_READ_WITH_VBELN
WCB_VBUK_READ
Note that the values are in table VBUK and you can do a select statement from that table to get what you need.
Regards,
Peter -
I Need Function Module to export data in the CHANGE MODE.
Hi guys,
Scenario: I uploaded employee details in a ZEMP_TBL.
In need a Function Module
it has to ask Employee Id after entering the EMP_ID, and Execute the FM , it has to show related record of the Employee( name, address, qualification, etc...) in 'Change Mode'
Then I do changes in the Employee Record ( name, address, qualification, etc...) i.e. like changing address and Execute, it has to update in the database(ZEMP_TBL.).
I appreciate if any one help me.
Regards,
Surjith Kumar P
[email protected]Hi!
Welcome here!
There are no standard function elements for modifying a customer table (ZEMP_TBL) the way you wanted it.
You might manually maintain your table using transaction SM30.
If it is not good, you have to program the function element in the SE37 transaction.
Best wishes
Tamá -
Need function modules for the following...
Hello experts,
Is there an function module that I can use for:
1. get the last date for a given year
2. get the exchange rate for a given document number in a span of 5 years -
for example, I need to get the exchange rate of doc. number 0000000123
for the year 2000, 2001, 2002, 2003, 2004 and 2005(maximum of 5 years)
Help would be greatly appreciated.
Again, thank you guys and take care!Hi,
To use CALCULATE_EXCHANGE_RATE_N, you just have to pass the required parameters like foreign amount/currency and local amount/currency, instead you can query the table TCURR for the same data, remember to convert the 'DATE' to internal format before sending it in to the fm/table, you can refer the following code, this might help,
WRITE V_date TO LV_DATUM USING EDIT MASK '__.__.____'.
CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
EXPORTING
INPUT = LV_DATUM
IMPORTING
OUTPUT = LV_DATUM.
Retrieve the Exchange rate from Custom table for the Exchange
select ukurs from tcurr
into tcurr-ukurs
up to 1 rows
where kurst = 'M'
and fcurr = komk-waerk
and tcurr = komk-HWAER
and gdatu >= LV_DATUM.
endselect.
Rgds,
Maybe you are looking for
-
A new clue to the Apple Mail sending problems?
In my continuing efforts to fix the SMTP/POP mail failures with Apple mail, I've noticed a glitch that some of you more advanced readers might be able to decipher. After lots of fruitless messing around with port numbers, preferences, and keychain fi
-
After Transfer of data to a new comp., old admin name doesn't match new adm
I'm having issues with Word for Mac since I installed Fusion. I am trying to uninstall Word for Mac but I get the message: "You do not have permission. Log into the same Mac OS user Acct that you used to Install office and try again". I recently boug
-
Wm with qm interface when the gr the quant is merging
hi gurus. Store do GR, Material route for QA Inspection. After QA Usage Decision make, WM post change number generated. Material will be at 922-TR Zone interim area pending for post change to be completed. When there is another GR, QA Inspection an
-
Dear Gurus This is regarding Stock Transfer Order. I am transfering the Stock from One Plant to Another in Same Co Code. MAterial-1 Which is Processed in Plant-1 and is sent to Plant-2. After Processing and sending it to Plant-2. My Client wants that
-
Re: Pixelated blurred video in PE8 - another
HI BOB1984 I'm having similar problems to you with PE8, very poor quality play back when viewing in the editor window, but with either SD MPEG files from a Flash memory camcorder or SD avi files, SD avi has been around for years I can't beleive these