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

SM35: batch input import session

manthana_c
Contributor
0 Likes
6,625

HI:

on SM35 I see IMPORT session , is this mean I can create test data in txt file and import to batch input session?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,567

Hi,

This is really an interesting question. Very useful technique to change the values in the batch session directly and re run the session. Below are the steps to be followed to import the sessions across different session. Please follow the below steps to accomplish the task:

1. Go to SM35. Select your session and press (Shift + F12).

2. A new screen with the title "Batch Input: Export and Import of Sessions" will be opened.

3. Select the "Export" and "Folder" radio buttons.

4. In the "Location of the file to be imported or written" section, choose the third radio button "File from presentation server".

5. This allows you to download to your local hard drive. Give a suitable path.

6. The format should remain "ASC". Execute.A list will pop up.

7. Position your cursor on the line and press F2.

8. A notepad file will be downloaded which has the required batch session.

So we will be able to download the required session from any system.

Now to import the session which we downloaded, please follow the below steps:

1. Go to SM35, dont select any session. Press Shift+F11.

2. We can see the earlier screen. This brings up the same screen as earlier, with the "Import" radio button selected.

3. Browse for your changed session file, upload, give a suitable name for BDC session to be created and hit Execute.

4. Select and hit (F2).

Please let me know in case of any questions.

regards,

Revanth

6 REPLIES 6
Read only

Former Member
0 Likes
3,567

Hi

i have not a sap in front of me but if I understood which button you are talking about, you can import from flat files (txt for example) cycles of batch inputs and the process it accordingly

I've used it a lot of times when I didnt want to create a new lsmw or toolbox was not useful

Let me know if you need further details

a

Read only

0 Likes
3,567

the flat file contains only the data or how structure look like pls.

Read only

0 Likes
3,567

the flat file should contain data and screens info to process the activity you recorded before

Let me know what procedure you desire to achieve

a

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,567

First perform an EXPORT and look with notepad at the generated file. (very similar to a BDCDATA dump.)

Regards,

Raymond

Read only

SujeetMishra
Active Contributor
0 Likes
3,567

Hello Mandy,

Importing or exporting sessions to file

-   You can export a session from the system and save it to a file,

    which you can then edit or correct.

-   You can import a session from a file you previously created

    using Microsoft Excel or other tools in BDCDATA format.

-   To call this function:

    . On the initial screen of trans. SM35, choose Utilities and

      then one of the following as needed:

      . "Import session"

      . "Export session"

Please read Information of this Transaction Code.

Regards,

Sujeet

Read only

Former Member
0 Likes
3,568

Hi,

This is really an interesting question. Very useful technique to change the values in the batch session directly and re run the session. Below are the steps to be followed to import the sessions across different session. Please follow the below steps to accomplish the task:

1. Go to SM35. Select your session and press (Shift + F12).

2. A new screen with the title "Batch Input: Export and Import of Sessions" will be opened.

3. Select the "Export" and "Folder" radio buttons.

4. In the "Location of the file to be imported or written" section, choose the third radio button "File from presentation server".

5. This allows you to download to your local hard drive. Give a suitable path.

6. The format should remain "ASC". Execute.A list will pop up.

7. Position your cursor on the line and press F2.

8. A notepad file will be downloaded which has the required batch session.

So we will be able to download the required session from any system.

Now to import the session which we downloaded, please follow the below steps:

1. Go to SM35, dont select any session. Press Shift+F11.

2. We can see the earlier screen. This brings up the same screen as earlier, with the "Import" radio button selected.

3. Browse for your changed session file, upload, give a suitable name for BDC session to be created and hit Execute.

4. Select and hit (F2).

Please let me know in case of any questions.

regards,

Revanth