cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI

Yuvaraj1131
Newcomer
0 Likes
190

Hi All,

Im trying to build a program same as qm01,the only difficulty im facing is im not able to update fields like reference quantity ,sales office ,sales group through BAPI BAPI_QUALNOT_GETDETAIL ,is there any other way to do it.
Thanks.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

RaymondGiuseppi
Active Contributor
0 Likes

For missing fields, you can be required to use BAdI NOTIF_EVENT_SAVE as suggested in 1667389 - The BAPI_QUALNOT_CREATE does not include the field MALFUNCTION DATE. As there are no EXTENSIONIN parameter, you could save the required data in memory in driver program then read and process it in the BAdI, then free the memory.

Program could look like

  • BAPI_QUALNOT_GETDETAIL
  • EXPORT <missing parameters> TO MEMORY ID id 
  • BAPI_QUALNOT_CREATE
  • BAPI_QUALNOT_SAVE
  • BAPI_TRANSACTION_COMMIT or ROLLBACK
  • FREE MEMORY ID id