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

HELP IN XPS - IDOC INBOUND PROGRAM

Former Member
0 Likes
802

i am new to the concepts of XAPS, i hve configured the ALE layer, generated the partner profiles in both the clients and im getting outbound success message for standard message MATMAS where as in the inbound it is showing error. i been told by my friends that we need to

write a inbound program to populate the idoc, but i am clueless how to do that. can any one send, if at all if they r having inbound program for standard MATMAS or else u can send me the guidelines how to create.

tnx in advance

8 REPLIES 8
Read only

Former Member
0 Likes
735

I am not sure why you would need a custom inbound program for MATMAS. You can use this function moduel

IDOC_INPUT_MATMAS01

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

0 Likes
735

hi.. ravi,

tq for ur response, but the thing is i really donno how do i use that function module, as i explained in my previous mail, im clueless how do i go. plz help me if u hve any guidelines.

regards

viji

Read only

0 Likes
735

Hi,

In fact you are using the standard IDOCs, so your problem should be solved if you just do the settings required for ALE, then it should solved your problem. Take a look at these docs.

http://www.sappro.com/downloads/OneClientDistribution.pdf

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

Regards,

Ravi

Note : Please mark the helpful answers

Read only

Former Member
0 Likes
735

you have inbound process code MATM for matmas. you can configure, in the inbound parameters in the partner profile.

Regards,

Read only

0 Likes
735

hi srinivas,

i did all the steps, still im geting error.

tnx for ur response.

Read only

Former Member
0 Likes
735

Hi vijay lakshmi,

Follow the steps below.

Just follow the procedure

-


Sending System(Outbound ALE Process)

Tcode SALE ? for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 ? Create Model View

Tcode BD82 ? Generate partner Profiles & Create Ports

Tcode BD64 ? Distribute the Model view

Message Type MATMAS

Tcode BD10 ? Send Material Data

Tcode WE05 ? Idoc List for watching any Errors

Receiving System(Inbound ALE )

Tcode SALE ? for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 ? Check for Model view whether it has distributed or not

Tcode BD82 -- Generate partner Profiles & Create Ports

Tcode BD11 Getting Material Data

Tcode WE05 ? Idoc List for inbound status codes

ALE IDOC Steps

Sending System(Outbound ALE Process)

Tcode SALE ?3 for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 !V Create Model View

Tcode BD82 !V Generate partner Profiles & Create Ports

Tcode BD64 !V Distribute the Model view

This is Receiving system Settings

Receiving System(Inbound ALE )

Tcode SALE ?3 for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 !V Check for Model view whether it has distributed or not

Tcode BD82 -- Generate partner Profiles & Create Ports

Tcode BD11 Getting Material Data

Tcode WE05 !V Idoc List for inbound status codes

Message Type MATMAS

Tcode BD10 !V Send Material Data

Tcode WE05 !V Idoc List for watching any Errors

-


STEP 1)a Goto Tcode SALE

Click on Sending & Receiving Systems-->Select Logical Systems

Here Define Logical Systems---> Click on Execute Button

go for new entries

-System Name : ERP000

-Description : Sending System

-System Name : ERP800

-Description : Receiving System

press Enter & Save

it will ask Request

if you want new request create new Request orpress continue for transfering the objects

B) goto Tcode SALE

Select Assign Client to Logical Systems-->Execute

000--> Double click on this

Give the following Information

-Client : ERP 000

-City :

-Logical System

-Currency

-Client role

Save this Data

Step 2) For RFC Creation

Goto Tcode SM59-->Select R/3 Connects

Click on Create Button

RFC Destination Name should be same as partner's logical system name and case sensitive

to create the ports automatically while generating the partner profiles

give the information for required fields

RFC Destination : ERP800

Connection type: 3

Description

Target Host : ERP000

System No:000

lan : EN

Client : 800

User : Login User Name

Password:

save this & Test it & RemortLogin

STEP 3) Goto Tcode BD64 -- click on Change mode button

click on create moduleview

short text : xxxxxxxxxxxxxx

Technical Neme : MODEL_ALV

save this & Press ok

select your just created modelview Name :'MODEL_ALV'.

goto add message type

Model Name : MODEL_ALV

sender : ERP000

Receiver : ERP800

Message type :MATMAS

save & Press Enter

STEP 4) Goto Tcode BD82

Give Model View : MODEL_ALV

Partner system : ERP800

execute this by press F8 Button

it will gives you sending system port No :A000000015(Like)

STEP 5) Goto Tcode BD64

select the modelview

goto >edit>modelview-->distribute

press ok & Press enter

STEP 6) goto Tcode : BD10 for Material sending

Material : mat_001

Message Type : MATMAS

Logical System : ERP800

and Execute

STEP 7)goto Tcode : BD11 for Material Receiving

Material : 100-300

Message Type : MATMAS

and Execute --> 1 request idoc created for message type Matmas

press enter

Here Master Idoc set for Messge type MATMAS-->press Enter

1 Communication Idoc generated for Message Type

this is your IDOC

Reward points if you find this helpful

Regards,

Harini

Read only

Former Member
0 Likes
735

Hi Vijay Lakshmi,

Did you get any idea frm my last mail?

Regards,

Harini

Read only

0 Likes
735

hi harini,

i know all the steps, i did it exactly, still i m hvng the error.

tnx for ur response

regards