on 06-17-2015 4:51 PM
Our carrier will send POD legal document to us. Can we send POD legal document to TM? If yes, how?
Hi Xianhua,
I don't know whether SAP EM has standard way to do that.
However, you can create custom ruleset activity.
1. Create a new activity function (check /SAPTRX/TMS_SET_HSH_STATUS or /SAPTRX/TMS_UPD_DO_TENDERING) how it calls SAP TM system and update.
2. Create a new rule activity or add into existing POD event rule
3. Assign newly created activity function in ruleset to get the document and send it to TM then update.
Regards
GGOPII
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Xianhua,
Can you please let me know how is your carrier sending you the POD attachment ? Via EDI/IDOC etc ?
How is your system landscape ? Is TM & EM on the same system ? If yes, you should be able to display the attachment in the EM Web UI.
Where in TM you want to send the document ?
Thanks,
Deb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
TM 9.1 and EM 9.0 but two different systems . Carrier will send EDI 214 with POD signature. Our System will parse EDI 214 to IDoc. Here is our requirement:
1) we don't know how to parse EDI 214(POD signature) to IDoc. Which way is better: one IDoc + One attachment, or IDoc with binary value in a certain tag. How can we do that?
2) if an image file(or pdf file) is attached with IDoc, how do we do that? It looks standard IDOC adapter does not support attachments.
Thanks for your kind help.
Xianhua
Hi,
Exactly !! I kinda understood your problem but your title is little bit misleading.
Std. IDOC structure does not support or does not have a segment that can get an attachment in.
We have done it for a customer. We get the POD attachment into the EM system and save the document in application server (AL11).
Then a custom program running as a background job sends the attachement in the application server via a BAPI call /SAPTRX/BAPI_ADD_EVENT_MSG02 using the tables parameters
TRACKFILEHEADER
TRACKFILEREF
TRACKFILEBIN
TRACKFILECHAR
This will attach the pdf to the event message.
Thanks,
Deb
Hi Xianhua,
These discussions might be useful for you.
Attach File to EH - SAP EM to SAP TM
If above things are not working out, try to do as below.
1. When EDI 214 comes with PDF, JPG or Image file. Try to split attachment (Ref: FMSSFC_BASE64_DECODE) and IDOC using custom utility program.
2. Again Combine IDOC and attachment when you send event message /SAPTRX/BAPI_ADD_EVENT_MSG02 to SAP EM.
How to add attachments to Event Message?
Adding Attachments to Event Messages - Event - SAP Library
This solution would be ideal without impacting existing process update.
Check and let me know.
Regards
GGOPII
Thanks both.
In my system, I see function of TM_MAINTAIN_EXEC_INF, which is /SAPTRX/TMS_CHANGE_EXEC_INF and have only two parameters: REPLACE_TRX and ERR_IN_APP_LOG
Can you share me if there are other parameters?
There is also one activity called SEND_POD. The parameter list looks not tell how to put pdf/image file:
Please advise.
Thanks.
Xianhua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
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.