Skip to Content
0
Former Member
Apr 24, 2007 at 04:59 AM

Urgent. I need to update SGTXT in MIRO Transaction.

1092 Views

Dear friends:

I need to update SGTXT field in the MIRO transaction. Use the

BADI - > INVOICE_UPDATE,

METHOD - > CHANGE_BEFORE_UPDATE.

with code

DATA: wa_rbco type mrmrbco .

IF sy-tcode = 'MIRO'.

LOOP AT TI_RBCO_NEW INTO WA_rbco.

WA_rbco-SGTXT = 'HOLA'. '<-- For test

  • MODIFY TI_RBCO_NEW FROM wa_rbco INDEX sy-tabix.

ENDLOOP.

ENDIF.

but I didn't lend to modify the table I need to update for a change (urgent)

Thanks in advance.