08-27-2008 5:09 PM
Please let me know if there is a BAPI available for doing PO line item confirmation againest inbound delivery.
08-27-2008 5:35 PM
Hi,
Use the BAPI BAPI_PO_CHANGE for the confirmation
Pls check the links for the sample code -
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
Check the SDN for more on this.
Hope this solves your issue.
Regards
Lekha
08-27-2008 6:39 PM
05-22-2013 4:34 AM
05-21-2013 6:22 PM
05-22-2013 6:39 AM
Hi Vinay,
Please check the below link. It has useful information which can help you out to solve your problem.
05-22-2013 8:27 AM
Did you check this knowledge base article at 1775915 - Cannot create Confirmations with BAPI_PO_CREATE and BAPI_PO_CHANGE. This article explains that there is no BAPI for this and suggests some solutions
Regards,
Raymond
05-22-2013 8:44 AM
Hi,
a
Please try the FM: 'ME_CONFIRMATION_UPDATE'. It has been used in one of the objects and it works !
Thanks,
Nitin
05-22-2013 8:49 AM
ME_CONFIRMATION_UPDATE is an update function module, never use those nor suggest their usage, those FM are called by SAP standard after end of checks and with other update FM to update the database, so calling those FM is similar to usage OPEN-SQL statements to update the database...
Regards,
Raymond
03-19-2014 2:57 PM
Hello,
I used ME_CONFIRMATION_UPDATE to insert new line in EKES. It worked but the issue is, I did no pass ETENS(Seq. no.) while inserting and now this field is initial in the EKES. Now, I'm getting dump in ME23N = BIT_OFFSET_NOT_POSITIVE at below code. I tried updating & deleting this record from EKES using the same FM but before it goes to update/delete, it performs below check and gets DUMP.
How can I fix it now? I mean, How to delete this entry or update the value from 0000 to 0001. Please Help.
------------------------------------------------------
* set bitmask by providing ETENS
*--------------------------------------------------------------------*
METHOD set_etens.
* define local data object
DATA lv_byte TYPE x LENGTH 1.
SET BIT iv_etens OF me->mv_bitmask. ==>> DUMP at this line because iv_etens = 0000 which is less than 1
IF sy-subrc EQ 0. RETURN. ENDIF.
DO.
CONCATENATE me->mv_bitmask lv_byte INTO me->mv_bitmask IN BYTE MODE."unicode
SET BIT iv_etens OF me->mv_bitmask.
CHECK sy-subrc IS INITIAL. EXIT. "from do
ENDDO. ENDMETHOD.
"set_etens ---------------------------------------------------------------------- >
- Sonal
10-15-2014 10:57 PM
Hi Sonal,
You can delete it in Debugg mode.
Execute the function module ME_CONFIRMATION_UPDATE in sequence with BAPI_TRANSACTION_COMMIT.
In function module you have table XEKES, YEKES structures. Use and fill YEKES for the exact data record present in database, fill XEKES sturctures with exact line item number and with new data try to execute it and commit the transaction. It updates table as well as PO confirmation tab too.
Regards,
Siva
01-20-2016 3:32 PM