2010 Aug 05 3:15 PM
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.
2010 Aug 09 7:50 AM
2010 Aug 09 9:32 AM
Hi,
My question is very simple.
Is there any BAPI or FM for loading data for transaction ML10.
2010 Aug 09 11:15 AM
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
2010 Aug 09 11:58 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |