cancel
Showing results for 
Search instead for 
Did you mean: 

updating valuation type with exit not works

former_member333748
Discoverer
0 Kudos

Dears.

I need to update the valuation type  field  ( lips-BWTAR) . I could move the right value to this field using the exit MV50AFZ1 (USEREXIT_SAVE_DOCUMENT_PREPARE ). Everything looks fine , but when I try to run PGI , the system reports

incompleted data:

Item (SD)                   5

Item (SD)                   5

Short text                   Batches / valuation types not completely allocated

General                       X

Goods mvmt posting     X

Incompletion procedure L1

Tables                 V50UC

Field name             BTREF

Screen                 CHSP_T

Status group           D8

Processing sequence    9999

BUT if I comment the exit code and do the same operation filling out the valuation type field  using VL02n transaction 

it works !!

It looks like I'd need to fill out another additional field.

Please yours advices

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Shiva_Ram
Active Contributor
0 Kudos

BUT if I comment the exit code and do the same operation filling out the valuation type field  using VL02n transaction  it works !!

Then you must check the exit code for the reason. This field is dynamically populated in the structure V50UC,during the document processing, hence check the logic added in the code.

I also recommend to check delivery, menu Edit -> Incompleteness. If any data is missing, then the system can display the details.

Regards,

Answers (0)