cancel
Showing results for 
Search instead for 
Did you mean: 

Document Flow SAP EM to SAP TM

arun_yesodharan
Active Participant
0 Kudos

I have done the following configuration in the SAP EM for document flow.I have 2 queries the document flow will work for Standard WebUI transaction or only for WCL Transactions? Secondly is the configuration done is incomplete

Step 1: Document Category for Transportation Order : 1TOR ,already defined in system.


Step 2: Creating role category TRANS_ORD , linking it with Object Type TOR.



Step 3: Creating Rel.Type TOR_ORDER

Step 4: Maintaining Document Flow Group

Step 5: Checking the multi tasking activity

Step 6: Assigning the same to Event Handler Type

Step 7: Activating Document Flow Tab in WebUI

However the document flow is not getting generated & following are the results from SLG1:

Kindly help me resolve the issue.

Accepted Solutions (1)

Accepted Solutions (1)

arun_yesodharan
Active Participant
0 Kudos

Hi

   After updating the configured fields in WebUI & reporting an event I was able to see the document flow icon in the WebUI transaction.But upon selection of the document number, it does not open the transportation order in TM.

former_member190756
Active Contributor
0 Kudos

Hi Arun,

then you should first link it with dummy like here:

DUMMY_POH    DUMMY    PURCH_ORD   /SAPTRX/DF_DUMMY

Dummy should be used as start node.

Best regards,

Steffen

Former Member
0 Kudos

Hi Arun,

Is there any predecessor and successor for this document flow? Do you mean only display Freight Booking order? If yes, then what are you trying to show in document flow on predecessor and successor documents.

Could you elaborate your scenario?

Regards


GGOPII

arun_yesodharan
Active Participant
0 Kudos

Hello Gopi,

   I wish to display the freight booking order in the document flow tab of WebUI. Also when the user selects this document this shall open the freight order in TM.

   Also currently am not having any predecessor/successor document.In case the freight order is having freight unit , i can think of adding that as predecessor document.

I am not very clear on the document flow concepts.

former_member190756
Active Contributor
0 Kudos

Hi Arun,

there is no automatic drill-down with the link to the TM document.

You can only navigate to other EH from the Document Flow network.

What you are lookin for is this here i think:

Best regards,
Steffen

arun_yesodharan
Active Participant
0 Kudos

Hi Steffen,

         Somehow i understanding on document flow was wrong.Thanks for helping me with the link.

Former Member
0 Kudos

Hi Arun,

Now we understood your requirement.  Sometimes, document flow and assign link drill down function confuse us.

Let us know if you need further help on drill down navigation configuration.

Regards


GGOPII

Answers (2)

Answers (2)

former_member190756
Active Contributor
0 Kudos

Hi Arun,

check what is returned here:

function module /SAPTRX/DF_UPDATE_NET

line 51 tries to update the DF.

Check if Table /1DF/1TOR*  or /1DF/_1TOR*is generated

* stands for the client. The table should be generated for every client e.g. /1DF/1TOR001 for client 001.

Best regards,

Steffen

arun_yesodharan
Active Participant
0 Kudos

Hi Steffen,

  Yes the table is generated & has the value as follows:

Here Document Number is the freight booking order number.I will however check the return value for /SAPTRX/DF_UPDATE_NET.  

Currently the return code for FM : DF_UPDATE FROM EH is 11.

former_member190756
Active Contributor
0 Kudos

Ok,

please check which exception is raised here:

TRY.
         CALL METHOD /scmb/cl_df_docflow=>create_link
           EXPORTING
             it_document = it_document
             it_relation = it_relation.
*           IT_ATTRIBUTE     =
       CATCH /scmb/cx_df_document .
         MESSAGE e016 RAISING df_comm.
       CATCH /scmb/cx_df_relation .
         MESSAGE e016 RAISING df_comm.
       CATCH /scmb/cx_df_attribute .
         MESSAGE e016 RAISING df_comm.
     ENDTRY.


That would give a hint where the problem could be.


Best regards,

Steffen

former_member190756
Active Contributor
0 Kudos

Hi Arun,

in

Step 3: Creating Rel.Type TOR_ORDER


You link TRANS_ORD to TRANS_ORD. You must link it it to another role type.

Best regards,

Steffen

arun_yesodharan
Active Participant
0 Kudos

Hi Steffen ,

   I want to display only the freight booking order in the document flow & no other documents.In this case how shall i link it then.

Can you elaborate this configuration node a little. i.e Step 3,Should i link it with event handler/AOID/Tracking ID etc , by creating another role ?

Former Member
0 Kudos

Hi Arun,

1. Go to this table /SAPTRX/EH_HDR and check the field DF_EXIST equal to "X" for event handler. If yes, then it will display.  If not then it will not display.  

2. Run tcode /SAPTRX/UCCF or report /SAPTRX/UCPD_UPDATE - To update configuration again.

3. Go to this help link Creation and Updating of a Network - Monitoring and Evaluating Processes - SAP Library and follow steps of activities perform while creating event handler.

Regards


GGOPII