Current Position:Home > BADI MB_MIGO_BADI not updating custom field in MSEG Table

BADI MB_MIGO_BADI not updating custom field in MSEG Table

Update:10-11Source: network consolidation
Advertisement
Dear Experts,
I am working on screen exit In MIGO transaction for transfer Posting.
I checked that BADI MB_MIGO_BADI having facility for screen exit and method line_modify having facility to change GOITEM Structure for the changed line item.
Now, to make this functionality work I have enhanced include structure CI_COBL which is available in both mseg table and goitem structure, now I have this customized fields on my custome tab through the enhancement and also to update this value 2 custom fields created in goitem structure and MSEG table through include structure  CI_COBL.
Here my question is at the time of transfer posing creation in MIGO when I am passing the value in custom fields through screen and assigning it to custom fields of structure GOITEM through LINE_MODIFY method, it is giving me below worning message
BADI: Field GOITEM-ZZIDNLF is not ready for input. (Change is not taken over)
Now I have debuged the code, also checkout many threads and came to know that because of few checks in standred program (iNCLUDE:LMIGOKL3) these fields will not be updated WHERE IT always checks whether these fields are ready for input or not and if not ready then instead of assigning the values it throws worning message.
Now can you please through some light how can I go ahead as I have check out many threads and also tried to change value of cs_goitem structure using field symbol but throughing dump that it is blocked against changes through field symbol.
The helpful answers will be highly appriciated.

The Best Answer

Advertisement
Hi,
In the badi mentioned by you GOITEM is the importing parameters & if the relevant field is not used in any MIGO screen you cannot change the data.
Please check example BADI interface: IF_EX_MB_MIGO_BADI~LINE_MODIFY
Please check the BADI documentation:
Changed data in GOITEM is only adopted if the relevant fields are visible and ready for input.
Changed data in GOITEM is not adopted if the relevant field is not used in any MIGO screen (warning via MIGO 049).
Changed data in GOITEM is not adopted if the relevant fields are not ready for input (warning via MIGO 050)
Thanks and Regards,
Chandra
  • BADI MB_MIGO_BADI not updating custom field in MSEG Table Update:10-11

    Dear Experts, I am working on screen exit In MIGO transaction for transfer Posting. I checked that BADI MB_MIGO_BADI having facility for screen exit and method line_modify having facility to change GOITEM Structure for the changed line item. Now, to

  • Need to update custom fields in MSEG table using "BAPI_GOODSMVT_CREATE" Update:10-11

    Hi All, There is a requirement to update custom fields in table MSEG which are part of append structure. There is a option to update the custom fields using the one of the tables parameters "EXTENSIONIN". Anyone please advice how can I update th

  • BAPI_GOODSMVT_CREATE ---- need to update custom field in MSEG table Update:11-30

    Greetings all, I'm using 'BAPI_GOODSMVT_CREATE' to create goods movements. also I need to update one cutom field(z-field) in MSEG table. Could anyone please advice how can I update the custom field thru EXTENSIONIN. thanks in advance.see the help htt

  • Update Custom fields in MSEG in MIGO through MB_MIGO_BADI Update:11-30

    Hi All, I have to update my custom fields in MSEG table after getting them from user in MIGO transaction. I am using BADI--> MB_MIGO_BADI for this. There is method called POST_DOCUMENT in BADI but it is having MSEG as importing parameter. Also, How c

  • Updating custom fields to MSEG through MIGO Update:11-30

    Hi, I got a requirement to add a tab with custom fields in MIGO transaction, which I did using BADI MB_MIGO_BADI and requirement also says to extend table MSEG with custom fields and store the values in MSEG. I have gone through example implimentatio

  • To Update Custom field in mch1 table through MIGO Tcode Update:10-11

    Dear champs, I have added one custom field in mch1 table ( date ). Now , In MIGO Tcode when i am doing posting, MCH1 table is also updated. I want to know how to update my custom field in mch1 table at the time of posting. Please tell me where to wri

  • Updating custom fields in BSEG table Update:11-30

    Hi Experts, I searched through SDN but did not find satisfactory answer to my problem. The scenario is that FIDCC2 Idoc is coming to SAP system. This Idoc has extended to include few custom fields. These fields need to be updated in table BSEG. Table

  • Updating custom field in standard table ERCH Update:11-30

    Hi All, I'm trying to update a custom field bill type in table ERCH.I could not find any function for ERCH table and hence i am using enqueue dequeue with update statement.During debugging,the field BELNR(bill doc) is seen with a value for bill docum

  • Custom field in BP_PDBGP table not getting updated Update:10-11

    Hi, i am working in Contract management in SRM 7.0 Pack 6. I have aadded a custom field in partner table which appears in the partner table of contract header. It is a checkbox. when i check it the value gets saved in BBPPDBGP table for the first tim

  • Use BAPI: BAPI_MATERIAL_SAVEREPLICA to update customer field in MARC Update:11-30

    HI All, I will use the BAPI BAPI_MATERIAL_SAVEREPLICA to update a customer field in database table MARC. For that I have extended the structures BAPI_TE_E1MARC and BAPI_TE_E1MARCX with the customer field. Afterwards I have filled the tables EXTENSION