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: 

In doubt with Data Conversion-Material Master

Former Member
0 Kudos

Hi Guru,

I do have problem with data conversion process. In my excel template, I do have some code to generate text file and upload to SAP using BDC process as a batch. I have doubt with template. Can anyone give me explanation on this. Reward will be given. Thank you very much.

This is my code in template.

				
		MM01		
SAPLMGMM	0060X			
		BDC_CURSOR	RMMG1_REF-MATNR	
		RMMG1-MATNR	0	
		RMMG1-MTART	82	
		RMMG1_REF-MATNR	0	
		BDC_OKCODE	/00	
SAPLMGMM	0070X			
		BDC_CURSOR	MSICHTAUSW-DYTXT(01)	
		BDC_OKCODE	=P+	
SAPLMGMM	0070X			
		BDC_CURSOR	MSICHTAUSW-DYTXT(04)	
		MSICHTAUSW-KZSEL(03)	X	
		MSICHTAUSW-KZSEL(04)	X	
		BDC_OKCODE	=ENTR	
SAPLMGMM	0080X			
		BDC_CURSOR	RMMG1_REF-BWTAR	
		RMMG1-WERKS	0	
		RMMG1_REF-WERKS	0	
		MBEW-BKLAS	0	
		MBEW_REF-BKLAS	0	
		BDC_OKCODE	=ENTR	
SAPLMGMM	4000X			
		BDC_OKCODE	/00	
SAPLMGMM	4000X			
		BDC_OKCODE	/00	
SAPLSPO1	0300X			
		BDC_OKCODE	=YES	
TCDEMM01				
ENDTCDE				

1 ACCEPTED SOLUTION

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

This is the BDC structure.

PROGRAM BDC module pool

DYNPRO BDC Screen number

DYNBEGIN BDC screen start

FNAM Field name

FVAL BDC field value

SAPLMGMM - Program

MM01 - Tcode

0060 -Screen number

X -screen start

FNAM -RMMG1-MATNR

FVAL -0

7 REPLIES 7

Former Member
0 Kudos

Hi ,

Are you looking for the expalintaion of the code you given in the post?

0 Kudos

Hi,

Yes. I'm looking for the explanation of that code. I don't understand the process of that code.

Thank you

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

This is the BDC structure.

PROGRAM BDC module pool

DYNPRO BDC Screen number

DYNBEGIN BDC screen start

FNAM Field name

FVAL BDC field value

SAPLMGMM - Program

MM01 - Tcode

0060 -Screen number

X -screen start

FNAM -RMMG1-MATNR

FVAL -0

0 Kudos

Hi...

thank you for your answer. However, I have more question. How can i get screen number such that like 0060x? For example, I want to add alternative unit of measure data. That information is appear under additional data page. How can I prepare template for that conversion? Thank you very much. more reward will be given.

cheers,

0 Kudos

Hi,

All the screen numbers are based on the recording of BDC.

Just go to the transaction SHDB and do the recording for the transaction you want, you will get a clear idea.

Regards,

Atish

0 Kudos

Hi,

If you go to SHDB tcode and run the recording for MM01 tcode by entering the values given there,you can one program will be generated.For knowing the screen no. and program name, you need to use menu System->Status.

For more information,refer this link.It will teach all the basic things in BDC.

http://www.sap-img.com/bdc.htm

Former Member
0 Kudos

I need more explanation