2007 Aug 13 12:55 PM
HI Guys,
I am SD consultant dont have much idea on this program.
In one of the invoice we have a message type called ZSG with medium ALE sends info to other system system via IDOC, under NACE pgm attached for this is RSNASTED.
In Idoc there is a segment E1EDK01 there is one more sug segm Z1TRANS with fiels shipment no# qty.
Problem here is in one of the Idoc created by invoice this field is filled, and when we try to create same for another plant this Z1TRANS is not filling up.
I am trying to search as normal to find the program logic with search term "VTTK" in RSNASTED program its not giving any serach results.
If iw anted to know the logic for this message type where to find ?
How to view and search RSNASTED what is the srach term to be used?
Reg
Shan1242
HI Guys,
I am SD consultant dont have much idea on this program.
In one of the invoice we have a message type called ZSG with medium ALE sends info to other system system via IDOC, under NACE pgm attached for this is RSNASTED.
In Idoc there is a segment E1EDK01 there is one more sug segm Z1TRANS with fiels shipment no# qty.
Problem here is in one of the Idoc created by invoice this field is filled, and when we try to create same for another plant this Z1TRANS is not filling up.
I am trying to search as normal to find the program logic with search term "VTTK" in RSNASTED program its not giving any serach results.
If iw anted to know the logic for this message type where to find ?
How to view and search RSNASTED what is the srach term to be used?
Reg
Shan1242
2007 Aug 13 12:58 PM
Hi Shan,
The RNASTED program only deals with processing the output message which is generated in the transaction. This will only trigger the required output like IDOc or print etc
The exteneded segment will be populated in a User exit in a function module which populates the standard IDoc. Try to locate it and check if there is any plant specific code is written.
Probably you can check the Function module IDOC_OUTPUT_BLAORD.
Regards,
Yogesh
2007 Aug 13 1:00 PM
2007 Aug 13 1:07 PM
Hi,
Within the function module which i defined above there will be provision to write the customer specifc code.
Go to transaction SE37 and provide the function module name.
Then access the
Call Customer Function 002 (enhancement MM06E001)
PERFORM customer_function.
in the code.
Inside this, there may be code written to populate the extended fields.
Let me know if you need more help.
Regards,
Yogesh
2007 Aug 13 1:22 PM
I tried with the given enhancement in SMOD.. but in which i could not find any relevant info..
Which program determines and fill these segments?
Cio
Shan1242
2007 Aug 13 1:22 PM
hi..
Note: There may not be problem in user exit since the data is filled for other plant.
The Reason why the data is populated into the Custom Segment could be bcoz of not assigning the IDOC Extension in the Partner profile for that particular Plant.
To Check this go thru these steps in the Sending system:
1. Open the Partner profiles - WE20
2. Select the Partner Number (Logical system) of the plant where data is not filled.
3. Doble click on the Outbound Message ORDERS
4. Check the Assigned idoc types
Basic type : ORDERS03
Extension : <Here u must assign the Extended Idoc type>
Let me know the result.
2007 Aug 13 1:26 PM
HI Varma,
Q is why particular field in a segment is not filled not the message type?
Message type already exists..
Cio
shan1242
2007 Aug 14 7:54 AM
2007 Aug 14 8:16 AM
HI Yogesh,
I tried it in different way, goto SE11 given Z1TRANS and serach with where else used got the correct program ZSDN0117 with fun mod Z_GET-SHIPM...
Solved the issue..
Thanks for your assistance.
Cio
Shan1242
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |