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

Create Batch Input

Former Member
0 Likes
21,741

Hi,

I have to create a batch input to modify storage location with CO02.

Is there a procedure that show how to create it with SM35 ?

Have never use that transaction.

Bob.

1 ACCEPTED SOLUTION
Read only

abdul_hakim
Active Contributor
0 Likes
9,949

hi robert,

first record the transaction to which you want to transfer the data using the tcode SHDB.

After recording press save and then you can create batch input program using the option "transfer from recording" from SHDB transaction.

Once done change the parameters in the program with your transaction specific values..

Finally execute the program there you will have 2 options

call transaction and sessions..choose any and execute...

if session you need to go to SM35 and select your session and then press the process button..

Please go thru the SAP Document regarding this topic in http://help.sap.com

Cheers,

Abdul Hakim

Mark all useful answers...

6 REPLIES 6
Read only

andreas_mann3
Active Contributor
0 Likes
9,949

hi,

use trans. SHDB (Transaction-recorder)

-> it's very simple to record BI

regards Andreas

Read only

0 Likes
9,949

use t-code <b>SHDB</b>-Transaction-recorder .

Read only

abdul_hakim
Active Contributor
0 Likes
9,950

hi robert,

first record the transaction to which you want to transfer the data using the tcode SHDB.

After recording press save and then you can create batch input program using the option "transfer from recording" from SHDB transaction.

Once done change the parameters in the program with your transaction specific values..

Finally execute the program there you will have 2 options

call transaction and sessions..choose any and execute...

if session you need to go to SM35 and select your session and then press the process button..

Please go thru the SAP Document regarding this topic in http://help.sap.com

Cheers,

Abdul Hakim

Mark all useful answers...

Read only

Former Member
0 Likes
9,949

Hi,

use SHDB transaction and record the Transaction , and it will give the source code also. only thing is you need to modify the little code in it.

Regards

vijay

Read only

Former Member
0 Likes
9,949

IN SM35 transaction, you can find a Button for recording( CTRL + F8)

Click on it and then Click the NEw REcording Button on the following screen(NOthing but SHDB).GIve a name for your recording, GIve your transaction code as Co02 and proceed further.

Regards,

Ravi

Read only

Former Member
0 Likes
9,949

Hi Robert,

use transaction code SHDB to know the screen and field sequence and either u can create a program to upload ur data through BDC where u have to call these Function module like:

1.CALL FUNCTION 'BDC_OPEN_GROUP'

EXPORTING

client = sy-mandt

group = p_group

holddate = p_hdate

keep = p_keep

user = p_user

2. This FM is used to insert the records into session.

CALL FUNCTION 'BDC_INSERT'

EXPORTING

tcode = l_k_mek1

TABLES

dynprotab = i_bdcdata(<b>intenal table which contains data). this function module has to call that many times as many record u want to post)</b>

3. To close the session

CALL FUNCTION 'BDC_CLOSE_GROUP'

EXCEPTIONS

not_open = 1

queue_error = 2

OTHERS = 3.

<b>or</b>

after recording through transaction 'SHDB', save that data and create a program by clicking program from application tool bar that will give u ready made code for BDC.