‎2008 Jul 08 3:12 PM
Hey,
created a customized IDOC in system A and added an inbound
process code.
Now I would like to test the IDOC in we19 from system B, but the customized
IDOC doesn't exist (of course) there.
How to test this IDOC? Do I have to transport this in system B?
Can I test IDOC also in system A himself? I just want to test if the configuration
of process code works.
In system A I can use we19 with standard inbound, but which receiver port do
I have to use? I just have created a port to system B. For testing IDOC in just
one system, do I have to create also a port/logical system to system A?
thanks
chris
Edited by: Christian Riekenberg on Jul 8, 2008 4:18 PM
‎2008 Jul 08 3:23 PM
I think you want to test only the process code calling the IDoc inbound function module correctly or not?
If you have RFC connection between B to A. then go to WE19 create a dummy entry giving all the following details
Receiver Sender
------- ------
Port Port
Partner No. Partner No.
Part. Type Part. Type
Partner Role Partner Role
Message Type
and check in system A that IDoc you got received. It will show as an error , but that errors should shows it getting created in the inbound function module call
a®
‎2008 Jul 08 3:23 PM
I think you want to test only the process code calling the IDoc inbound function module correctly or not?
If you have RFC connection between B to A. then go to WE19 create a dummy entry giving all the following details
Receiver Sender
------- ------
Port Port
Partner No. Partner No.
Part. Type Part. Type
Partner Role Partner Role
Message Type
and check in system A that IDoc you got received. It will show as an error , but that errors should shows it getting created in the inbound function module call
a®
‎2008 Jul 08 3:29 PM
Yes, correct. I created an own IDOC and an own function moduel /process code and want to
test my configuration.
But without IDOC message type in system B I can't send a dummy IDOC. Also I need some test data in the sending IDOC which are handled in function module...
‎2008 Jul 08 3:34 PM
Then write a small testing program in system B and call function module
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
master_idoc_control = wa_edidc
tables
communication_idoc_control = i_edidc
master_idoc_data = i_edidd
exceptions
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
others = 5.
If you want to use WE19 then u need to have message type and IDoc type to be configured in system B
a®
‎2008 Jul 08 3:58 PM
And testing IDOC inbound process in system a with we19 in system a is not possible?
thx
‎2008 Jul 08 4:03 PM
While testing the inbound in system A thru WE19 you can test only the inbound function module working fine or not and NOT process code.
In WE19 while testing you have only option for inbound testing is giving function module name and NOT process code
a®