cancel
Showing results for 
Search instead for 
Did you mean: 

EQBS EQUI Insert EQBS-KDAUF not visible in IE02

emin78
Explorer
0 Kudos

Hi, i try to develop a Z-Program to fill the field KDAUF of table EQBS. The entry ist done, but i can not see it in IE02/IE03. But if I fill the Value in IE02 and store it , it is visible in IE03.

I use the FuBa: EQUIPMENT_UPDATE

Any solution?


          CLEAR: ls_eqbs, ls_equi.
CALL FUNCTION 'SERIALNUMBER_READ_EQBS'
EXPORTING
equnr_imp = ls_sernos-equnr
* MATNR_IMP =
* SERNR_IMP =
* EQUI_IMP = ' '
* USE_BUF = 'X'
* IV_UII = ' '
IMPORTING
eqbs_exp = ls_eqbs
EXCEPTIONS
empty_key = 1
eqbs_not_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

* Prüfen ob EQBS bereits exsistiert.
IF ls_eqbs-kdauf IS INITIAL.
ls_eqbs-equnr = ls_sernos-equnr.
ls_eqbs-kdauf = '0045217944'."Only for test!

CALL FUNCTION 'SERIAL_EQBS_POST'
EXPORTING
i_rec_eqbs = ls_eqbs
i_action_eqbs = 'I'
* I_EQUNR =
.

ENDIF.

SELECT SINGLE * FROM equi INTO ls_equi
WHERE equnr = ls_sernos-equnr.

*Falls der EQBS Reiter in der IE03 nicht geladen wird, hier Anzeige setzen!
IF ls_equi-s_eqbs IS INITIAL.
ls_equi-s_eqbs = 'X'.
UPDATE equi FROM ls_equi.
ENDIF.

COMMIT WORK AND WAIT.
View Entire Topic
emin78
Explorer
0 Kudos

That was just the right hint. Thanks it worked.

vijay_hariharan
Contributor
0 Kudos

Glad to know it helped.. You may mark the above answer and close the thread so other members with similar issue can also benefit..

Regards,
Vijay