ibip tool - excel sap integration tool for companies of

29
IBIPTOOL GUIDE PAGE 1 www.exsait.com 24/08/2021 IBIP Tool for SAP Training Guide Deliver By

Upload: others

Post on 08-Dec-2021

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 1 www.exsait.com 24/08/2021

IBIP Tool for SAP Training Guide

Deliver By

Page 2: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 2 www.exsait.com 24/08/2021

INDEX

1. IBIP Tool ..................... 3

1.1. Set up Step 1- Implement IBIP customer exit .................... 5

1.2. Set up Step 2- Required SAP authorizations ..................... 7

1.3. Set up Step 3 - GUI Scripting (Optional) ........................... 8

1.4. Set up Step 4 – Language Select ..................................... 8

1.5. Set up Step 5 – Recording Default Folder ........................ 9

1.6. Set up Step 6 - SAP PARAMETR ID ................................ 9

1.7. Set up Step 7 – System select .......................................... 10

2. STEP A - Record scripts .............................................................. 11

2.1. Recording in SHDB ................................ 12

3. STEP B - Template prepare ........................................................ 15

3.1. Delete Non required Columns(Fields) – Option 1 ............. 15

3.2. Clear or Reset Non required fields – Option 2 .................. 16

3.3. Automap – Optional .................................. 17

4. STEP C : Run ............................................................................. 19

4.1. Debug Run ............................................... 20

4.2. Test Run ................................................... 21

4.3. IBIP File .................................................... 21

5. ------------Additional functions ------------------- ................................ 22

5.1. Choose existing template ......................... 22

6. Template management ................................................................ 22

6.1. Save as template ...................................... 22

6.1. Add local description and comment - Optional .................. 23

6.2. Load description from file – Optional ................................. 24

6.1. Systems edit ............................................. !שגיאה

הסימניה אינה מוגדרת.

6.2. Templates delete ...................................... 25

6.3. Populate Template to other users ..................................... 27

6.4. Test Run – ABAP Enhancement - Optional ...................... 29

Page 3: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 3 www.exsait.com 24/08/2021

1. IBIP Tool

Welcome to SY-Bright IBIPTool , Thank you for using SY-Bright IBIPTool , IBIPTool is a new

simple tool SAP automation tool which dos e not requires RFC Authorization . Primary function of

the IBIPTool is to upload data from Excel to SAP.

Uploading Excel data to SAP Transaction is widely used. Some of the common tasks that IBIPTool

can perform are: ,

Uploading information to complex SAP transaction

Templates management and much more

Running several tasks one after another using same or separate dataset - thus

executing a process. We strongly suggest that you start with Step-By-Step Tutorials

Page 4: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 4 www.exsait.com 24/08/2021

Transaction Tutorial - Introduction This Tutorial explains and walks you through basic concepts

behind IBIPTool. IBIPTool can run almost any SAP R/3 transaction without any RFC Authorization

using IBIP Transaction

We will take a simple example of updating material master in SAP. This example will help you

understand steps involved in loading data from Excel to SAP R/3 transaction using IBIPTool. One

has to perform following steps while working with IBIPTool:

A. Decide what needs to be done. Decide which SAP transaction is most appropriate for given task.

B. Prepare an Excel Spreadsheet “ Get ready with the data to upload.

C. Show IBIPTool how to do it once - Record a sample transaction.

D. Remove non required fields from the generated template

E. Test run

F. Production run

Once you understand the given example, you can run almost any SAP transaction using same

method in IBIPTool. Also note that IBIPTool can execute transaction in any SAP modules.

For example, you may want to update material master, print an invoice, create transfer

requirement, delete bills of material, change personnel record, etc. Once you broadly decide what

you want to do, you then need to pin point what should happen within that transaction.

For an example, you need to change material master, further you need to decide which fields need

to be update in which plant. You will also need to know exact SAP transaction code to perform this

task. For example, let’s presume that we have list of few hundred materials where we want to

change Gross and Net weights in material master records in basic data view.

We will use SAP Transaction code MM02. Next Step Data File for Recording Data File for Upload It

is presumed that you already know what you want to change and you already have all the required

data in Excel file. If you do not have required data in Excel, you might want to work that out before

you start.

Page 5: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 5 www.exsait.com 24/08/2021

1.1. Set up Step 1- Implement IBIP customer exit

The IBIP Tool Integrate Excel VBA with the IBIP transaction with SHDB and Gui Scripting

(See SAP help IBIP documentation:

"if you want to use a transaction for data transfer which is not supported in IBIP, you can enter the coding for it in

the customer exit. For this, read the customer exit documentation.

You also have the option of creating a program automatically for data transfer using the batch input recording tool

(transaction SHDB). You can use this as a copy model for your coding in the customer exit.")

Step 1- implement user exit IBIP ( transaction CMOD)

Step 2- implement following ABAP Code

Page 6: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 6 www.exsait.com 24/08/2021

*&--------

-------------------------------------------------------------*

*& Include ZXPMZU01

*&---------------------------------------------------------------------*

CLEAR: i_bdcdata[] , i_bdcdata ,bdcdata[].

IF int_tab-recordname = 'IBIPTOOL'.

REFRESH tot_assoc_tab.

PERFORM assoc_ibiptext.

PERFORM assoc_ibipbdcd.

PERFORM proc_ibipbdcd USING 0 .

bdcdata[] = i_bdcdata[].

ENDIF.

FREE int_tab.

Page 7: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 7 www.exsait.com 24/08/2021

1.2. Set up Step 2- Required SAP authorizations

IBIP - Authorizations for transaction IBIP for data upload , step by step run ,background

run , test run

IBIPA - handling and IBIPA for log tracking and logging purpose and Error handling

IBI2 - Required for background / schedule jobs

SHDB fro scripts Developer

Page 8: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 8 www.exsait.com 24/08/2021

1.3. Set up Step 3 - GUI Scripting (Optional)

IBIPTool provides access to the SAP system using the SAP GUI Scripting mode , In order to use

GUI Scripting, you SAP server must have enabled this option. Check if GUI

Scripting is enabled or not, follow these simple step. Bring your SAP logon pad and click on any

system that you want to perform this check. You do not need any logon information for this

system. Once initial logon screen comes up, click on "Option" in you SAP GUI and check and

see if you have "Scripting Recording and Playback" enabled or grayed out. Below is an example

where GUI Scripting is enabled. You can use GUI Scripting process on this Open

the Options dialog box from the main GUI screen.

1.4. Set up Step 4 – Language Select

Select the required Ribbon language

Page 9: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 9 www.exsait.com 24/08/2021

1.5. Set up Step 5 – Recording Default Folder

1.6. Set up Step 6 - SAP PARAMETR ID

SAP parameter ID - update two parameter GR8 and the GR9 - the value of these

parameters are defines in 3.2

Page 10: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 10 www.exsait.com 24/08/2021

1.7. Set up Step 7 – System select

SAP system will be imported automatically ' it is possible to delete rows and keep just the required systems for use

it is possible also to change the order of the systems in Column A in the "SYSTEMS" worksheet sheet

Page 11: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 11 www.exsait.com 24/08/2021

2. STEP A - Record scripts

Page 12: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 12 www.exsait.com 24/08/2021

2.1. Recording in SHDB

SHDB records each screen you go to and each field you change. It also captures actual data you

enter into the SAP transaction. This all happens in your familiar SAP GUI. This process is called

recording. Once recording is complete in SAP GUI and the recording file is exported to the default

folder , After you Return back to IBIPTool and import this recording , the recording information will

wukk automatically crate template in the "recorder" sheet

Hints:

1. SAP GUI displays “Recording running….. “ at bottom left corner of the screen as you execute the transaction. You will see this progress bar throughout you execution of the transaction.

2. It is important not to make any mistake while executing recording, as IBIPTool will run this transaction exactly the way you record. For this reason, In case of any mistake, exit out of the transactions and restart the recording from “New Wizard” again.

Page 13: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 13 www.exsait.com 24/08/2021

3. The best practice is to check transaction and test data in target system, before you start recording. This will ensure that your recording of the test transaction will go without any issue.

Page 14: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 14 www.exsait.com 24/08/2021

Page 15: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 15 www.exsait.com 24/08/2021

3. STEP B - Template prepare

3.1. Delete Non required Columns(Fields) – Option 1

Page 16: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 16 www.exsait.com 24/08/2021

3.2. Clear or Reset Non required fields – Option 2

If content of fields in the excel are empty from content then these fields are excluded from the update

process , if it required to clear the field value , use the char "!"

Page 17: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 17 www.exsait.com 24/08/2021

3.3. Automap – Optional

The button copy paste data from another sheet to the "recorder" sheet

it required 2 lines header which require to be full , one of them should be

filled with the technical name of the field , The Technical field name is at row 2 ( It visible after using the "eye" button )

Page 18: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 18 www.exsait.com 24/08/2021

The data is filled automatically in the recorder sheet , if filed is not found in the recorder sheet then this field header at

the data sheet will be marked in color .

Page 19: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 19 www.exsait.com 24/08/2021

4. STEP C : Run

-Choose the required SAP system

-Open SAP session in this system before start .

- Selecte the require rows to be run ( if non of the row selected the all the rows will be executed )

this is usfull especisly fro error handleing of it is iequire dto run again only spesific row

- Press on "run" button

Page 20: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 20 www.exsait.com 24/08/2021

4.1. Debug Run

Th debug option display each recording step so it is possible to capture which value is updated step by step

Page 21: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 21 www.exsait.com 24/08/2021

to continue press enter in the small popup window which show the function code for each screen In order to exit

the processing enter in the popup window "/NIBIP"

4.2. Test Run

If enh. is done by (8.1) the result will be green message .

An alternative is to filter from the ALV the word "TESTRUN" which indicate Test run completed Successfully

4.3. IBIP File

Page 22: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 22 www.exsait.com 24/08/2021

5. ------------Additional functions -------------------

5.1. Choose existing template

6. Template management

6.1. Save as template

Page 23: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 23 www.exsait.com 24/08/2021

6.1. Add local description and comment - Optional

Page 24: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 24 www.exsait.com 24/08/2021

6.2. Load description from file – Optional

Page 25: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 25 www.exsait.com 24/08/2021

6.3. Templates delete

Delete the required template from the "support"(1) sheet and then delete the required lines for the

"template" sheet(2)

Page 26: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 26 www.exsait.com 24/08/2021

Page 27: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 27 www.exsait.com 24/08/2021

6.4. Populate Template to other users

This function save the current template as text file template in the default folder and end it added as

attachment to outlook mail which is lunched in foreground

Page 28: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 28 www.exsait.com 24/08/2021

Make sure outlook is open before using this option ,fill the mail address and send the template to the

required end users

Back up template are saved in the default folder

Page 29: IBIP Tool - Excel SAP Integration Tool for Companies of

IBIPTOOL GUIDE

PAGE 29 www.exsait.com 24/08/2021

6.5. Test Run – ABAP Enhancement - Optional

This code deals with changing the color of the test run message in the log from red to green - this is optional