Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

mb_migo_badi data not getting saved in database

Former Member
0 Kudos

Hi all,

i am using mb_migo_badi for creating addtional tab in migo header. everything is working the only issue is that the data is not getting saved in database table mkpf where i have appended my structure. Can anyone tell me the cause as to why data is not getting saved in the database table.

Regards

amit

14 REPLIES 14

shishupalreddy
Active Contributor
0 Kudos

Hello,

May i know which method of MB_MIGO_BADI r u using ??

Regards

0 Kudos

PBO des Header-Dynpros

PAI des Header-Dynpros

0 Kudos

Badi is working Fine . but i am not able to save data of the new tab into in MKPF table after the migo is done.

0 Kudos

>

> PBO des Header-Dynpros

> PAI des Header-Dynpros

These two methods might not be adequate to save your data into corresponding DB tables. PAI methods are not responsible to save your data into DB.There are few different methods available to do the same. Kindly implement them accordingly. For further help you might need to read the documentation thoroughly.

Cheers

0 Kudos

Hello Sir,

I am using post document method to save data into DB table MKPF where i have attached my structure. Can you tell me as to which method should i use to save data into DB table MKPF.

Regards

0 Kudos

Is MKPF showing Locked for changes ?What error your are getting?

0 Kudos

Yes sir,

when i am trying to update the MKPF table it is not allowing . and also when i try to change something in debug mode this is_mkpf does not give me any edit option so that i can change it.

Regards

0 Kudos

You keep missing what I'm trying to know.

Is MKPF showing Locked for changes ?

or something similar?

0 Kudos

Yes Sir

0 Kudos

Okay then use Statement Wait up to <seconds> Right After where you are updating MKPF .

Former Member
0 Kudos

Hi ,

In order to save your changes you have to pass 'X' to E_FORCE_CHANGE parameter in the PAI_DETAIL method so that the line_modify method is triggered and there you structure 'GOITEM' you can append your 'z' structure is this structure also so that it is avaliabe for you to update.

Regards,

Himanshu Verma

Former Member
0 Kudos

Dear Mr Amit

I am also struggling with a similar problem as we need to get value in MKPF under a new zfiled . I have created the subscreen and custom field is apperaing on MIGO screen , I have also implemented BADI MB_MIGI_BADI .

My problem is that during the MIGO transaction execution , I do not know how the value which is input in the custom screen field will get transffered back to BADI ? . Does it require implementing the methods :

PBO des Header-Dynpros

PAI des Header-Dynpros

If yes then sir what is the procedure and coding required for this .

To get the data saved in MKPF ( I have already appended a custom include for Zfield in MKPF) , what different methods need to be implemneted in the BADI . If possible kindly guide me with a sample code to defined in the BADI .

I will be highly oblized for the kind help pl .

Rgds

Sonia

0 Kudos

Hi we are saving the data in ztable with mblnr. so that we can match the mblnr and show the new tab data in our reports.and we are using PBO Headr Pai Header method. for saving the data in ztable we are using post document method as well.

Regards

Former Member
0 Kudos

Issue Resolved.