0 Replies Latest reply: Jul 19, 2010 2:49 PM by subhajit bhadra RSS

Enhancement point in FM RV_INVOICE_DOCUMENT_ADD not updating ZUONR

subhajit bhadra
Currently Being Moderated

Hi,

 

I am working with FM RV_INVOICE_DOCUMENT_ADD.

 

inside the FM, I have an enhancement point rv_invoice_document_add_15 SPOTS es_saplv60a.

Here I am setting the value of ZUONR by a custom value. This perhaps should update table VBRK for the corresponding VBELN.

however, it is not updating..

 

This is my code....

 

zvbrk ] = xvbrk [.

sort zvbrk by zukri.

sort xvbrk by zukri.

 

loop at zvbrk into k_vbrk.

l_index = sy-tabix.

 

k_VBRK-ZUONR = k_vbrk-zukri.

k_vbrk-updkz = 'U'.

modify xvbrk index l_index from k_vbrk transporting zuonr updkz.

 

endloop.

Actions