• No results found

File to IDOC

N/A
N/A
Protected

Academic year: 2021

Share "File to IDOC"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

Scenario: Simpl

Scenario: Simpl

e

e

File to IDOC

File to IDOC

The requirement is for an Inbound Interface (Legacy to ECC) using IDOC.

The requirement is for an Inbound Interface (Legacy to ECC) using IDOC.

Find below the following steps:

Find below the following steps: System: RPI

System: RPI – – 100; Transaction100; Transaction – –SXMB_IFRSXMB_IFR 1.

1. Login to Enterprise Services BuilderLogin to Enterprise Services Builder

Note: It might take some time for the application to get downloaded. Note: It might take some time for the application to get downloaded.

(2)

Once the application gets downloaded, we need to enter our credentials and finally the Once the application gets downloaded, we need to enter our credentials and finally the ESR (Enterprise Services Builder) will be open.

ESR (Enterprise Services Builder) will be open.

1.

1. Need to import the SWCV from the SLD I to ESR before creating the designNeed to import the SWCV from the SLD I to ESR before creating the design objects.

objects. C

Click on ‘Object’lick on ‘Object’ & choose ‘New’ to create a & choose ‘New’ to create a SWCV for your design objects.SWCV for your design objects.

Click

Click on on the the icon icon to to choose choose from from the the SWCV SWCV that that are are present present in in thethe SLD. Select the appropriate SWCV that you have created .

SLD. Select the appropriate SWCV that you have created .

This step is done once only , for each new interface/exercise we only create the This step is done once only , for each new interface/exercise we only create the namespace under that SWCV.

(3)

2. Look for the appropriate Software Component – ‘-DELOITTE_USI_PI_LEARNING of 

Deloitte’.

3. Expand the Software Component and find the Software Component Version –

(4)

5. Lets enter the following Namespace - https://rcholleti/Ex4/File_to_IDoc

(5)

7. Once we activate the Namespace (for any other object), the same would be visible on the Left Side.

(6)

9. Enter the Data Type Name – ‘Cust_DT’ with appropriate Description.

10. Click on Create.

11. Assign the corresponding fields to the Cust_DT Data Type.

(7)

12. Save and Activate. So the Source Data Type ‘Cust_DT’ is created. 13. Now we need to create the Message Types – ‘MT_Cust’

(8)

15.Once we drag and drop the source Data Type on the ‘Hand’ sign, we find a

message as shown below – ‘Loading structure for Message Type ‘Cust_DT’.

16. After few seconds we find all the fields for the Source Data Type as shown below.

(9)

18. Now we need to create the Service Interfaces – ‘SI_Cust’ under the same Namespace.

19. Once we click on Create, we find the Source Operation with identical name as compared to the

interface:-20. In the Operation, we assign the Message Typ e; rather we drag and drop it to the Name column as shown below.

(10)

21. Save and Activate. So the Source Service Interface is created.

22. So now we have created Namespace, Data Types, Message Types, and Service Interfaces.

23. For the Target Structure, in the Imported Objects, we need to Import the IDOC. In

our scenario, it is ‘ DEBMAS.DEBMAS03‘ as shown below.

24. Now we need to create the Message Mapping.

25.Alike other object creation, select the Namespace, right click and say ‘New’. Look

(11)

26. Click on Create and then find the below shown screen.

So here we need to assign the Source Message Type and Target Message Type and finally map all the fields.

(12)

Look for your own Message Types for source and target within your own Namespace.

Once we double click on the source message type, we find all the fields of the source structure as shown below. Similarly we do the same steps for the Target Structure.

(13)

27.Now one of the most important steps, Mapping.

(14)

28. Follow similar steps for the other fields.

29. Save and Activate it. So Now Message Mapping is done.

30. Now we create Operation Mapping under the same Namespace.

(15)

33. We find that the Source and Target Messages are Blank. To fill them, click on Read Operations.

34. Save and Activate it. The Operation Mapping is done.

(16)

Integration Directory (ID)

System: RPI – 100; Transaction –SXMB_IFR

Note: It might take some time for the application to get downloaded.

Once the application gets downloaded, we need to enter our credentials and finally the ID (Integration Directory) will be open.

(17)

Follow the below mentioned steps:

1. Creation of Configuration Scenario.

Select ‘Configuration Scenario’, right click and say ‘New’ as shown below.

Click on create then Save and Activate.

2. Create the Receiver and Sender Communication Channels under the respective Communication Components.

Communication Components are as follows:

-a. Business Component b. Business System

In Business System, we will find ECC and in Business Component we will find File which is coming from any other system

(18)

3. Create the Sender Communication Channel under the Business Component – ‘BC_File’ as shown below:

-4. Click on create and specify the following details:-a. Adapter Type: File

b. Transport Protocol: NFS c. Message Protocol: File

d. Adapter Engine: Central Adapter Engine e. Select the ‘Sender’ Radio Button

(19)

a. Quality Service b. Poll Interval

c. Processing Mode d. File Type

5. Similarly create the Receiver Communication Channel under the Business System

 – “RE6CLNT950”with the details as shown below.

a. Adapter Type: IDOC

(20)

e. Select the ‘Receiver’ Radio Button

f. Specify the RFC Destination, Interface Version, Port and SAP Release.

6. Assign the Business System and Business Component to the above create scenario.

Expand the Business ComponentSelect BC_Fileright click and Assign Configuration Scenarios – ‘CS_sudiroy_File_To_IDoc’ as shown below:

(21)
(22)

8. Sender Agreement

Provide the following details as shown

below:-We pass the following field

values:- Communication Component  . Service Interface

 Sender Communication Channel.

(23)

9. Receiver Determination

We pass the following value:

 Sender Communication Component  Sender Service Interface

(24)

10.

Interface Determination.

Here we pass:

 Sender Communication Component.  Sender Service Interface

 Receiver Communication Component.  Operation Mapping.

(25)

11.

Receiver Agreement.

Here we pass:

 Sender Communication Component.  Receiver Communication Component.  Receiver Communication channel.

(26)

12.Once all the components are created and activated, assign each one of them to the Configuration Scenario –  “

CS_sudiroy_File_To_IDOC

”.

Finally Save and Activate the Configuration Scenario.

Testing :- For Testing we need to put the file in a folder from which the file adapter will pick up the file.

1. Log on to PI7 system and go to transaction sxda_tools.

By using the transaction SXDA _TOOLS on the system one can transfer files from his client machine to the server.

(27)

Click Copy button.

Select file in presentation server and target file in application server. Note that the file you selected would be copied to the server with this new name given at server.

(28)

3. Now, go to AL11, to look all the /usr/sap folders on the server. Click on the folder you uploaded the file to.

(29)

Sample File

References

Related documents

BluWave Crm Recurring Activities and Route Planning Page 3 To assign your areas to routes, click on System setup and select “Areas” as shown below..

Click on “Assign Cart.” Select the requestor whom you would like to assign the cart by clicking on “Select From profile values” or “Search for an assignee”.. Make you

To use the added serial port and printer, click the “Assign” button and set the connection. 1) Select the printer to be connected from the list, and click the “Assign” button to

In the list of cases, select the case that you want to reassign, and on the command bar, click Assign.. In the Assign to Team or User dialog box, in the Assign To field, select User

Click on the pop-up list to the right of the top bubble and select which particular extension, you would like to assign to this user2. Click

Another way to assign a call is to open the call, then click on the “Assign Call” toolbar button (notebook with grey arrow pointing to right) or “Assign Call” from the action

The contour is generated with the contour calculator. Below, click on the button and then in the upper right on. Assign a name to the new contour; then the contour

While inside a board, schematic, or library editor window, pressing F1 or entering the command HELP will open the help page for the currently active command.. You can also display