Вы находитесь на странице: 1из 32

What is idoc? What is the structure of idoc?

Question
Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

idoc stands for intermediate documents,it is used for data


sending current system to remote system .
the structure of idocs is
1. data records
2. control records
3. status recors
these are stored in sap tables like that.
edidd
edidc
edids

Answer
#3

IDoc (for intermediate document) is a


standard data
structure for electronic data
interchange (EDI) between
application programs written for the
popular SAP business
system or between an SAP
application and an external
program. IDocs serve as the vehicle
for data transfer in
SAP's Application Link Enabling
(ALE) system.
Idoc structure is
1 Data record : This data record can
be one or more .
2 control record : This control record
shd be one and it
contain the info like who is the
sender , who is the
receiver , type of message etc.
3 Status record: This status records
can also be one one or

Answer Posted By

Prab
hu
Das

Blessen Samuel

more basing upon the the stages the


idoc is tranfered.
these status records are 1 to 75.
1 to 49 are reserved for outbound
and 50 to 75 are reserved
for outbound.

Answer
#4

Idoc is an intermediate document which is used to transfer the


data from one system to another system that is in the remote
system.

Bandi
venak
teswa
rlu

Idoc contain 3 kinds of records


These are stored into the different types of data base tables.
1.Data Record :is used to provide Header and Item details
2.Control Record: is used to provide the sender, recieverm idoc
type, message type
3.Status Record: is used to provide the status of the idoc
whether the idoc is succfully transfer or not.
Sap tables for Idocs
1.Data Records (EDIDD)
2.Control Records (EDIDC)
3.Status Records (EDIDS)

Answer
#5

Idoc : Intermediate Document


Exact use of it is transfering data from legacy
system to
the sap and vice versa.
Idoc structure is
1 Data record : This data record can be one
or more .
2 control record : This control record shd be
one and it
contain the info like who is the sender , who
is the
receiver , type of message etc.
3 Status record: This status records can also
be one one or
more basing upon the the stages the idoc is
tranfered.
these status records are 1 to 75.

Lavanya

1 to 49 are reserved for outbound and 50 to


75 are reserved
for outbound.

Answer
#6

Idoc stands for Intermediate documents used for carrying


data from one SAP/Legacy system to another SAP/Legacy
system.
Idoc Structure is as follows:
1 Data record : This data record can be one or more .
2 control record : This control record shd be one and it
contain the info like who is the sender , who is the
receiver , type of message etc.
3 Status record: This status records can also be one one or
more basing upon the the stages the idoc is tranfered.
these status records are 1 to 75.
1 to 49 are reserved for outbound and 50 to 75 are reserved
for outbound.

Arind
am

Answer
#7

idoc is used to
transfer data across
applications.structur
e
of the idoc is
edidc,edidd,edids

Guest

Answer
#8

Insimple words idoc is a container


that carries data to be
exchanged between sap system and
the external sys which can
be either r/3,r/2,legacy sys and
structure of idoc is
determined by the idoc type ..

Vasavi

Answer
#9

Idoc is a intermediate document.we can transfer the data


Shashishe
across sap r/3 systems with idoc.idoc structure have three
khar.ram
components those are control record,data record,status
agundam
record.Control record holds the adress details of inbound
system.It has predefined structure EDIDC.Data record holds
record in IDOC based on segments. predefined structure is

EDIDD.STAUS shows the weather idoc sucees or not.It has


predefined structure BDIDOCSTAT.

Answer
# 10

Idoc is an intermediate document which is


used to transfer
the data from one system to another
system that is in the
remote system.
Idoc contain 3 kinds of records
These are stored into the different types of
data base tables
1.Data Record :is used to provide Header
and Item details
2.Control Record: is used to provide the
sender, recieverm
idoc type, message type
3.Status Record: is used to provide the
status of the idoc
whether the idoc is succfully transfer or
not.
Sap tables for Idocs
1.Data Records (EDIDD)
2.Control Records (EDIDC)
3.Status Records (EDIDS)

what are the main transaction used for IDOCs


Question
Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

Answer
#1

Use Area menu.

Answer Posted By

Sridhar Madisetty

WEDI (TCODE)
List all the releavent IDOC transactions..

Answer

these are the main

Venkateswarlu.bandi

#2

transactions are used in


the while
creating the idocs.
we20:patner profile
we21:port
we30:idoc creation
we30:segment creation
we81:message type
we82:link message with
idoc type.
we02:to status of idocs.

Answer
#3

WEDI

Answer
#4

WEDI is the main transactin for Idocs. You will


find the
links of all the other transactions in the is tcode.

Answer Here are step by step by


#5
process to generate an idoc:
1) we31 - create idoc
segments
2) we30 - create idoc type
3) we81 - create message
type
4) we82 - link message type
to idoc type
5) create process code we41(outbound),
we42(inbound)
6) we20 - create partner
profile
7) we21 - create a port
8) bd54 - create an RFC
destination
9) bd64 - maintain distribution
model

Sap Rakshasan

Manoja

Sandeep

100) bd10 - send material

Answer For creating receiver communication


#6
channel by using idoc
adapter
1.create an RFC destination to
sapR/3 by T-code SM59
2.create a port for IDOC adapter by Tcode IDX1
3.posting the IDOC's in R/3 system by
T-code BD54
4.creating partner profile by T-code
WE20
5.finally for checking and executing
IDOC's list by WE05

Ans we31:creation of segment


wer we30:creation of idoc type
# 7 we81:creation of message type
we82:assign message type to idoc type

Answer
#8

Answer
#9

For re- processing of idoc in


inbound and out bound we can
use T-Codes are like
we-86 and we87

through tcode SALE also we can do it.

Answ main transactions are used in the while creating the


er idocs.
# 10
we20:patner profile
we21:port
we30:idoc creation
we30:segment creation
we81:message type

Ravi Kiran

Nikhil

M.ravi Shankar

Lava
nya

we82:link message with idoc type.


we02:to status of idocs.
WEDI (TCODE)
we31:creation of segment
sale-defining logical system
sm59-rfc destination
bd82-generates partner profiles
bd64-distributes modal views
bd10-send material
bd14-vendor material
bd12-gets inboud idoc list
we05-idoc list outbound

Question

How to create an Idoc & Attached to SAP Transaction?


For example we want to trigger IDOC To other system when
we
Save the PO Via ME21N.

Question Submitted By :: SAP-ALE-IDocs

I also faced this Question!!

Answe To create an Idoc.


r 1. Create message type.
# 1 2. Attach basic types of IDOC to message type.

Answer Posted By

Sridhar
Madisetty

3. Attach FM to the message type combination of IDOC types


4. Creat a process code and attach message type to it.
5. Create a Partner function through WE20. Add an message
type in the outbound paramater.
6. Have an entry of port name and basic types (IDoc types)
in the outbound options tab
7. Add and an entry in the message control option with the
output type (ME21N- Output type) and the process code.
8. When you db click on the process code the FM should
appear.
9. When an output is triggered in the ME21N transaction wit
the EDI output medium. The idoc will be triggered

uestion What is IDOC Extention. & How to do it?


Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

Answe idoc exetension is nothing but a to add the some


r more
# 1 functinality to the basic idoc. that is called the idoc

Answer Posted By

Venkateswarlu.bandi

exetension. this is done by using the transaction


code we30.
and go select the radiobutton like "exetension".

Answe Extending the function ality of an existing


r IDOC basic type
# 2 is IDOC Extenion.
Step 1 : Go to WE31 :
1) Create one segment with the fields that
are required
to extend.

Gargi

Step 2 : Go to WE30 :
1) Select the radio button 'Extension'.
2) Give the New Extension name and click
on create
button.
3) Give the existing IDOC basic type
(which you want to
extend) and the Extension description
4) Add the newly created segment in the
desired location
in the IDOC structure.
5) Save the application.

Answe exextened functionality and use more


r functionality to the
# 3 basic idoc is nothing but idoc extention.

uestion How to Handle the IDOC Errors using Messages?


Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

Answe After sending the Idoc, You can View the status of that

Nikhil

Answer Posted By

Ren

r
#1

Idoc in Tcode WE02, The status record correctly tells the


Problem in case of Error.

jith

using that Key word you can trouble shoot.


Renjith Remanan
Collabera/IBM

Answe ALE+WORK
r FLOW
# 2 HANDLES
ERRORS.

Shashishekhar.ramagundam

Answe I Understand the question as to Handle the IDOC after


r processing which was showing with error messages.
#3
If that is the case.
Reprocess the IDOC by populating the missing data/
Correct
data (Depends upon the type of message showing in
the idoc
status).
To re-process the IDOC use - WE19 (Tcode)
OR
Re-trigger the IDOC to re-triggering the message
output
(Outbound case).
uestion what is the store procedure in sappi ?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answe
in the jdbc receiver structure under key field we have to
r
write stored procedure code in from sql scripting
#1

Answer Posted By

Guest

stion How can we trace the trfcs?


Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answe in case of trfc when ever is not


r available to process the request
# 1 then sap shedules a program
RSARFCSE in back ground.
this program execxuted
automatically for every 15 min for
20 attempts with in this attempts if
the remote system is available the
request processed other wise the
request expires.
we can check the status of trfc by
using tcode sm58.

Answer Posted By

Ravinder

An Hi
sw
er Using SM58 Transaction, we can trace the
# 2 TRFCs
Correct me if I am wrong

Question

1. How to disable search help on selection screen?


2.How to highlight particular row ALV grid?
3.What is use of At selection screen on field?
4.How to use performance tunning ?
5.How to developed Report?
6. I create custome transprant table to addeda records in
SE11 we could add multiple record at a time and maintain
the transperant table in SE93?what kind of view generated
in background?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

1. goto screen 1000 in screen painter and


take off search help option for that
parameter.
or
2. just over write the F4 help for that
parameter with

Answer Posted By

Dillip Mishra

AT SELECTION SCREEN ON VALUEREQUEST FOR PARA1.


do nothing....

uestion how many views have you met with MATMAS ?


Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

Answe MATMAS is standard Message Type, and basic


r Idoc types
# 1 assiocated with the same is
MATMAS01,MATMAS02,MATMAS03.These are
type of version given
by SAP.

Answer Posted By

Zebronic

Answe MATMAS01,MATMAS02,MATMAS03,MATMAS04,MATMAS05
r . ALL SO AVAILABLE IN
# 2 SAP.
uestion what is function module for idoc genrtions
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answe
r i think
# 1 mater_idoc_d
istribute

u
e
st how many type of records in Idoc?
io
n
Question Submitted By :: SAP-ALE-IDocs

Answer
#3

3 types
1. control record
(it holds sender and receiver information)

2. data record
(it holds the data)
3.status record
(it holds the delivery status)
how can u schedule BD87 in background process?
stion
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answer
#1

you cannot schedule BD87 in


background mode. this is a
monitoring transaction, not
processing transaction.

Answer
#2

You can run SAP Program


RBDAPP01 as a scheduled
program in
the background if you upload
IDOCS in from WE16 so they
load in Status 64.

Guest

i have a material change material description how to trigger


idoc?

estion

Question Submitted By :: SAP-ALE-IDocs


I also faced this
Question!!

Answer Posted By

Answer
#1

By using Change
pointer technique

Answer
#2

Execute Tx Code BD10 and mention Respective


Message Type,
IDOC type and Receiving System Logical System
name````

Question

Nagendra

A program is generating an outbound IDOC and ther is some


error in the data (say an outbound IDOC for Sales Order has
been generated and the Material Number has not been
properly formatted so that it can be accepted by the
receiving system). How shall we handle this error from the
program
who is generating the outbound IDOC

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

Go to we 18 / we 19 and click on the glossory by


giving the
idoc number now go to the the conn eted sales
ordr in ecc
and see as to waht is the corect MTNR and give it
in the
idoc lable feld and save . Now go to BD87 and re
rerun the
idoc and the right idoc will be generated for
thesame

Answer
#2

Content of segment
can be changed if it
is not in correct
format.
To change the
content go to WE05
and go to Data
record ,you
can find a rectangle
type symbol justleft
to segment name.
double click on it .
go to menubar and
data record
->change
then change the
data and reprocess
it

Answer Posted By

Shriya

What is the main difference between ALE/IDOC and BAPI ?


estion
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answer
#1

ALE/IDocs are used for asynchronous


information
interchange.while BAPIs are used for
synchronous
information interchange

Anny

Answer
#2

uestion

For EDI transfer of data is from IDOC to flat


file,whereas
for ALE & BAPI it is memory to memory
transfer.For EDI to
be implemented a subsystem is required to
convert IDOC in
flat file and vica versa.System should be EDI
enabled.
Without using the distribution model, can we send data from
one system to another system by using ALE?

Question Submitted By :: SAP-ALE-IDocs


I also faced this
Question!!

Answer no we
#1
con't
send.bec
ause
When
ever we
try to
send an
IDOC
it checks
with
distributi
on model
and is
there
any
filtering is
defind or
not, if it is
defined
then
checks
with filter
data and
then it
checks
with
reciver
and
message
type.

Answer Posted By

Narasa

es
tio what is the table for trfc port
n
Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

Ans 'TidDatabaseConnectionString' this is the type of port


wer for
# 1 processing idoc's.

Ans THE TRFC


wer POST DATA
# 2 ARE STORED
IN DATA BASE
TABLE
ARFCSDATA
AND
ARFCSSTATE

Ans THE TRFC PORT DATA ARE STORED IN TABLEwer ARFCDATA. ARFCDATA
# 3 IS A TABLE NAME IN THIS TABLE AVAILABLE ALL
SENDING TRFC
DATA LIKE SENDING IDOCS ARE AVAILABLE.
u
e
s
tWhy we need to create RFC destination from PI to R/3?
i
o
n
Question Submitted By :: SAP-ALE-IDocs
I also faced this
Question!!

Answer Hi,

Answer Posted By

Swaraj

Siba Nayak

Answer Posted By

#1

Actually we need some interface to send


the business documents(data) from SAP
to any legacy system and RFC is nothing
but an Remote Function Call is a type of
interface that can be called from the
legacy system itself. So we use RFC in
SAP system and we pass the data to RFC
that would be called from the Legacy
system or PI to get the same data
how to debug IDOC manually? if i want to extend the

Questi standard IDOC say MATMAS, where i have to write code for
on
extension?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer Posted By

Answer
#1

When extension is created for MATMAS,


check the FM attached to that idoc in the
configuration
we57

Answer
#2

for errors u need to check for the status codes and


cming to
debug u can debug our the assingned function module
i.e
idoc_input_matmas05 or z(fun module) in case of
custom and
while processing in bd87 the complete idoc can be
processed
by selecting the option available.

Question

what is the diff between Idoc and psa when we are


loading
hierarchies?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

estion

how

Ralph De
Jesus

Please see the link below..


http://www.sap-img.com/business/differencebetween-psa-andale-idoc.htm
do we

debug an idoc ? please help me?

Answer
Posted By

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
you can debugg the idoc through we19
#1

Answer
Posted By

Mahaboob
Subhani.
Shaik

Answer using function module idoc_outbound_<message


# 2 type>. we can
set the break point for this function module.

Question

hi friends!while sending idoc from receiver side i got


msg
type 3 and 12.but in receiver side while executing
we02,i
am gettig the error 'no idocs selected' instead of
getting
msg type 53.i am simply sending a material from one
client
to another client.if anybody knows this problem ky
revert
back.

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

IDoc is not being received at receiver. maybe idoc


is
blocked in rfc queue.problem is somewhere at
sender end.

Answer
#2

check inbound partner profile(WE20) in the


receiver
side.give the correct partner number,message
type and
process code.i

Answer
Posted By

Ravinder
Singh

Sainathraj

How the data is coming from 3rd party system to SAP System?

uestion Please explain me which conncetion you have to do?


Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer

Posted By

Answer Data from 3rd party can come from middleware tools
# 1 like MERCATOR. Also data can from 3rd Party from
email or fax also. This can be done by intergration mail
system with SAP inbox.
The usual connection for middle ware tool can be type 4
TCP/IP - depending upon the setting of your gateway
server properties one can integrate SAP with other party
Middleware systems.
Question

where to see idoc in inbound side whether it is


received in receiver system or not?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

You can Use the Tcode BDM2..

Answer
Posted By

Renjith

Through this tcode you can view the Sending


system Idoc
Number and Corresponding recieving System Idoc
number...
status also you can get from this Tcode..
or elso note down the Corresponding Idoc number
and check
in WE02..
Renjith Remanan
Collabera/IBM/WDC

Answer
#2

By executing Conversion Program RBDMOIND... Buddula15


1) Execute RBDMOIND in outbound program
2) If the status code is convert into 3 to 12 then we
can
confirm the IDOC received successfully..
Buddula15

Question

Suppose their is one sender and we have three


recievers.
While generating an IDOC will it generate 3 IDOC's for
three
receivers? Please explain in detail how the flow goes
from
outbound to inbound systems?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

Answer
Posted By

in SALE we maintain the Sendor as well as


three Receivers
(how many receivers to send the same
idoc),
and assign the sendor in sendor system as
well as assign
receivers in receivers system(sale->assignment) three
receivers.
maintain the RFC destination on sendor side
and all
receiver side also (sm59).
maintain the port for sendor and three
receivers.
maintain the sendor and all receivers for a
same message
type in distribution model.(bd64)
maintain the partner profiles for sendor and
all receiver
side also (we20).
execute the outbound program(idoc
generation)like BD12 for
DEBMAS message type .
check out the status using we02 or we05.

uestion Can we attach more than one messages with One IDOC?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer

Posted By

Answer yes, we can attach more than one message types to


# 1 one idoc.
For example sendor wants the records on both
material and
purchase at same time then we need to add two
message types
to one idoc.

Mohammad
Jamaluddin

Answer Yes we can attach more than one message with one
# 2 IDOC.

Nayani S
Pavan
Kumar

Question

which type of workprocess can execute only once in r/3


system(sap)?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1
Question

Dialog work processor


what is the difference between repair and correction in
sap.

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

Answer Posted By

SAP system present in customer


environment is copy of
original system which is at SAP itself. That
means all the
objects present in customer environment
are copy of the
object originally created in SAP
environment.
So, If we modify copy of object then it is
called as repair
and assigned to development task repair.
Repair of object is
also called as modification.
Whereas if we modify object in it's original

Answer Posted By

system where it
is actually created may it be SAP system
or the objects
created by customer in customer
environment. Then such
changes is called as corrections and
assigned to task
Development/Correction
uestion Where all the Idocs get stored after creation?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answer EDIDC stores control/header record.


# 1 EDIDD/EDID4 stores data records.
EDIDS stores status records.

Question

I HAVE GENERATED AN IDOC WITH ERROR AGAIN WHEN IAM


GENERATING IT .IT IS GENERATED WITH DIFFERENT IDOC
NUMBER.BUT I WANT THE SAME NO PREVIOUSLY IT IS
GENERATED?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

BD87 will process existing IDOC without


generating a new
one.
WE19 will ignore the error IDOC and generate a
new one
after correction

Answer
#2

You can use BD87 if you want to reprocess same


idoc
number,here it will not generate new idoc
number.
suppose there was RFC Issue ,connection got
failed then
after rectifying RFC Connection then you can
reprocess
same idoc number.
in case data is missing,then you need to WE19
Transaction > enter idoc number -> fill the missing data.

Answer
Posted By

Madhulika

Ram

just drag the segments ,here you can fill data


where ever
required.
If you use WE19 then it creates new idoc ,it gives
work
flow message.

Question

i was sent 10 records using outbound in ale/idoc 8


records
are up dated in data base tables what happend remaing
records did not showing error in we02

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
#1

Answer
Posted By

I understand u r trying to generate the idocs with


10
records, and u find only 8 (records) idocs created
rest
(records) are missing.
Check with the filter set up for the records for its
receiving partner system(logical system).
Correct the filters then try regenarating the
idocs(missing
records).

what is the diff between sap memory and abap memory?


Question
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer
Posted By

Answer SAP memory (Global Memory): - is available to a


#1
user during
the entire duration of a terminal session. Its
contents are
retained across transaction boundaries as well as
external
and internal sessions.
ABAP/4 memory
The contents of the ABAP/4 memory are retained
only during
the lifetime of an external session (see also

Organization
of Modularization Units). You can retain or pass
data
across internal sessions. The EXPORT TO
MEMORY and IMPORT
FROM MEMORY statements allow you to write
data to, or read
data from, the ABAP memory.
Hi ABAP Gurus,

Question

Can anyone get me some real time scenarios in ALE IDoc's.


Please help me out .
Thank You.
suresh

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer
Posted By

Answer - communicating between two physically


#1
separated systems.
Either SAP to SAP or SAP to Non-SAP ,we use
IDOC.
- SAMPLE Scenario is a new custom ALE where
the receiver of an
internal service must be able to reverse the
invoice receipt,
which will then cancel the applicable billing
document
automatically on the service providers system. To
avoid the conflicts between two systems.
Question

what is the difference between template and table in


smart
forms?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer template is a static and table is dynamic


#1
maximum we prefer table only

Answer table node:tables are dynamic because the table


#2
size depend
on the amount of tha data selected at runtime.

Answer
Posted By

Guest

Templete node:templetes are static because the


no of column
and lines are determind before the actual output.
estion how to reprocessing the idoc.
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer if u have any error in IDOC u can edit it by


# 1 using we02 tcode,
after that u can reprocess the corrected IDOC
by using bd87
tcode.

Answer How to Reprocess the IDOC in Both Inbound


# 2 & Outbound
By: Mohamed
Check these reports:
RBDAGAIN - Process Outbound IDocs with
Errors Again
Description: This report reprocesses
outbound IDocs which
contain errors. IDocs containing errors have
one of the
following statuses:
02: Error transmitting data to port
04: Error in EDI subsystem control
information
05: Error in conversion
25: Continue processing despite syntax error
(outbound)
29: Error in ALE service
RBDAGAIE - Reprocessing of Edited IDocs
Description: This report reprocesses an

Answer Posted By

Damodar Reddy

edited IDoc in
inbound or outbound processing. The edited
IDoc has one of
the following statuses:
32: IDoc edited (outbound)
69: IDoc edited (inbound)
RBDAGAI2 - Re-processing of IDocs after
ALE Input Error
Description: You use this report to reprocess
inbound IDocs
containing errors. IDocs containing errors
have one of the
following statuses:
56: IDoc containing errors added
61: Continue processing despite syntax error
(inbox)
63: Error passing IDoc to the application
65: Error in ALE service
---For Inbound
1) Goto WE19, select ur IDOC and execute.
The details will
be shown of IDOC. Change the data in the
segment as per
your requirement.
2) Click on standard inbound process. If you
want to
execute the process in foreground, click on
standard
inbound function module. Select related
function module and
execute the process in
foreground/background.
For outbound
1) Follow same step 1.

2) Click on standard outbound processing


----To reprocess Idocs in outbound or inbound
you can create
back ground jobs using the following
programs.
For Outbound:
For 02 status IDocs follow the below
procedure:
1. Open SE38.
2. Give program RBDAGAIN.
3. Give you Idocs and save as variant.(Give
any name)
4. Now, go to SM36,and specify a job
name(Any name).
5. Now click on STEP give your Variant name
in the
respective field and you program name as
RBDAGAIN.
6. Save and come back.
7. Now click on "START CONDITION".Here
you give schedule
the job either "Immediately" or "Periodically".
8. To do an immediate job select Immediate
and save.Else go
for perodic as you need.
9. Now save the screen on SM36.
10. To release the job click "Job selection" -> select
sceduled --> execute.
This would push your Idoc from *02*(Error
passing data to
port) to 30(Idoc ready to dispatch) status.
Now to send the Idoc from 30 to *03*(Data

passed to port
OK) use the "RSEOUT00" program and run
another job as
stated above.
This would send the Idocs to 03.
Similarly at Inbound side:
To reprocess an Idoc in 51 status:
Use program "RBDMANI2" and run a job.It
will push Idocs
from 51 to 53 status.
For 64 status use "RBDAPP01" program.
You can do it in transaction code BD88
-------Receiving System (Inbound ALE)
Tcode SALE3 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
Message Type MATMAS
Tcode BD10 - Send Material Data
Tcode WE05 - Idoc List for watching any
Errors

Inbound Status Codes


50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
For 51 or 56 Errors do the following steps
Goto WE19 --> give the IDOC Number and
Execute-->
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the
Program RBDAPP01
then your getting 51 Error
can we, generate i doc for more than 1 vendor.

uestion i.e can we generate idoc for more than 1 po order


Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answer No it is not possible.because vendor number


# 1 or po numbers
are the uniqe.so it can holds the same vendor
or po number
uniquely.

Narasa

Answer yes
# 2 Is This Answer Correct
how to debug IDOC manually? if i want to extend the

uestion standard IDOC say MATMAS, where i have to write code for
extension?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer When extension is created for MATMAS,


# 1 check the FM attached to that idoc in the
configuration
we57

Answer Posted By

Ralph De Jesus

Answer for errors u need to check for the status


# 2 codes and cming to
debug u can debug our the assingned
function module i.e
idoc_input_matmas05 or z(fun module) in
case of custom and
while processing in bd87 the complete idoc
can be processed
by selecting the option available.
Question Why we need to create RFC destination from PI to R/3?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answer Hi,
#1
Actually we need some
interface to send the business
documents(data) from SAP to
any legacy system and RFC is
nothing but an Remote
Function Call is a type of
interface that can be called
from the legacy system itself.
So we use RFC in SAP system
and we pass the data to RFC
that would be called from the
Legacy system or PI to get the
same data.

Answer pi(process integration) itself


#2
acts as middleware for
creating connection between
A2A OR B2B SCENARIOS.pi
provides
sinle point of integration.
what
is the table for trfc port
Question
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer 'TidDatabaseConnectionString' this is the type of port

Sandeep

Answer
Posted By

Swaraj

for
processing idoc's.

#1

Answer THE TRFC POST DATA ARE STORED IN DATA


#2
BASE TABLE ARFCSDATA
AND ARFCSSTAT
What
is the main difference between ALE/IDOC and BAPI ?
stion
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!
Answer Posted By

Answer ALE/IDocs are used for


# 1 asynchronous information
interchange.while BAPIs are used
for synchronous
information interchange
Without using the distribution model, can we send data from

uestion one system to another system by using ALE?


Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer Posted By

Answer no we con't send.because When


# 1 ever we try to send an IDOC
it checks with distribution model
and is there any
filtering is defind or not, if it is
defined then checks
with filter data and then it checks
with reciver and
messagetype.

Question

A program is generating an outbound IDOC and ther is some


error in the data (say an outbound IDOC for Sales Order has
been generated and the Material Number has not been
properly formatted so that it can be accepted by the
receiving system). How shall we handle this error from the
program
who is generating the outbound IDOC

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer Go to we 18 / we 19 and click


#1
on the glossory by giving the
idoc number now go to the the
conn eted sales ordr in ecc

Answer Posted By

and see as to waht is the corect


MTNR and give it in the
idoc lable feld and save . Now
go to BD87 and re rerun the
idoc and the right idoc will be
generated for thesame
tion

i have a material change material description how to trigger


idoc?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer Posted By

Answer By using Change pointer technique


#1

Nagendra

Answer Execute Tx Code BD10 and mention


# 2 Respective Message Type,
IDOC type and Receiving System Logical
System name
how can u schedule BD87 in background process?

Question Submitted By :: SAP-ALE-IDocs


I also faced this Question!!

Answer you cannot schedule BD87 in background mode. this


# 1 is a
monitoring transaction, not processing transaction.

Answer You can run SAP Program RBDAPP01 as a


# 2 scheduled program in
the background if you upload IDOCS in from WE16
so they
load in Status 64.
estion How can we trace the trfcs?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer in case of trfc when ever is not available to process the

Answer
Posted By

Guest

Answer
Posted By

Ravinder

#1

request then sap shedules a program RSARFCSE in


back ground.
this program execxuted automatically for every 15 min
for 20 attempts with in this attempts if the remote system
is available the request processed other wise the
request expires.
we can check the status of trfc by using tcode sm58.

Answer Hi
#2
Using SM58 Transaction, we can trace the TRFCs
Correct me if I am wrong
Question what is the store procedure in sappi ?
Question Submitted By :: SAP-ALE-IDocs
I also faced this Question!!

Answer in the jdbc receiver structure


# 1 under key field we have to
write stored procedure code in
from sql scripting

Answer Posted By

Вам также может понравиться