IDOC Mass Upload Tool

Post on 03-Mar-2015

62 views 3 download

Transcript of IDOC Mass Upload Tool

IDOC Mass Upload tool

By Infosys Technologies Ltd (Manish Gupta, Vivek Gupta, Devakumar Karthikeyan) 

INTRODUCTION

As we know that SAP provides its users the facility to edit the data in the IDOC segments, but only one segment of an IDOC at a time.

Moreover, the user can not edit multiple occurrences of the same segment at the same time.This tool provides the user the flexibility to edit multiple IDOC’s of the same Message type at one go and save the IDOC’s at the same time.

The tool takes the IDOC number(s) and IDOC message type as input from the user and displays all the errors in that IDOC (s)on the screen.

The user can select the IDOC(s), and after following a series of simple steps he can edit the data in the IDOC segments.

Moreover, the tool also displays the user the original and the edited values on the same screen so that he can see what values he edited.  

PROGRAMS

Create the following programs:

Main Program YRTRR6N_MASS_TOP - Include program for the data declaration YRTRR6N_MASS_SEL_SCREEN - Include program for the selection screen. YRTRR6N_MASS_FORM - Include program for the subroutines

Create a transaction code YRTR_IDOC_UPD for the main program created above.

HOW TO USE THE TOOL

1.   The below selection screen appears when the user executes the transaction ‘Y_IDOC_UPD’.

2.   Provide input on the selection screen i.e. document number (IDOC) that needs to be edited and the

message type and click on EXECUTE .

3.   All the segments that contain errors are displayed on the screen as shown below.

4.   Select the IDOC’s that need to be edited by selecting the check box in front of each IDOC.

5.   If you want to select all the entries together, click on the SELECT ALL button.The below screen appears.

6.   After selecting the relevant check boxes, click on the MASS UPLOAD button.

a.     If the UPDATE button is clicked, a pop up comes stating the user that he has clicked on the wrong button.

b.    If none of the above screens appears then the below screen appears.

7.   Edit the values you want to change on the above screen and click on the UPDATE button.The below pop up appears.

8.   Click on YES or hit enter on the keyboard.

The below screen appears displaying the original and edited values.

9.   The FIND AND REPLACE button allows you to find a particular value and replace it with a suitable value. When this button is clicked the below screen appears.

10.       Enter the values in the above screen and click on the REPLACE button. The old values will be replaced by the new ones.

11.       Now click on the UPDATE button. The below screen appears displaying the original and edited values.

Additional Details like screen, message class and text elements used:

1.     Screens: There are 2 screens created apart from selection screen i.e. 1100 and 1101 and their details are as in the screen shot below:  

Screen # 1100: Screen attributes:

Element List:  

Screen Layout:

Screen # 1101 Screen Attributes:  

 

 

Screen Layout:

TEXT ELEMENTS & Selection Texts:  

PF statuses used in the program:

1.     Status_1100:

2.     Z_MASS_UPLOAD:

3.     Z_OUTPUT: