Need BAPI for locking service orders permanantly
Hi all,
I used this FM- VPKPMSM_LOCK_SERVICE_ORDER ,but it does not seem to solve my problem.Is there any BAPI avaliable to lovk service orders permanantly.
Thanks and regards,
Meena
Dear,
Check this..
VPKPMSM_LOCK_SERVICE_ORDER
thanks,
Sankar M
Similar Messages
-
RE: Bapi for locking service order.
Hi Experts,
Suggest me the bapi or function module to lock a service order.
I tried the function module VPKPMSM_LOCK_SERVICE_ORDER .
I have passed the service order number .
Please check the below code.
CALL FUNCTION 'VPKPMSM_LOCK_SERVICE_ORDER'
EXPORTING
i_aufnr = '000004000286'
EXCEPTIONS
INPUT_ERROR = 1
LOCKING_FAILED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Else.
commit work.
if sy-subrc eq 0.
write: 'locked'.
endif.
endif.Hi,
The function module 'VPKPMSM_LOCK_SERVICE_ORDER' locks the service order only while the run time. I need the function module which locks the service order permanantly.
Regards,
Sai. -
Hi,
what BAPI that can be used for Return Sales Order? BAPI SALES_ORDER_CREATEFROMDAT2 cant work, I get return message as error : 'Unpermitted combination of business object BUS2032 and sales document type category H'.
thanks alots.
AliaHi Alia,
Go to transaction BAPI, and in the tree go to :
Sales and Distribution -> Sales -> SalesOrder
You will have a list of all the BAPI for the Sales Order. If you want a list of Sales Order, maybe you need the GetList BAPI : BAPI_SALESORDER_GETLIST
Rgd
Frédéric -
BAPI for meter reading order (MRO) Reversal
Hi Experts,
Please let me know if there is any FM or BAPI for meter reading order reversal, Similar to EL37
Regards
BikasHello Bikas,
Though this is an old post, thought of replying for the sake of googlers who might look for a solution for your query...the below code works!
*---Begin Of Code
TYPES : BEGIN OF ty_meter_orders_data,
anlage TYPE eablg-anlage,
adatsoll TYPE eablg-adatsoll,
ablesgr TYPE eablg-ablesgr,
END OF ty_meter_orders_data.
DATA : lt_meter_orders_data TYPE STANDARD TABLE OF ty_meter_orders_data,
xy_ieabl_delete TYPE eabl_tab,
xy_ieablg_delete TYPE eablg_tab,
xy_ietrg_delete TYPE etrg_tab,
x_anlage type anlage,
x_retro_upd_date type adatsoll,
y_return type char1.
DATA : y_obj TYPE isu17_meterread.
*--Get the needed data for reversal
SELECT a~anlage
a~adatsoll
a~ablesgr
FROM eablg AS a
INNER JOIN eabl AS b ON a~ablbelnr = b~ablbelnr
INTO TABLE lt_meter_orders_data
WHERE a~anlage = x_anlage AND
a~adatsoll >= x_retro_upd_date AND
b~ablstat = '0'. "MR Order
IF sy-subrc = 0.
SORT lt_meter_orders_data BY anlage ablesgr adatsoll.
DELETE ADJACENT DUPLICATES FROM lt_meter_orders_data COMPARING anlage ablesgr adatsoll.
SORT lt_meter_orders_data BY adatsoll DESCENDING.
LOOP AT lt_meter_orders_data ASSIGNING FIELD-SYMBOL(<fs_meter_orders_data>).
CALL FUNCTION 'ISU_O_METERREAD_OPEN'
EXPORTING
x_anlage = <fs_meter_orders_data>-anlage
x_adatsoll = <fs_meter_orders_data>-adatsoll
x_ablesgr = <fs_meter_orders_data>-ablesgr
x_select2 = '5'
x_wmode = '6'
IMPORTING
y_obj = y_obj
EXCEPTIONS
not_found = 1
foreign_lock = 2
internal_error = 3
input_error = 4
existing = 5
number_error = 6
general_fault = 7
system_error = 8
manual_abort = 9
gasdat_not_found = 10
no_mrrel_registers = 11
internal_warning = 12
not_authorized = 13
not_qualified = 14
anpstorno_not_allowed = 15
already_billed = 16
dev_already_prep = 17
OTHERS = 18.
IF sy-subrc = 0.
CALL FUNCTION 'ISU_O_METERREAD_ACTION'
EXPORTING
x_okcode = 'PSAV'
CHANGING
xy_obj = y_obj
EXCEPTIONS
cancelled = 1
failed = 2
action_not_supported = 3
system_error = 4
input_error = 5
not_customized = 6
OTHERS = 7.
IF sy-subrc = 0.
CALL FUNCTION 'ISU_O_METERREAD_ACTION'
EXPORTING
x_okcode = 'SAVE'
TABLES
yt_eabl_delete = xy_ieabl_delete[]
yt_eablg_delete = xy_ieablg_delete[]
yt_etrg_delete = xy_ietrg_delete[]
CHANGING
xy_obj = y_obj
EXCEPTIONS
cancelled = 1
failed = 2
action_not_supported = 3
system_error = 4
input_error = 5
not_customized = 6
OTHERS = 7.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
ENDIF.
CALL FUNCTION 'ISU_O_METERREAD_CLOSE'
CHANGING
xy_obj = y_obj.
* Implement suitable error handling here
ELSE.
y_return = 'E'.
ENDIF.
ENDLOOP.
IF y_return <> 'E'.
y_return = 'S'.
ENDIF.
ELSE
* RAISE no_mtr_read_ordrs_found.
ENDIF.
*---End of Code
Thanks.
Mohammed. -
How to read all material documents created for a service order /maint.order
Hello,
in my Z-Program i need to read all material documents which are created for a service order or maintenance order.
Is there a function module which could be used or do you have some other hinds for this requirement?
Thanks a lot.
Kind regards
ManfredHI,
Have you tried BAPI_ALM_ORDER_GET_DETAIL for fetching components details. Actually we have used it to get some other details.
Regards
Shakti -
Related resource billing. Separeted billing requests for each service order
!!!!!! Dear Experts, help me!!!!
The question's urgent!
I need to bill collectively for my service orders, which means I need to combine several service orders into one single billing request (debit memo request) during RRB.
I configured DIP profile, but DP95 creates individual billing requests separately for each service order.
Thanks in advance.
Edited by: Cyrill Colbinev on Aug 30, 2011 10:57 AMHi !
I hope you need to check it in copy control . Because there are some standard things which need to match for combine the invoice. like:-
1:- Billing date,
2:- Bill to party
3:- payment terms,
4:- Bill to party master data ( i.e agree to combine the invoice) etc.
And aslo the copy control from the Order to Billing document in header does it allow you to combine or not.
Hope it will help you.
let me know if anything required.
Thanks
Pitabash -
BAPI for Open production orders
Hi All,
Any BAPI for open production orders?.... Using BAPI i want to upload open production orders informatiomations.... Please help
Thanks & Regards
SanthoshHi,
Please check the following BAPI,
Goto BAPI tcode, select hierarchical tab
Production orders,ProductionOrder ,ProdOrdConfirmation , RCVPRORDCF and check the BAPIs -
BAPI for Mass Purchase Order Confirmation
Dear All,
In standard SAP,it is possible to confirm for single line item only by using confirmation tab.
We want to confirm Mass PO Confirmation.
Is there any BAPI for Mass Purchase Order Confirmation?
Regards,
RameshHi Sumant,
I have tried with TC:MASS.
By using this TC we can update quantity but not delivery date & Confirmation Control (Fields available in the confirmation tab of ME22n for Vendor Confirmation).
Is there any way to updates all these fields which are available in the Confirmation Tab?
Is there any BAPI which is tranferring confirmation tab details into EKES table?
Expecting your valuable inputs in this regard.
Regards,
Ramesh -
Bapi for CRM service confirmation
Hi All,
Is there any bapi for CRm service confirmation which done trhough the transaction - CRMD_BUS2000117.
Its urgent.
Points will be awarded.
Reagrds,
vinoth.Hello Vinoth,
please ask that kind of questions in the SAP CRM: Webclient UI - Framework Forum.
What's about using CRM_ORDER_MAINTAIN? You can find many examples of it's use using the SDN search.
Regards
Gregor -
Bapi for Process service confirmation in transaction - CRMD_BUS2000117
Hi All,
Is there any bapi for process service confirmation in CRM system.
Tcode for service confirmation - CRMD_BUS2000117.
Points will be awarded.
Regards,
Vinoth.Hello Vinoth,
please ask that kind of questions in the SAP CRM: Webclient UI - Framework Forum.
What's about using CRM_ORDER_MAINTAIN? You can find many examples of it's use using the SDN search.
Regards
Gregor -
BAPI for creating service entry
Hi all,
Please let me know if there is a BAPI for creatuing service entry. Please provicde sample code.
Thanks,
RajanHi,
Try this BAPI " BAPI_SERVICE_CREATE ".
Regards
Milan -
Need BAPI for Parking G/L Account
Hi All,
I need BAPI for Parking G/L account document.
Please let me know.
Regards
R.Ragu
Useful Answers will be rewarded.Hi Ragu.
Try these:
BAPI_GL_ACC_EXISTENCECHECK
BAPI_GL_ACC_GETDETAIL
BAPI_GL_ACC_GETLIST
For further details GoTo->Transaction BAPI->Alphabetical->General Ledger Account.
Good Luck & Regards
Harsh
Edited by: Harsh Dave on Jul 11, 2008 10:14 AM -
Any FM or BAPI to Release Service Order before creating the Adv Ship Order
Is there any Function Module or BAPI to Release Service Order before creating the Advance Shipment Order.
or is there any other alternative to release Service Order.Hi,
Try BAPI_ALM_GET_PROP.
Regards,
Chandra -
BAPI for converting planned order to Production Order(in PP)?
Hi all,
Is there any standard BAPI for converting Planned order to Production Order?
Thanks in advance,
anjalyhi,
check this..
BAPI_PRODORD_CREATE_FROM_PLORD BAPI: Convert Planned Order into Production Order
for more details check this link..
Create a production order
<b>reward points if it is helpful..</b> -
Function module for Create service order with reference to sales doc (RAS )
Hi All,
I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
SumitTry this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
Regards
Kathirvel
Maybe you are looking for
-
I don't get the Mail service to work - tried everything!
Hey there, I am frustrated. It's day 4 that I try to get the mail service on my machine running. Maybe someone has sme hints? The setup: - Mac Mini mid 2010 - OS X Mavericks and Server 3.0.1 - static IP (no Firewall or anything else, absolute in the
-
I recently allowed the software update and the installation of java 7 has disabled a key task I need for my business, specifically being able to view 360 degree tours that I create.
-
I have been using Itunes at my brothers computer but I cant use itunes in my own laptop. Itunes keep telling me this I will show you the image. I have try installing many times I suggest Itunes change the installer to a better and compatible for all
-
Here is the question: I have a customer that has hundred od users. He need to mantain user licences. He need some reports: 1) A list of all users (it's easy, I can read OUSR table) 2) A list of users that have some type of licences associated 3) A li
-
I am not sure how to get adobe flash player on my iPhone 4S help please