Bapi for final confirmation serviceorder
I'm looking for a bapi which enables me to give a final confirmation to a serviceorder.
in the current scenario people are using cats for hourdeclaration on serviceorders. most of the time it is not known after hours are entered if the job is finished or not. when it's know after a few days the engineer has to declare 0,01 hours to make it possible to give final confirmation.
I 'm searching for a bapi where I can set the final confirmation for the serviceorder
the other alternative is to use IW41 to set the final confirmation only that can't be fully programmed inside cats with bdc
if anybody has any alternatives they are also welcome
kind regards
arthur de smidt
when I use the BAPI_ALM_CONF_CREATE
bapi I can enter the data already available like
confirmation no order . I also set the indicator for final confirmation but I get the error ARU806 not valid call ??
solution coding in my case
SELECT SINGLE * FROM afru INTO gs_afru
WHERE aufnr EQ h_raufnr
AND vornr EQ wa_sap_catsd-vornr.
* Indien terugmeldingsnummer aanwezig dan eindterurmelding met nummer doen
IF sy-subrc = 0.
gs_timetickets-conf_no = gs_afru-rueck.
gs_timetickets-orderid = gs_afru-aufnr.
gs_timetickets-operation = gs_afru-vornr.
gs_timetickets-fin_conf = 'X'.
APPEND gs_timetickets TO gt_timetickets.
CALL FUNCTION 'BAPI_ALM_CONF_CREATE'
* EXPORTING
* POST_WRONG_ENTRIES = '0'
* TESTRUN =
* IMPORTING
* RETURN =
TABLES
timetickets = gt_timetickets
detail_return = gt_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
kind regards
arthur de smidt
Edited by: A. de Smidt on Dec 5, 2008 1:28 PM
Similar Messages
-
Hi Gurus,
Can anyone let me know the BAPI name to be used for REM confirmation? I have inputs as Material and Quantty from a 3rd party tool. With only these two inputs, I want system to post GR and GI. All other fields can be defaulted.
Thanks in advance.
SumeetHi Vishal,
Yes. I have been trying the same BAPI since yesterday but facing some issue. In the output I can see confirmation number but not other output. BAPI is not even returing a message.
In the intervals of two attempts I also get an error "Function module MB_CREATE_GOODS_MOVEMENT cannot be executed"
Can you let me know what to check.
Sumeet
Edited by: Sumeet Vaidya on Apr 8, 2011 11:11 AM
Edited by: Sumeet Vaidya on Apr 8, 2011 11:12 AM -
BAPI for Partial Confirmation CO11N
Dear Gurus,
REG : BAPI
How to get the actual activites for partial confirmation of qty
we have tried some bapis like for getting activites we have used
bapi_prodordconf_get_tt_prop
but in this bapi it is calculating total qty i.e, order qty not for the yeild qty.
I need to get the yeild qty planned activites
Tks
MuraliHi,
Check the Bapis
BAPI_PRODORDCONF_CREATE_TT
BAPI_PRODORDCONF_CREATE_HDR
Regards,
Raj. -
BAPI for Order Confirmation along with measurement reading entry
Hello Experts,
I would like to know if there is any BAPI for PM Order completion Confirmation along with measurement reading entry?
Thanks in advance.[BAPI for TECO|Function Module for TECO(technically complete) a maintenance work order;
[BAPI to create Measurement document|BAPI or Function Module for creating measuring point;
Based on the business transaction, by using user exit, you can accomplish these. -
Bapi For Production Confirmation ?
Hi,
I am using "BAPI_PRODORDCONF_CREATE_TT" for production confirmation.
I need to also pass the corresponding goods movement for the order operation. How to achieve this. and also what are the mandatory fields to be supplied for good movement.
Regards,
Navneeth K.Hi Bothra,
Follow the sample code.
DATA : BEGIN OF TIMETICKETS OCCURS 0.
INCLUDE STRUCTURE BAPI_PP_TIMETICKET.
DATA : END OF TIMETICKETS.
DATA : BEGIN OF GOODSMOVEMENTS OCCURS 0.
INCLUDE STRUCTURE BAPI2017_GM_ITEM_CREATE.
DATA :END OF GOODSMOVEMENTS.
*DATA : LINK_CONF_GOODSMOV TYPE BAPI_LINK_CONF_GOODSMOV.
DATA : DETAIL_RETURN TYPE BAPI_CORU_RETURN OCCURS 0 WITH HEADER LINE.
DATA : RETURN TYPE BAPIRET1 OCCURS 0 WITH HEADER LINE.
DATA : POST_WRONG_ENTRIES LIKE BAPI_CORU_PARAM-INS_ERR.
DATA : TESTRUN LIKE BAPI_CORU_PARAM-TESTRUN.
DATA: BEGIN OF LINK OCCURS 0.
INCLUDE STRUCTURE BAPI_LINK_CONF_GOODSMOV.
DATA: END OF LINK.
DATA: BEGIN OF PROPOSE OCCURS 0.
INCLUDE STRUCTURE BAPI_PP_CONF_PROP.
DATA: END OF PROPOSE.
DATA : BEGIN OF LINK_CONF_GOODSMOV OCCURS 0.
INCLUDE STRUCTURE BAPI_LINK_CONF_GOODSMOV.
DATA : END OF LINK_CONF_GOODSMOV.
LOOP AT TIMETKT.
MOVE-CORRESPONDING TIMETKT TO TIMETICKETS.
APPEND TIMETICKETS.
LOOP AT BAPI_ITAB1 WHERE SRL = TIMETKT-SRL.
MOVE-CORRESPONDING BAPI_ITAB1 TO GOODSMOVEMENTS.
CONF_QUAN_UNIT.
CONF_ACTI_UNIT1.
APPEND GOODSMOVEMENTS.
ENDLOOP.
PROPOSE-QUANTITY = 'X'.
PROPOSE-ACTIVITY = 'X'.
PROPOSE-DATE_AND_TIME = 'X'.
PROPOSE-GOODSMOVEMENT = 'X'.
APPEND PROPOSE.
CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'
EXPORTING
PROPOSE = PROPOSE
IMPORTING
RETURN =
TABLES
TIMETICKETS = TIMETICKETS
GOODSMOVEMENTS = GOODSMOVEMENTS
LINK_CONF_GOODSMOV = LINK_CONF_GOODSMOV
DETAIL_RETURN = DETAIL_RETURN.
CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
EXPORTING
POST_WRONG_ENTRIES = '0'
TESTRUN =
IMPORTING
RETURN = RETURN
TABLES
TIMETICKETS = TIMETICKETS
GOODSMOVEMENTS = GOODSMOVEMENTS
LINK_CONF_GOODSMOV = LINK_conf_goodsmov
DETAIL_RETURN = DETAIL_RETURN.
if return-id is initial.
commit work.
endif.
I think it will be helpfull to u.
Regards
Srimanta -
Hi all,
I am using BAPI_NETWORK_CONF_ADD to confirm actual duration against the network/activity. I am executing the BAPI in se 37 and I am getting successfully message i.e. confirmation has been posted for network xxxxxxxxxxx .
But it is not updated into database i.e. its is not visible in table AFRU.
Please can you tell what are necessary parameters to be passed for database updation?
Thanks,
SridharHi Sridhar,
Try in a simple program by passing your values into this BAPI and use the BAPI_TRANSACTION_COMMIT after that and it will update the tables.
Cheers
JK
PS: Award points if this helps you -
Problem using BAPI for Final Invoice Tick
Hi,
I am using the BAPI BAPI_PO_CHANGE to set the Final invoice flag in a PO line item. But the call throws up various kinds of errors.
Are there any mandatory parameters that I may have missed out for the updation of this particular field.
Thanks in advance,
AshishHi,
As per my knowledge the following parameters are required.
PURCHASEORDER
POHEADER
POHEADERX
RETURN
POITEM
POITEMX
There is very good function module documentation available for the BAPI.
Open the function module in SE37 and click documentation.
YOu will see example also.
Thanks
Ramakrishna -
Customer Inspection Lock for final Confirma
Dear Sir
We have requirement in our business,we use inspection type 04 for all inprocess and finished goods material and we use control key QM01 for inspection plan.Inprocess stage has 3 operation with control key pp01,pp01 and pp03 and after confirmation of pp03 we receive a lot in quality (QA32) with inspection lot origin 04,we require as soon as second operation is confirmed we received a lot in quaity and it has lock or approval then only last operation to be confirmed.I know that 03 will help but it does not block to confirm for last operation.
please guide
Regards
kunal JoshiHello Kunal,
What I have understood is,
You need to fire a lot at confirmation of Operation : 02 then put the control key PP03 at operation :02 it will perform auto GR at confirmation of this operation and post quantity at QI and give you Inspection lot.
And the operation three have to confirmed same as the operation 01 is done with control key pp01. As more than one auto GR are not permitted.
Then you need to introduce the user exit to put the required control about the UD of 04 lot and confirmation of operation 03.
The user exits will be needing are,
For Process Order Scenario:-
CONFPI03 to carry out your own inspections (after choosing the phase to be confirmed)
CONFPI05 to update your own data after saving the confirmation
CONFPI06 to transfer customer-specific data to automatically generated confirmations
For Production Order Scenario
CONFPP05 PP order confirmation.: Customer enhancements during saving
CONFPP04 PP order confirmation: Customer-specific input checks 2
CONFPP03 PP order confirmation: Customer-specific checks after operation selection
Regards,
Shyamal -
Hi all,
I am looking for a FM/ BAPI for Delivery Confirmation through transaction O4H1.
I have been able to achieve my result through FM OIKDC_DELIVERY_CONFIRM but this FM is not released. I am looking for a released FM / BAPI.
Points will be rewarded for helpful answers.
Regards,
MayankHi Mayank.
You can use fucntion 'OIGI_DEL_CONF_CREATE'.
Maybe, you work in IS-OIL or Gas..._
I hope this will help you.
good luck
Regards
Kyung Woo. -
Change confirmation to final confirmation pssible?
Hi,
we do our confirmation for service orders via IW41 and IW42.
Sometime the user forget to set the checkbox for final confirmation.
Now i'm looking for a way to change an confiramtion to final confirmation.
Is there any way or have i to cancel the confirmation (IW45) and do it again (IW41/ IW42).
Thanks.
regards, DieterHi,
You have to cancel it in IW45 and do it again.
Best regards,
Leandro Mengue -
Reg:Bapi for mass creation of production order/confirmation
Dear Experts,
I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
BAPI_PRODORD_CREATE to create the orders.
BAPI_PRODORD_RELEASE to release the orders.
BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
Need your suggestions to take it further.
Regards,
Daya.Dear SAP Daya
If the issue has been solved, please close this thread.
You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
Please read carefully the The SCN Rules of Engagement, especially point 8:
Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
BR
Caetano -
BAPI for Purchase Order Confirmation and update EKES table
Hi all,
I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
Please help me out on this.
Thanks & Regards
PavanNB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
Regards,
Raymond
PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it -
BAPI For Process Order Confirmation
Hi,
For Process Order Confirmation we are using the following tcode. COR6N. in the t-code we are include a new field (Shift Field) with help of CONFPP07. and we made the field as mandatory also. in cor6n it is working fine.
now we are using the bapi for same Process Order Confirmation. here the new field is not available. we want to include the new ( Shift ) Field also. we are using the following
BAPI Fm: BAPI_PROCORDCONF_CREATE_TT .
Regards
SathisBAPI_PRODORDCONF_CREATE_TT to confirm a production Order
Erwan -
BAPI for Purchase Order Vendor Confirmations
Can any body suggest me the BAPI for the purchase order vendor confirmations transaction code me22n - Tab<b>-(Confirmations)</b> alone.
regs,
RajaDear Asha,
Pls find the below code, this handles only the BDC part of the program.Updates only the EKES table thru standard confirmation tab on ME22N.
Kindly clarify any doubts in this reg.
regs,
Raja.
FORM ins_stdtable .
DATA:var TYPE c LENGTH 30,
cstr(02) TYPE n value '01'.
data istr(02) type n value '00'.
DATA recno TYPE i.
data: eblc type c length 5,
ebli type i.
DATA: kebeln LIKE utab-ebeln.
DATA: BEGIN OF indx,
ebelp type ekes-ebelp,
eindx type i,
END OF indx.
DATA : CNT TYPE I value 1.
DATA: COUNTER(2) TYPE N VALUE '01',
ROWS TYPE P.
DATA: w_textout LIKE t100-text.
DATA: gd_update TYPE i,
gd_lines TYPE i.
data :waek like indx,
itabek LIKE TABLE OF waek.
*Used to stores error information from CALL TRANSACTION Function Module
DATA: BEGIN OF messtab OCCURS 0.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF messtab.
SELECT MAX( ETENS ) FROM ekes INTO zetens WHERE ebeln =
ekko-ebeln.
recno = zetens.
LOOP AT utab.
SELECT distinct ebelp INTO CORRESPONDING FIELDS OF TABLE
itabek FROM eket WHERE ebeln = ekko-ebeln.
loop at itabek into waek.
ebli = ebli + 1.
waek-eindx = ebli.
modify itabek from waek.
endloop.
loop at itabek into waek where ebelp = utab-ebelp.
eblc = waek-eindx.
condense eblc.
endloop.
AT NEW ebeln.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=MECHOB'.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=MEOK'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MEPO_SELECT-EBELN'.
PERFORM bdc_field USING 'MEPO_SELECT-EBELN'
utab-ebeln.
AT New EBELP.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_CURSOR'
'DYN_6000-LIST'.
perform bdc_field using 'DYN_6000-LIST'
eblc.
perform bdc_field using 'BDC_OKCODE'
'=DDOWN3200'.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TABIDT15'.
perform bdc_field using 'DYN_6000-LIST'
eblc.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'PICK'.
ENDAT.
ENDAT.
PERFORM bdc_field USING 'DYN_6000-LIST'
eblc.
recno = recno + 1.
cstr = recno.
counter = cstr.
*This is to check whether the scheduled line item exceeding 12 rows. if so, use *page up
if counter >= 13.
rows = counter MOD 13.
istr = ( ( counter - rows ) / 13 ).
do istr times.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=EINB_CREATE'.
enddo.
DO 2 TIMES.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
enddo.
COUNTER = '03'.
cstr = '03'.
ENDIF.
CONCATENATE 'EKES-EBTYP(' cstr ')' INTO var.
PERFORM bdc_field USING 'BDC_CURSOR'
var.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING var
utab-ebtyp.
CONCATENATE 'RM06E-EEIND(' cstr ')' INTO var.
PERFORM bdc_field USING var
utab-eeind.
CONCATENATE 'EKES-MENGE(' cstr ')' INTO var.
PERFORM bdc_field USING var
utab-menge.
CONCATENATE 'J_3ASZDI-J_3ASIZED(' cstr ')' INTO var.
PERFORM bdc_field USING var
utab-j_3asize.
AT END OF Ebelp.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=MESAVE'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
CALL TRANSACTION 'ME22N' USING bdcdata MODE 'E'.
IF sy-subrc EQ 0.
savedone = 'Y'.
saveflag = 'Y'.
initflag = 'N'.
MESSAGE 'SAVED' TYPE 'I'.
else.
saveflag = 'N'.
savedone = 'N'.
initflag = 'Y'.
MESSAGE 'Not Saved' Type 'I'.
endif.
CLEAR: bdcdata.
REFRESH bdcdata.
ENDAT.
ENDLOOP.
ENDFORM.
Hope this will help u -
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
Maybe you are looking for
-
Getting wrong characters in PSE 8 (Mac OSX)
I think my problem is best described by reference to these two sample galleries: Old gallery (PSE 2.0, Mac OS X.4): http://www.huthyfs.com/axes Note that é, e-acute, (images 2,3,4) is propery represented. New gallery, same images (PSE 8.0, Mac OS X.6
-
Thunderbolt port No device connected
Just purchased a new tb harddrive and when I connect it to my Macbook Pro 17 (early 2011) it doesn't recognize it? I am running Mavericks. It doesn't show up in disc utillity and if you look in system profiler under thunderbolt it says No device conn
-
Unable to implement OCI8 driver (missing oci804.dll)
Hi, I am at a total loss how to get my servlet to communicate with a jdbc/oci8 driver. I installed Oracle8i server, client + programmer. Configured Net8, the database, and even ODBC.. but still i can't get the example found in the orahome\jdbc\demo\s
-
Portal Eventing in MSS not working with VC
We have written a VC component that wants to subscribe to the event raised by the General Information web dynpro in MSS. I want to to pick up the chosen employee number and respond to it. I've read OSS note 1112733 and have entered the namespace and
-
I'd like to move out of iPhoto to a more sophisticated photo management program. I have friends who use Photo Mechanic, but Lightroom seems like a much better choice. I've done the preliminary research and it seems I need to go through Photoshop El