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

ML10: BAPI/FM or BDC

Former Member
0 Likes
1,167

Hi,

I am looking BAPI/FM for uploading data in transaction ML10.

If BAPI/FM is not availbale then please let me know how to do coding for BDC for this transaction.

I am not able to do recording for this properly. Its not showing 'Otline on/off' while recording. I would require that for entring subgroups.

KIndly suggest.

Thanks,

Vinod.

Hi,

I am looking BAPI/FM for uploading data in transaction ML10.

If BAPI/FM is not availbale then please let me know how to do coding for BDC for this transaction.

I am not able to do recording for this properly. Its not showing 'Otline on/off' while recording. I would require that for entring subgroups.

KIndly suggest.

Thanks,

Vinod.

4 REPLIES 4
Read only

madhu_vadlamani
Active Contributor
0 Likes
940

Dear Vinod,

Explain the issue in some more detail .

Read only

0 Likes
940

Hi,

My question is very simple.

Is there any BAPI or FM for loading data for transaction ML10.

Read only

0 Likes
940

Hi Vinod,

If you only want to create the header of model service specification then you can go with either recording (Recommended ) or with function module MS_CREATE_TEMPLATE_HEADER and call MS_SAVE_SERVICE_PACKAGE after that:).

in case of model service specification maintain items as well then you have to call following function after

1. MS_CREATE_TEMPLATE_HEADER

2. MS_SERVICE_PACKAGE

3. MS_SAVE_SERVICE_PACKAGE

The maintenance function you ccal as follows:-

CALL FUNCTION 'MS_SERVICE_PACKAGE'

EXPORTING

COMSRV = COMSRV

DIRTY_KZ = DIRTY_FLAG

EDIT = H_EDIT

ORIGIN = ORIGIN

  • without_screen = without_screen

IMPORTING

COMSRV = COMSRV

DIRTY_PACKAGE = H_UPDKZ

EMPTY_PACKAGE = NO_PACKAGE

FUNCTION = DIEN_FUNCTION.

Regards

Dhirendra

Read only

0 Likes
940

Hi Dhirendra,

Thanks for your response.

Currently I was thinking of recording only but its always better to use BAPI/FMs.

I want to upload items also and since it contains hierarchy(groups and multiple subgroups), so it seems difficult.

Could you please provide sample code for these FMs.

Thanks,

Vinod.