on 01-22-2013 8:21 AM
Hi,
I am facing error 'Validity intervals for MOT 0001 in XXXX -> YYYY' while adding the products into the existing transportation lane using the BAPI.
But I didn't face this issue while doing the same via this transaction /SAPAPO/SCC_TL1. Kindly help me on this.
Kind Regards
Rayudu
Hi, Please check whether note 1731951 and 1772471 help here.
Also, note 1792618 should be applied.
Best Regards,
Ada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rayudu,
Try with this date format: 20120122000000 to 99990101235959.
Thanks, Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Marius,
Thanks for your reply. I have tries the same, but didn't work out. Let me explain my issue with example.
Step1: TR Lane XXXX -> YYYY created with below details
Means of transport: 0001
From date: 20120122000000 To date: 20120131235959
Product: A00001 with the same dates
Result: TR Lane Successfully created
Step2: TR Lane XXXX -> YYYY changed with below details
This time I am not passing Means of transport details
Product: B00001 with the same means transport (Adding the product)
From date: 20120125000000 To date: 20120131235959 (or different dates)
Result: MOT date overlap issue is coming
Debug Analysis: It is reading the MOT details from database and comparing the dates.
I hoe you understand my issue. Please share me, if you have any solution for this.
Thanks for your time.
Regards
Rayudu
Hi Rayudu,
Try without dates!
Maybe with this program FUNCTION_LOADER_INLAY you will have more details. You have details information here http://scn.sap.com/thread/3202687.
Thanks, Marius
Hi Rayudu,
Can you confirm if the 'Start Date' and 'End Date' specified in 'Product Specific Transportation Lane' and 'Means of Transport' are the same in /SAPAPO/SCC_TL1.
Regards,
SG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Srinivas,
Thanks for your reply.
Issue: Adding the products into the existing transportation lane
I have tried with the same dates in Means of transport and Product-spec means of transport via /SAPAPO/SCC_TL1. But no issues, transportation lane changed successfully.
If I try the same via BAPI, getting issue.
Thanks
Rayudu
Dear Srinivas,
Could you please check the below?
Creation
CALL FUNCTION 'BAPI_TRLSRVAPS_SAVEMULTI2'
EXPORTING
logical_system = g_logsys
commit_control = 'E'
TABLES
transportation_lane = gt_trlane
transportation_lane_x = gt_trlanex
product_procurement = gt_prod_pr
product_procurement_x = gt_prod_prx
means_of_transport = gt_trmot
means_of_transport_x = gt_trmotx
prod_proc_means_of_transport = gt_prod_prmot
prod_proc_means_of_transport_x = gt_prod_prmotx
return = lt_return.
Change
CALL FUNCTION 'BAPI_TRLSRVAPS_SAVEMULTI2'
EXPORTING
logical_system = g_logsys
commit_control = 'E'
TABLES
product_procurement = gt_prod_pr
product_procurement_x = gt_prod_prx
prod_proc_means_of_transport = gt_prod_prmot
prod_proc_means_of_transport_x = gt_prod_prmotx
return = lt_return.
Thanks
Rayudu
User | Count |
---|---|
9 | |
4 | |
3 | |
3 | |
2 | |
2 | |
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.