Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in PO Confirmations Using ME_CONFIRMATION_UPDATE

Former Member
0 Likes
3,173

Hi All,

I am using ME_CONFIRMATION_UPDATE to update EKES table for mass PO confirmation and facing a problem . When we update it using the above FM used in our program after confirmation we are getting 2 records in transaction MD04 one for Shipping notification and other for PO item but when we confirm a PO manually

then the PO item record gets replaced with shipping notification record.

Suggestions of any sort will be helpful.

9 REPLIES 9
Read only

Former Member
0 Likes
2,009

I am currently facing the same issue. Does anyone have a solution for this problem?

Read only

0 Likes
2,009

I got the same issue and found the solution use "ME_CONFIRMATION_REDISTR_ITEMS" it will refresh the PO lines and MD04 will show correct qty.

Thanks

Atul

Read only

0 Likes
2,009

I need to add some more information about my last update.

We still need to create a small BDC for ME22N and you can update the reference field of confirmation tab with some user name/datetime combination it should always be unique otherwise PO will not save. Just try this last piece Thanks.

Read only

0 Likes
2,009

Hi Atul,

I have a requirement to update the details in PO confirmation tab. Could you please help in providing me with the solution in detail

Thanks,

Sidhartha

Read only

0 Likes
2,009

I tried to use ME_CONFIRMATION_REDISTR_ITEMS after ME_CONFIRMATION_UPDATE (insert new confirmations) but it doesn't works.

I still have the MD04 problem.

Any hint?

Edited by: Simone Milesi on Nov 17, 2010 5:17 PM

Read only

0 Likes
2,009

Hello, the function "ME_CONFIRMATION_UPDATE" work well, The problem is in the table XEKES, you are not fill the data XEKES-KZDIS with 'X'.

If you fill the data XEKES-KZDIS = 'X', The system will be update the transacion MD04.

Thanks.

Read only

0 Likes
2,009

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

Read only

0 Likes
2,009

All,

Its resolved and just want to share with you - I used FM in SE37, passed values and executed for deleting rows....it deleted rows and no more DUMP.

thanks

Sonal

Read only

0 Likes
2,009

Hi all, i am also facing the same issue.Does anyone have a solution for this?