2024 May 16 3:57 PM - edited 2024 May 16 3:59 PM
Hi,
We are using an output sent from several docs (SO, PO, Outbound delivery and inbound one), output that creates an IDoc which transmits some info to the transportation team.
Those IDocs can be seen in the so-called 'GOS' or Services for Object, window that can either be called when in a doc via the 'System' menu -> Services for Object and 'Display relationships' or be defaulted with the PUID 'SD_SWU_ACTIVE' value X in SU3 and the relationships submenu in that window.
And this works well for the SO, for the PO, for the OBD, but not for the inbound one.
I understood why (see that post), the issue is caused by the object type created by the IDoc in table SRRELROLES.
The object type for the IDoc created for the SO is BUS2032, the one for the PO IDoc is BUS2012, the one for the OBD IDoc is LIKP.
And the one for the IBD IDoc is LIKP too, what is causing the issue.
I copied in SRRELROLES table the line for one IBD IDoc and changed the object type to BUS2015, and the IDoc is now visible in the GOS window.
I tried to find where the object type could be defined for a processing FM, an IDoc type, a message function and a message variant (to not negatively impact the working behaviour for the OBD IDoc), but I wasn't successful (I thought having found the right thing with WE57, but that didn't work).
Any idea how I could define the object type for my IDoc, message function and message variant?
Maybe I missed something 'before' WE57.
Thanks for your help.
BR
Yan
Request clarification before answering.
The object type relation comes from the configuration in TBD14 and is read during execution in program RSNASTED. If an object is set to LIKP it should not be changed. The mechanism you are describing is suspect since you are talking about sending out an inbound delivery, but you could create a Z message type with the relation you seek.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I must confess that I don't really know how it could be clearer.
Anyway, let me rephrase: an IDoc is sent out via an output for an inbound delivery.
The relationship menu in the services for the object remains blank.
Cause for this is the object type for the IDoc, visible in table SRRELROLES, that is LIKP instead of being BUS2015.
Then, I created an entry in WE57 for the FM in the process code for the outbound IDoc (IDOC_OUTBOUND_DELVRY), the basic type/enhancement/message type/message variant/message function/object type (BUS2015)/Direction 1.
But this doesn't help, relationships remain blank when an IDoc is triggered for an inbound delivery as object type is still LIKP for the IBD in SRRELROLES.
BR
Yan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
5 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.