‎2007 Mar 20 7:38 AM
Hi Experts,
When i'm triggerig the idoc its successfully sending the Idoc from the outbound but getting the status 51 in the inbound as :
The function module IDOC_INPUT_DEBITOR and the application object type KNA1 which were determined are not valid for this IDoc.
I am not getting the soln for this issue can any of the experts plz try to resolve this issue.
waiting for a early reply
thnking you in advance
Santosh
‎2007 Mar 20 7:45 AM
What is the error in Status 51...?? Specify the error clearly, pls
‎2007 Mar 20 7:53 AM
Hi Tanuja,
I am getting the status 51 : Application document nt posted.
And the diagnosis for this status is : The function module IDOC_INPUT_DEBITOR and the application object type KNA1 which were determined are not valid for this IDoc.
I am not understanding whats the solution for the above diagnosis.
so plz help me out
Regards
Santosh
‎2007 Mar 20 7:46 AM
Hi Santosh,
Good .. Check out the following documentation
Make sure you have configured the following
Setting Up Clients
Defining Logical System Names for Clients
Defining Communication Parameters
Modeling the Distribution
Generating Partner Profiles in the Sending System
Distributing the Distribution Model
Generating Partner Profiles in the Receiving System
Creating Material Master Data
Sending Material Master Data
Checking Processing Status
Follow the steps
1 Logical System
2 Assign Logical system
3 RFC
4 Port
5 Customer distribution model
6 Partner profile
7 CDM distribution
Tcode : SALE
First 2 steps not necessary ( Basis work already done )
Two logical system created
Ls110 -Sender
Ls800 - Receiver
RFC
RFC establishment SM59
Receiving system IP address or hostname
System number, client id
Username, password
Ports
We21 define ports
TRFC ale
File Edi
CPI_C - R2 connections
In the port we need to define Port name and RFC destinations
And version
Customer Distribution Model - BD64
Sender
Receiver
Message type
Partner profile we20 , BD62
Partner may be customer, vendor, logical system
In BD62 define the partner system (LS800)
One more additional entry SYNC for synchronization
Post processing Agent - workflow
MATMAS 03 03 is the version
Collect idoc we need to trigger
Transfer idoc will be send immediately
With message control
Which program need to run for generating the idoc
With out message control
For some of the programs have inbuilt idoc generation for that case no need to mention program name
Process code
Distribute CDM
Receiving System:
Partner profile is going to control all the thing
BD64 - > edit - > model view - > distribute
BD67 Function module assigned to the process code
BD10 used to create idoc for material
Master idoc generated only buffered
One master idoc multiple communication idoc
One communication idoc generated
We02 idoc satus
Check out the following link
Good Luck and thanks
AK
‎2007 Mar 20 7:54 AM
Hi
In table EDIFCT there is the combination of message type and IDoc type assigned to a function module to processs the IDoc. Find this function and put a break-point in it. Then reprocess the IDoc with BD87 (or the ABAP RBDINPUT to save an extra step) and debug from where the procedure stops. From here, you are in the application and can to see what goes awry.
Thanks
AK
‎2007 Mar 20 8:30 AM
Hi Kumar,
The custom message type which i am using does not exist in the table EDIFCT. So there is no FM or object name assigned to this message type. Think for this it is giving the above error.
So what to do if we need to insert the message type to table EDIFCT. Think that untill and unless the message type i'm using is not inserted into the table EDIFCT it will through the error.
Suggest me kumar
Regards
Santosh
‎2007 Mar 20 8:03 AM
And still u receive the IDOC at the receiving end??
How r u creating the IDOC?? Did u check ur ALE Settings again??
Are u creating the customer using LSMW?
What is the message type being used...??
do u have any message number, message class for the error message in status record??
‎2007 Mar 20 8:13 AM
yes i'm receiving the idoc at the receiving end but with the status 51.
the ALE settings are fine.
i'm not using LSMW.
there is a custom message type i am using.
the message number is : B1252
‎2007 Mar 20 8:38 AM
Maintain the Relationship in transaction WE57..
and try again...
Reward points if helpful