Application Development and Automation 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: 
Read only

How to include z-fields into BAPI_GOODSMVT_CREATE

Former Member
0 Likes
2,419

Hi,

In MIGO transaction, we have aded some fields on external tabs.

These fields are mandatory fields

The data of these fields will be stored in a Z-table when we save the MIGO.

We have used BADI s to do this. It is working fine.

Now, I want to post some data using MIGO tansaction. I want to use BAPI_GOODSMVT_CREATE to post tha data.

How can I include my newly added fields in this BAPI ?

Can u plz write the solutions?

Thanks

Hi,

In MIGO transaction, we have aded some fields on external tabs.

These fields are mandatory fields

The data of these fields will be stored in a Z-table when we save the MIGO.

We have used BADI s to do this. It is working fine.

Now, I want to post some data using MIGO tansaction. I want to use BAPI_GOODSMVT_CREATE to post tha data.

How can I include my newly added fields in this BAPI ?

Can u plz write the solutions?

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
979

i think we cannot add zfields to standard bapi.

U can opt for BDC.

correct me, if am wrong.

regards,

Padma

Read only

matt
Active Contributor
0 Likes
979

Do not post the same question twice. The duplicate has been deleted.

Read only

Former Member
0 Likes
979

Hello,

You can extend the BAPI based on the new fields that you have added.

[http://help.sap.com/saphelp_nw04/helpdata/EN/3e/0e1089c24611d1ad09080009b0fb56/content.htm]

Hope it helps.

You will get a good help on BAPI extension searching SDN.

Thanks,

Jayant

Read only

Former Member
0 Likes
979

Hi,

Go through the FM documentation of BAPI_GOODSMVT_CREATE, this gives some information how to populate the custom fields.

Table parameter : EXTENSIONIN

And check the BADI: MB_BAPI_GOODSMVT_CREATE which is used to populate the custom fields for the material document.

I think you also require to implement this badi in your case.

You also need to extend the tables with the custom fields

With regards,

Dwarakanath.S