Problem to create shipment using idoc
Hi,
I am having a problem on EDI-IDOCS to create inbound shipment.
I am using the message type SHIPPL.
IDOC - TPSSHT01
Process code-SHIP.
And I am using the function module IDOC_INPUT_SHIPPL to process the idoc.
After processing the idoc i am getting the error message - shipment has not saved( 51).
Also i am getting the error message - Transportation planning point has no partner for transportatn. plan.
I couldnt figure out what the error would be.
If possible can you please help me regarding this problem.
Thanks in advance.
Hi Goutham,
This is an error due to either the data or missing config. This error message is issued when the system cannot find an entry in table TTDS. Check your data and the config and make correction accordingly.
In config it is under
Logistics Execution> Transportation> Interfaces> External Trabnsportation Planning Systems> Maintain Transportation Planning Point for External Systems
or if you don't have external planning system, you will find the corresponding config under
Enterprise Structure> Logistics Execution> Maintain Transportation Planning Point.
Your message is more related to external transportation planning point which is in the first config option above.
If you don't have external transportatio planning, then your choice of the EDI components is wrong. Look in the code of this function module where this message is generated, you will understand.
Srinivas
Similar Messages
-
Problem in Creating Shipment using BAPI
Hi All,
I am using the bapi BAPI_SHIPMENT_CREATE for creating shipment for deliveries in my program.
When I schedule it in the background (i.e.SM37) the job gets cancelled when there is a dynamic credit block (Message type is E).
When I execute the program in the foreground i.e. using transaction SA38, the shipment gets created successfully.
It would be great if anyone suggest a way to overcome this issue.
Thanks.
Regards, Senthil G.hi,
Try thsi BAPi
BAPI_CUSTOMER_CREATE
Regards
Sandipan -
Problem creating basic views while creating materials using idocs?
hello,
I am facing an issue while creating materials using idocs. The problem is that the basic view does not get created whereas other views are present. The function module used is idoc_input_matma01 and the basic idoc type is MATMAS03.
Looking for help. Thank youHi Madhu,
Actually i recieve an idoc from PI containing data required for cretion of the material via an idoc. This idoc is then processed to create the required material.
The material gets created with appropiate data in various tables(mara, makt) but when we view material in mm03 we cant see the basic data views. -
Requesting all to help me how to create lsmw using idoc method
hi
thanx for ur answer
requesting every body in the forum to help me how to create lsmw using idoc method.
regards,
balajiHi Balaji,
LSMW using IDOC is similar to using flat file method. Here you are getting data from IDOC container and mapping data with Idoc segments insted of flatfile column.
Hope this is what you are looking for. If helpful then dont forget to reward me for that
Darshan -
Dear Sap Gurus,
To create shipment i had given the transportation planning point and shipment type.
the next screen i had given the shipping point , and when i give the outbound delivery number, . i try to execute it.
but the system throws the error has the mentioned delivery number is not assigned.
I am in dout wheather i have to do picking and pgi in delivery , or only picking in delivery ?
clarify and help me out please.
divyaHi Divya,
Please Refer to the note and check whther u have followed the standard process or not
Hi,
pl check this notes.
Shipments & Transportation
1) Maintain transportation planning point through Menu as follows:
IMG transportationEnterprise Structure Definition Logistic Execution Maintain planning point.
Create your own like BP01 enter the general data¡¯s required
2) Defining modes of transport:
BasicIMG Routes Logistic Execution Define modes of Transportation Transportation Functions Define routestransport
Use the standard like:
Shipping type: 01
Description: Road
3) Define shipping types :
Basic IMG Define shipping typesLogistic Execution Transportation Transportation FunctionsRoute
Or through T-code: SM30
PT: 01
Description: Truck
Mdtr: 01
STPG: 0001
4) Define transportation connecting point :
BasicRoutes IMG DefineLogistic Execution Define transportation Transportation Transportation Functions routesconnection points
Copy the std point and make it FB01 as departure zone and FB02 as destination zone
5) Define routes and stages.
BasicRoutes Define routes IMG Define Logistic Execution Transportation routes and stagesTransportation Functions
Use the standard route and copy it as FB0001 and enter the departure zone and destination as what we created.
6) Defining Transportation Zone:
IMG Define transportationLogistic Execution Transportation Basic Transportation Functions zones Route Router determination
Use the standard transportation zone depending on the route so as for the example use 0000000003 - Southern Region
7) Maintain country or transportation zone for shipping points
Route determination IMG Logistic Execution Transportation Maintain country and Basic Transportation Functions Route transportation zone for shipping point
Shipping point be ASH1 and route as 0000000003 which is assigned to country India
8) Maintain route determination:
Basic Route IMG Route determinationLogistic Execution Maintain route Transportation Transportation Functions determination
Country of departure: India
Departure Zone: 0000000003
Country of destination: India
Destination Zone: 0000000003
And enter the datas needed like shipping condition 01, etc.
Maintain Transportation relevance for shipping point, sales document type and delivery types.
9) Now create shipping types
IMG Define Logistic Execution types Transportation Shipments shipment
Copy the standard 0001 and make it to AFIL
10) Define and assign traffic zones through T-Code: T_76 (or) thru menu as follows
BasicIMG Define Logistic Execution and assign Transportation Shipments cost functions tariff zones
Copy the standard and make it to FABTARIFF and assign our transportation planning point as ATP1, ATP2 assign tariff zone to every particular transportation planning point
11) Define and assign pricing procedures
IMG define and Logistic Execution Transportation Shipments cost procedures Pricing Price control assign pricing
Copy the standard shipping cost pricing procedure SDFC00 to FBSC01
12) Assign purchasing data:
IMG Assign purchasing data Logistic Execution Transportation Shipments cost Settlement
13) Assign transportation planning point to shipping condition, purchase organization, purchasing group and to plants.
14) Define Automatic G/L account determination:
IMG Automatic G/L Account Determination Logistics Execution Transportation Shipment CostsSettlement
Or through T-code: OMWB
Use G/L account 614000 as used in standard
15) Automatic determination of CO assignments:
Transportation Shipment Costs Settlement IMG Automatic Logistics Execution Determination of CO Assignments
Or T-code: OKB9
16) Maintain shipping point address.
Logistics Execution Enterprise Structure Define, copy, delete, check shippingDefinition point
17) Creating G/L account centrally.
Financial General Ledger Master Records Accounting Accounting
Individual Processing Centrally
Or through T-Code: FS00
18) Enter the G/L account 614000 to the company code AFIL
19) Create transportation condition records:
Master data Transportation Shipment cost PricesLogistic Execution create
Or thru T-code: TK11
Enter condition type FB00 that is freight condition type, which is used as standard in the shipping cost pricing procedure.
Enter the price and save it
Process:
1. The system determines the pricing procedure for the shipment cost item-using transportation planning point, service agent and shipment cost item category
2. Calculation Basis
3. Condition Record
4. Access sequence.
For the sales order, create a delivery using VL01N and pick the goods. Now create a shipment using VT01N and assign the delivery to the shipment document. Make sure to enter the carrier and other details before performing the transportation planning and execution. Save the shipment document and PGI for the delivery would be done automatically.
A shipment represents a physical goods movement between two or more locations.
For the system to create a shipment, shipping-relevant deliveries must exist.
You use Transportation Planning to group pending deliveries into shipments and then to perform the shipments.
The outbound delivery documents contain routes that the system calculates in route determination, and a transportation planning date for the delivery.
Dynamic transportation planning is responsible for grouping together outbound deliveries into shipments that have at least the same route, visit plan type and the same transportation planning date.
The following restrictions can be taken into account for a shipment in Dynamic Transportation Planning:
Weight
Volume
Variable capacity
Number of stops
Maximum duration
Loading units
Create Shipment Document
Use
After the status of the delivery is open for transportation planning, it is possible to create a shipment document to schedule the transportation.
Single document Create Transportation Planning Transportation Logistic Execution Logistics
T.code: VT01n
Enter your transportation planning point and shipment type. Press enter.
Creating the shipment cost document
Use
After the deliveries are scheduled by shipment and the shipment is executed, now it is time to maintain and close the shipment document in order to record all relative information and ready for the shipment cost settlement.
Single document Create Shipment cost Transportation Logistic Execution Logistics
T.code: VI01.
After creation of shipment cost doc. You settle the Shipment cost.
Go to VI02, enter shipment cost no.and press enter.
Then go to Overview -- Fright cost items, Select the line item and double click it.
Go as main menu: Item --> Acc. assignment, you enter G/L acc. and cost center to which the transportation cost will be posted.
On the Standard change, details Freight cost items screen, then check the check box Transfer, which means you will transfer the relative transportation cost to FI/CO, in this case, the system should determined which Purchase Order will used to settle the cost, so after you check the Transfer check box.
Press save button on the current screen.
Shipment cost settlement and documents:
Use
After the shipment cost settled in shipment cost document, it has the following affects:
It creates a service entry sheet that refers to the purchase order determined.
It posts acceptance of services performed.
It creates an accounting document for the accruals.
Further subsequent documents are created in FI.
Create Delivery:
T.code: Vl01n
Create TO:
T.code: LT03
Create Shipment Document
Use
After the status of the delivery is open for transportation planning, it is possible to create a shipment document to schedule the transportation.
Single document Create Transportation Planning Transportation Logistic Execution Logistics
T.code: VT01n
Enter your transportation planning point and shipment type. Press enter.
Creating the shipment cost document
Use
After the deliveries are scheduled by shipment and the shipment is executed, now it is time to maintain and close the shipment document in order to record all relative information and ready for the shipment cost settlement.
Single document Create Shipment cost Transportation Logistic Execution Logistics
T.code: VI01.
After creation of shipment cost doc. You settle the Shipment cost.
Go to VI02, enter shipment cost no.and press enter.
Then go to Overview -- Fright cost items, Select the line item and double click it.
Go as main menu: Item --> Acc. assignment, you enter G/L acc. and cost center to which the transportation cost will be posted.
On the Standard change, details Freight cost items screen, then check the check box Transfer, which means you will transfer the relative transportation cost to FI/CO, in this case, the system should determined which Purchase Order will used to settle the cost, so after you check the Transfer check box.
Press save button on the current screen.
Shipment cost settlement and documents:
Use
After the shipment cost settled in shipment cost document, it has the following affects:
It creates a service entry sheet that refers to the purchase order determined.
It posts acceptance of services performed.
It creates an accounting document for the accruals.
Further subsequent documents are created in FI.
Generally process is-
1) VL01N
2) VT01
3) VL02N - PGI
4) VI01
5) ML81N Service Entry Sheet
6) MIRO Invoice Verification
Shipping docs (VT01) are created before PGI...
You cannot carry out transportation planning or creation of shipment after the goods issue has been executed. Once goods issue is done it means that the material has left your premises so there is no need for a transportation planning after it.
In case you need carry out the shipment documents at the end of the day you could just create the delivery documents during the day and at end of the day create the shipment documents and the goods issue
Hope this will help
Reward Point if helpful
thanks,
Raja -
Problem while creating PO using BAPI_PO_CREATE1
HAI TO ALL
I AM TRYING TO CREATE PO USING BAPI
ORDER IS SUCCESFULLY GENERATED, BUT THE CONDITIONS WHATEVER I PASS IS ARE REPEATING ,
EVEN WE CONFIGURED DEFAULT VALUES MAINTAINED IN TRANSCTION 'OMFI" AND MAINTAINED Default Values for Purchasing FOR PARAMETER IN PARAMETER TAB IN USER PROFILE,
HELP ME...
REGARDS,
SNHi Sid.
I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
I'm using a PR and the Category is 'Y', and I cant find where is the problem.
The tables that I'm passing to the BAPI_PO_CREATE1 are:
POITEM/ POITEMX
POACCOUNT/ POACCOUNTX
POSERVICES
POSRVACCESSVALUES
Please, if you have any idea, let me know!
Tks a lot!
Renata -
Problems when creating form using wizard
i use the data block wizard to create a form but one of my field, i use a radio button.in the layout editor, the radio button did not appear.how can i make it appear on my screen?
i have another problem.
how can i use the colunm of two tables when using data block wizard to create one data block?Hello Nicky,
You can place the "Signature Field" in the form and ask your users to sign the file before submitting it via email.
Regards,
Anoop -
Problems in creating dir using applet
hi
i'm getting various exceptions while creating a new directory
i know that an applet can not create dir directly because of some
security . But what if i want to create it using the applets only??
how to do it??
Thanx in advance
AshishTo answer your question I would need to know what stack trace comes back with.
I also need to know the set up.. Is the applet running on you personal machine and what operating system are you using.
Lee -
Problem while creating assets using BAPI
Use table enhancement BAPI_TE_ANLU
Diagnosis :The BAPIs for creating and changing assets currently support only those customer enhancements that relate to the user fields created using SAP enhancement AIST0002.
Can anybody give the appropriate solution why this error is coming while creating assets using BAPI.Looks like you are trying to transfer custom fields into the asset master data that were not added following the steps in enhancement AIST0002.
Using EXTENSIONIN parameter, you can transfer user fields from the asset master record. However, it is not possible to transfer fields that are updated in user-defined tables. Only user fields that were defined using SAP enhancement AIST0002 and are automatically updated in table ANLU can be udpated in this way. This means you have to use table extension BAPI_TE_ANLU.
Enhancement AIST0002 contains function module EXIT_SAPL1022_001 as a component in which user fields can be implemented.
The documentation ( BAPIPAREX) of the structure that forms the basis for this parameter contains additional information about using this parameter.
Please check how table ANLU has been enhanced and also go through the documentation of enhancement AIST0002.
Regards,
Shyam -
Has anyone ever tried to create a Inbound shipment ( VT01N; containing inbound deliveries) via Idoc? I have tried with message type SHPMNT and SHPADV, and Idoc type SHPMNT03.
I have tried all variations with the segments and still it gives a error message. many time, it says, Delivery 180000xx not found in shipment. Well, i am trying to create a shipment, so how can it be in shipment beforeHey,
have you found a solution for this topic?
This would be very interesting for me!
I try to generate an inbound shipment automatically. But with using SHPADV I only managed to create an outbound shipment.
So far I managed to generate automatically an inbound delivery after creating an outbound shipment manually.
Next step would be to automatically create an inbound shipment to simplify goods receiving.
Propably sombody got a solution and can give me a hint?
Thank you very much in advance!! -
Problem in Creating Table using DB Config. Assistant
Hi, everybody. I see the error messages below when I use DB Configuration Assitant in Oracle 8i to create my database :-
ORA-01034 : Oracle not available
ORA-27146 : post/wait initializtion failed
ORA-01012 : not logged on
Can u tell me how to solve this problem ?Connect as servermanager and enter on the prompt
"lsnrctl status" it will give you whether you have started the listener service and after that connect as internal and "startup" if the database is started it will give message "database instance already started" or else it will start the database.
also make sure you have created all control files properly
Nadeem -
Problem in creating DataServer using SQL2008 connection status is ERROR
HI All
I am fairly new in SAP MII , and i have been trying to create new data server using MSSQL2008 which is on my laptop(local) and i access MII in web based form. the sap MII version is 12.1.5(Build99)
this what i did
1.I have deployed JDBC 3.0 driver on system management on SAP MII
2.When creating the Data server I have done the following check below (screen dump)
Connector IDBC
ConnectorID
ConnectorType SQL
DatePrefix '
DateSuffix '
DaysRetention 7
Description mii
Enabled T
InitCommand
InternalDateFormat yyyy-MM-dd HH:mm:ss
JDBCDriver com.microsoft.sqlserver.jdbc.SQLServerDriver
MaxRetryCount 5
Name tigo2
PoolMax 100
PoolSize 1
RetryInterval 60000
ServerPackage com.sap.xmii.Illuminator.connectors.IDBC
ServerURL jdbc:sqlserver://localhost:1433;databaseName=MII
Timeout 15
UseCount 256
UserName sa
ValidationQuery SELECT GETDATE()
WaitTime 30
3. I checked the connection of my server in Management studio which works fine
checked the port , which is fine and the firewall exception changed it to except SQL SERVER PORT 1433
but i still get the connection status error: tried locating the logviewer to see what the problem is cant retrieve anything
Kindly guide me in the right path for im runnin out of ideas. I installed the JDBC driver on the laptop and made CLASSPATH to point to that folder STILL no luck.
and with regards to viewing the LOGviewer I truely have no IDea how to do that , I have tried to check on the forum nothing helped.
Edited by: Tigomezge on Jun 21, 2011 3:19 PMTigo,
You can try this,
Install SQL Server Management Studio on MII server (where MII is installed, should already have one if you have installed NW on SQL DB, if not, install one) and then try to access DB installed on your laptop from there using the IP address (not local host).
If it works fine then atleast one thing can be confirmed that your DB is accessible outside of your laptop (means no TCP/IP or port or firewall issues).
Also, When you unzip the Driver exe file (i mean install), usually you will find 2 jar files,
1) sqljdbc.jar
2) sqljdbc4.jar
Use of these jar files purely depends on the Java installed on the system. refer to this link on more details:
[Choosing Right JAR File|http://msdn.microsoft.com/en-us/library/ms378422.aspx]
Let us know how it goes
Regards,
Adarsh
Edited by: Adarsh Sidnoor on Jun 22, 2011 7:37 PM -
Problem while Creating BOM using LSMW Direct Input
Hi all ,
I am trying to create the BOM Using LSMW Direct Input Method .
I am getting problem at step 9 that is Read Data.
It is able to read the values from header and item files .
but it is not able to write , so the Written is 0 always .
I put the field names first in the flat file and correcponding values below it with tab delimited.
Please let me know where the Problem would be.... I am trying this from long time ..
Regards ,
Rajhi ,
Yes i am specify files i am attaching 2 files .
ones is header and the other is line item data .
my strucure is :
Hi ,
I am still getting problem while for writing the records after reading the data .....
my header structure :
STYPE
MATNR
WERKS
SELAL
STLAN
DATUV
ZTEXT
my item structure :
STYPE
MATNR
WERKS
SELAL
POSTP
MENGE
my header data :
STYPE MATNR WERKS SELAL STLAN DATUV ZTEXT
1 388 0110 20 1 06.01.2009 SAMPLE ZTEXT
my item data :
STYPE MATNR1 WERKS SELAL POSTP MENGE
1 388 0110 20 N 1234
1 382 0110 20 N 12345
Above text files are delimited by tabulator.
Please guide me . The files are reading but unable to write .....
Regards,
Raj -
Problem while creating queries using SQVI
Guys,
I have many diff versions of sap's. 4.6c, 4.7, 4.7uc, 5.0, 5.0uc and so on......
I have to few queries in 4.7 in SQVI, i have to make it in sync in all the othr servers.
I have created all of them in all servers, but while creating in 4.6c, when i am using option "table Join" while creating query in SQVI, the system doesnt take me to next screen.
What could be the problem. Its going to next screen when i use option "table" but not when i use "table joins".
Can v transport these queries ( i mean SQVI queries, not those in sq01 ).
Helppp..................used table view
-
Problems in creating Invoice using BAPI
Hello Friends,
I am using a BAPI BAPI_BILLINGDOC_CREATEMULTIPLE to create invoice from a sales order, but i am not able to change the payer value.
The payer is by default taken from Sales-Order, even if i change it in Payer value passed to BAPI.
Please suggest me a solution.
Sandeep.To answer your question I would need to know what stack trace comes back with.
I also need to know the set up.. Is the applet running on you personal machine and what operating system are you using.
Lee
Maybe you are looking for
-
Create Billing document automatically from the outbound delivery
Hi experts, I'm not sure my client's requirement can be implemented but i'm posting this thread just in case someone have a suitable solution. My client wloud like that billing documents (VF01) are created automatically when the outbound document (VL
-
Status Web.show_document
Dear Sir: How can I get the status of web.show_document. I need to verify if report was done correctly Thanks
-
OBI crashing when creating a view on an analysis (initially created table view works fine)
Wondering if anyone else has experienced this. It seems pretty wierd because the initial view gets created. This is what happens: I create a new analysis. Data source doesn't matter. I have tried Sample App Lite & 2 different Essbase cubes. Drop some
-
Reconnect MULTIPLE Folders to Offline Media?
In Lightroom 2.4 there is a "Find Missing Folders" command, but I've been able to use this only one folder at a time. It doesn't seem possible to reconnect a LR catalog to numerous relocated folders in a single operation. This becomes very tedious
-
Hi All, I'm pretty new to Illustrator, and I'm having a challeng with creating the look I want using 3D Revolve. The sphere is part of a logo, and needs to essentially match the color of part of the logo, but I also want it to have a smooth 3D qualit