SD_SHIPMENT_PROCESS
Hello All,
Our problems is that we have a custom program that uses function SD_SHIPMENT_PROCESS and this fails when we execute it in background, because the dangerous goods pop up arises and nobody can give any answer to the pop up in background.
We would need a function/BAPI that we could use instead of SD_SHIPMENT_PROCESS in 4.6C (to use it in background), but we dont find anyone.
Could someone of you help us please? we would really appreciate it,
Thanks a lot
Hi,
In source code, check if in function call has EXCEPTIONS parameter. If not, try use it.
Similar Messages
-
SD_SHIPMENT_PROCESS FM in Background execution
Hello All,
I am calling the FM SD_SHIPMENT_PROCESS in background mode to update the Shipment Start date and also for PGI.
Shipment start date gets updated but the program errors out during PGI due to following error:
Error during conversion of unit of measure; UoM is missing AMT-> 70002201 0000008234
I know why this error is coming.
My question is the background job gets canceled when the above error is thrown by FM even though FM has a E_LOGFILE importing parameter. I do not want the ERROR to cancel the background job. It should keep on going.
Any Hints would be useful.
Regards,
Sridhar Karra.Hi,
In source code, check if in function call has EXCEPTIONS parameter. If not, try use it. -
How to use SD_SHIPMENT_PROCESS to PACK deliveries into a HU?
We are trying to duplicate the functionality behind the "Pack" button in the shipping document (vt03n) using the SD_SHIPMENT_PROCESS function module to associate deliveries to a handling unit. Has anyone had experience with which structure need to be filled and passed to this function module. Any source of good documentation on this SD_SHIPMENT PROCESS FM?
Hello Martin Rainer.
If you are experienced in packing, please check out this thread. It drives me wild.
The specified item was not found.
Re: SD_SHIPMENT_PROCESS Reassign HUs -
Help required regarding user exit for STPSHH01 IDOC
Need help regarding user exit.
I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
The functional module is IDOC_INPUT_SHIPPL
and there is a CALL CUSTOMER-FUNCTION '012'
this will take us to function module EXIT_SAPLV56I_012
This includes ZXV56U08
Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCSTHi,
use this FM to update ur shipment
variables
DATA: lo_tp_g_tra TYPE v56e_shipment_activities, "Data to modify
lo_tp_g_shp TYPE v56e_shipment,
lo_tp_g_log TYPE v56e_logfile, " Errors function
call the function to modify shipments
CALL FUNCTION 'SD_SHIPMENT_PROCESS'
IMPORTING
e_logfile = lo_tp_g_log
CHANGING
c_activities = lo_tp_g_tra
c_shipment = lo_tp_g_shp
EXCEPTIONS
error = 1
OTHERS = 2.
Thanks,
Sendil. -
Help required regarding AR module, XML and flex builder3
I need some help regarding flex project in flex builder3.
I am working on flash based augemented reality using flex builder3. I want to develop a module for a boutique using which user can try on different dresses. I want to build this module in such a way that camera gets loaded at one side(left) of the window with a TileList (displaying list of images with their prices) on the right side of the window.
In order to populate the TileList i'm using HTTPservice to dyanamically load xml (xml->containing dress images along with prices). This part is working fine i.e. when i run this project, xml content gets loaded in TileList.
My problem is when I copy the swf file of my project along with resource files somewhere else and then launch that swf file, it gives me an alert
that xml can't be loaded. Secondly augmented reality part(i.e. camera) doesn't load; left part of window remains blank).
I want someone to help me solve these issues.Hi,
use this FM to update ur shipment
variables
DATA: lo_tp_g_tra TYPE v56e_shipment_activities, "Data to modify
lo_tp_g_shp TYPE v56e_shipment,
lo_tp_g_log TYPE v56e_logfile, " Errors function
call the function to modify shipments
CALL FUNCTION 'SD_SHIPMENT_PROCESS'
IMPORTING
e_logfile = lo_tp_g_log
CHANGING
c_activities = lo_tp_g_tra
c_shipment = lo_tp_g_shp
EXCEPTIONS
error = 1
OTHERS = 2.
Thanks,
Sendil. -
Segment E1ADRM4 in idoc SHPMNT05 only allows 10 partners
We have to post an extension of Idoc type SHPMNT05, with all the shipment and delivery information. For a concrete shipment, we have 15 different partners. However, segment E1ADRM4 doesn't allow more than 10 iterations. Why the system only allows to post 10 partners? Will we need to implement a new Z-segment to post the rest of the partners or do you know any other alternative solution?
Thanks in advance.Hi Carlos,
We encountered similar issue on another IDoc type, based on which I will suggest you to do the following.
You can go to WE30 -> SHPMNT05 IDoc double click on segment E1ADRM4 and check that it is arbitrarily defined to have a maximum number of 10 records in an IDoc. This is the reason why the system won't allow you to have more than 10 of these.
Since you can't modify this as it falls in SAP name space, what you can do is to create an extension to SHPMNT05 IDoc say ZSHPMNT05 and insert a Z1ADRM4 at the same level as E1ADRM4 below it. You can instruct the EDI / Warehouse / partner to populate and send these Z1ADRM4 segments when E1ADRM4 exceeds 10.
Inside IDOC_INPUT_SHPMNT function module you can copy the Z1ADRM4 segments as new E1ADRM4 segments and insert them below existing ones in EXIT_SAPLV55K_020 in internal table IDOC_DATA
Later in FORM shpmnt_application_process, SAP processes these segments and will call function SD_SHIPMENT_PROCESS to create the shipment. I verified that there is no limitation on number of E1ADRM4 segment that can be processed here (which again shows that the number 10 is arbitrarily chosen by SAP with the belief that it will never be exceeded!)
Subsequent to this, EXIT_SAPLV55K_022 is called. Here you can delete the extra E1ADRM4 segments that you appended, so that IDoc will not fail because of syntax check, just in case. This may or may not be required, you can check out.
You can see all the above sequence of processing in IDOC_INPUT_SHPMNT -> PERFORM SHPMNT_IDOC_PROCESS -> PERFORM shpmnt_application_process
Best regards,
Vishnu Tallapragada -
Update shipment using SHPMNT03
Hi All,
I have been looking for some help in the Logistics IDocs area.
The current inbound interface utilizes the following to perform the creation, pick (SDPICK), pack (SDPACK), status update and PGI functions:
IDOC Type: SHPMNT03
Msg Type: SHPMNT
Msg Function: SHP
Function Module: IDOC_INPUT_SHPMNT
In future, shipments will be created by this third party transportation system that the client uses. So we need this interface to do everything else but create, i.e., pick, pack, status update and PGI functions.
Is there a way to use SHPMNT03 Idoc to update shipments instead of creating shipments? If yes, what needs to be done? We do not want to change the Idoc type because its being used by a number of warehouses.
Thanks,
Jay Viswanathan.Hi,
In the given function IDOC_INPUT_SHPMNT,search for function which processes shipment (SD_SHIPMENT_PROCESS).This function internal can identify activities as create,update,delete .If before this functional call you can check IDoc data in exit (EXIT_SAPLV55K_021 )& modify it whenever you get create activity to Update activity ,it should solve your problem.
Not sure whether this is what you were looking for .
Thanks.
Mark points if helpful. -
Update shipments using SHPMNT03
Hi All,
I have been looking for some help in the Logistics IDocs area.
The current inbound interface utilizes the following to perform the creation, pick (SDPICK), pack (SDPACK), status update and PGI functions:
IDOC Type: SHPMNT03
Msg Type: SHPMNT
Msg Function: SHP
Function Module: IDOC_INPUT_SHPMNT
In future, shipments will be created by this third party transportation system that the client uses. So we need this interface to do everything else but create, i.e., pick, pack, status update and PGI functions.
Is there a way to use SHPMNT03 Idoc to update shipments instead of creating shipments? If yes, what needs to be done? We do not want to change the Idoc type because its being used by a number of warehouses.
Thanks,
Jay Viswanathan.Hi,
In the given function IDOC_INPUT_SHPMNT,search for function which processes shipment (SD_SHIPMENT_PROCESS).This function internal can identify activities as create,update,delete .If before this functional call you can check IDoc data in exit (EXIT_SAPLV55K_021 )& modify it whenever you get create activity to Update activity ,it should solve your problem.
Not sure whether this is what you were looking for .
Thanks.
Mark points if helpful. -
Getting return code as 1 for SD_SHIPMENT_PROCESS_HU
Hi All,
Could you please tell me what is the use of SD_SHIPMENT_PROCESS_HU function module.
I am debugging one standard program in that after processing this FM in SD_SHIPMENT_PROCESS Function module getting return code is 1.
Could you please tell me,what might be the reason.
Thanks in Advance.
Regards,
Rama.Hi Rama,
if you will look into the specified function module
CALL FUNCTION 'SD_SHIPMENT_PROCESS_HU'
IMPORTING
e_logfile = " v56e_logfile
CHANGING
c_activities = " v56e_shipment_activities
c_shipment = " v56e_shipment
EXCEPTIONS
ERROR = 1 "
so if you are getting returned code as 1, it means there is any error.
Maybe you are looking for
-
Help using InputMethod in Java
I would like to get the input from the user into a JTextField using a InputMethod. There are 2 JTextFields in the gui. One takes input in the native language say "Hindi" from India. and the other just takes input in english. The english one is fine.
-
No rows returned with where number_value
Hi all, Im using Oracle 10.2.0.1 on Windows 2000. I got something strange here. I have a table like: TABLE_NAME COLUMN_NAME DATA_TYPE DATA_LENGTH DATA_PRECISION DATA_SCALE TEST C
-
Average of monthly daily average adventureworks cube
I want to be able to create a calculated member which is the average of the monthly daily average. I have tried this using the adventureworks cube with the following MDX: with Member Measures.DailyAverage AS Avg ( EXISTING {[Date].[Date].[Date].Membe
-
Search in SharePoint 2013 with Oracle as external DB
hello experts... i want to create a custom search page with intellisense enable text box and button to search Oracle DB as external content. from where can i start? i googled a bit and get the following link as start up. http://lightningtools.com/bcs
-
I can't get it to come to the front to use it. How do I get it back?