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: 

LSMW Idoc: MBGMCR

Former Member
0 Kudos

Hello!

I'd like to make a goods movement (MB1A) with LSMW through idoc MBGMCR.

My problem is that I want to create one single record of this movement for all positions. Is there a possibility for that using functions or anything else???

Could anyone give me a documentation about that ...

Maybe with global functions???

transfer_record.

transfer_this_record '...'

at_first_transfer_record.

on_change_transfer_record.

transfer_transaction.

skip_record.

skip_transaction.

Help needed!

Thanks a lot,

Barbara

3 REPLIES 3

Former Member
0 Kudos

hI,

process code with function module ALE_GOODSMVT_CREATE

Refer the link:

https://forums.sdn.sap.com/click.jspa?searchID=3791213&messageID=3509595

Reward points

Regards

0 Kudos

Hello!

Hi I have already created this LSMW and it works partly,

my problem is that I just get a lot of material records - I'd like to have one.

And I don't want to invent something new.

Does anybody have a documentation about that for me???

Kind regards,

Barbara

0 Kudos

The LSMW that I have created works fine. The thing is that the system

creates a lot of records. This looks like following:

1 EDI_DC40

2 E1MBGMCR

3 E1BP2017_GM_HEAD_01

4 E1BP2017_GM_CODE

5 E1BP2017_GM_ITEM_CREATE

6 EDI_DC40

7 E1BP2017_GM_ITEM_CREATE

8 EDI_DC40

9 E1BP2017_GM_ITEM_CREATE

10 EDI_DC40

11 E1BP2017_GM_ITEM_CREATE

12 EDI_DC40

13 E1BP2017_GM_ITEM_CREATE

14 EDI_DC40

15 E1BP2017_GM_ITEM_CREATE

16 EDI_DC40

17 E1BP2017_GM_ITEM_CREATE

18 EDI_DC40

19 E1BP2017_GM_ITEM_CREATE

20 EDI_DC40

21 E1BP2017_GM_ITEM_CREATE

22 EDI_DC40

23 E1BP2017_GM_ITEM_CREATE

24 EDI_DC40

25 E1BP2017_GM_ITEM_CREATE

26 EDI_DC40

27 E1BP2017_GM_ITEM_CREATE

28 EDI_DC40

29 E1BP2017_GM_ITEM_CREATE

30 EDI_DC40

31 E1BP2017_GM_ITEM_CREATE

32 EDI_DC40

33 E1BP2017_GM_ITEM_CREATE

Is there a way with any function to create just one record?

Kind regards,

Barbara