Sales order creation - data stored in which tables for customer
Hi experts,
During sales order creation, data entered during sales process is stored in various related tables. Can anyone list the tables where data is stored for customers?
Thank you
Dear Manisha
Once you saved the sale order,
- all header datas are stored in VBAK
- all item level datas are stored in VBAP
- schedule line confirmation in VBEP
- all condition types and values are stored in KONV / KONP
- Partner functions in VBPA
- Delivery related fields like Shipping Point, Delivery Date, Goods Issue etc., are all in VEPVG
thanks
G. Lakshmipathi
Similar Messages
-
How to fetch post goods issue date and sales order creation date
Hi All,
How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
Please let me know the solution .
Thanks in advance.Hi,
Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
after saving ur sales order...when u raise the Delivery using VL01n w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
You can the fetch the values using tables- Use T code SE12 or SE16
Vbak-----order header
Vbap-----order item
Vbek-----order schedule line
Likp-----Delivery header
Lips----Delivery item -
Hi All,
I see that the sales order creation date in VBAK is suppose 2009.06.16 and in VA03 if i see th document flow the date is 2009.06.15. and quatation date is also 2009.06.15.
Which date is the correct Sales order date.If va03 one is correct what is the source table of this date?
PLease commnet .
Thanks in advance,
SwatiHi ,
Let me know in which field you are looking into in VBAK table
Please let me know if you still need any help.
Thanks and regards,
Rajeshwar. -
Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP
Hi Friends
How to find Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP.
Thanks in Advance.
SRHi
If the idoc is managed by message, the link are stored in GOS (Obeject Service)
U can try to use the function module NREL_GET_NEIGHBOURHOOD
If you put
IS_OBJECT-OBJKEY = <sales document>
IS_OBJECT-OBJTYPE = <business object> (I think BUS2032)
the function returns the idoc
or if you put
IS_OBJECT-OBJKEY = <idoc number>
IS_OBJECT-OBJTYPE = <business object> (I think IDOC)
the function returns the sales order
You can investigate that function module in order to find out the tables
Max -
Delivery date and sales order creation date
Dear all
Can you please explain the relation between delivery date and sales order date. In my case i can create delivery with delivery date as before the sales order date... how it is possible that i can create delivery before the sales order date.??
Please explain.........
Warm Regards
Inder PalHi,
Sales order date: Date on which the customer officially places an order to your company.
All the commitment and product allocation counting starts with reference to this date.
e.g. customer says that the goods are required from 20 days of placing order, then from this date the calculation starts.
Delivery date: Date on which after the system goes through material availability date, replenishment time, calculates the date on which physically the goods can be delivered to the customer.
e.g. customer orders 100 qty of material X in 15 days, you will hve to check this delivery date through availability check which can be done in sales order and also delivery.
payment date is based on this delivery date.
regards,
Siddharth. -
Sale Order Item Level Text Field which table and field
Hi,
Thanks for your prompt reply and best solution.
Can you please tell me one more thing, in sale order at item level the TEXT Field maintaining by user at transaction level now they want that field in one of the report, so can you please tell what is the table and field where i will get this sale order item level text details.Hello,
is this going to work for item level text as well.
can you tell how to proceed with this functional module
or is there any other thing required.Please elaborate to
understand better way.
You can check out two table in respect to Sales TEXT i.e. STXH (STXD SAPscript text file header) and STXL(SAPscript text file lines).
The best approach of tracing out the Text in respect to Sales Order would be to use the Function module READ_TEXT and put this FM in SE37 and execute with the following parameter.
Client
Text ID of text to be read
Language of text to be read
Name of text to be read
Object of text to be read
Archive handle
Text catalog local
When you are essentially looking to read item level Text with respect to Sales Order then your Text OBject would be VBBP.
Regards,
Sarthak -
Sales Order Creation using LSMW IDOC method.. ( Custome Interface)
Hi ABAP'rs,
Please provide me LSMW steps for creating Sales Order using IDOC method.
Thanks and Regards,
Param.LSMW-IDOC in General
LSMW Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
Advantages of LSMW:
Most of the functions are within R/3, hence platform independence.
Quality and data consistency due to standard import techniques.
Data mapping and conversion rules are reusable across projects.
A variety of technical possibilities of data conversion.
Generation of the conversion program on the basis of defined rules
Interface for data in spreadsheet format.
Creation of data migration objects on the basis of recorded transactions.
Charge-free for SAP customers and partners.
Working With LSMW:
Use TCODE LSMW
Objects of LSMW:
Project ID with max of 10 char to Name the data transfer project.
Subproject Used as further structuring attribute.
Object ID with max of 10 Characters, to name the Business object .
Project can have multiple sub projects and subprojects can have multiple objects.
Project documentation displays any documentation maintained for individual pop ups and processing steps
User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
Object type and import techniques:
Standard Batch / Direct input.
Batch Input Recording
o If no standard programs available
o To reduce number of target fields.
o Only for fixed screen sequence.
BAPI
IDOC
o Settings and preparations needed for each project
Preparations for IDOC inbound processing:
Choose settings -> IDOC inbound processing in LSMW
Set up File port for file transfer, create port using WE21.
Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
Setup partner type (SAP recommended US) using WE44.
Maintain partner number using WE20.
Activate IDOC inbound processing.
Verify workflow customizing.
Steps in creating LSMW Project:
Maintain attributes choose the import method.
Maintain source structure/s with or without hierarchical relations. (Header, Detail)
Maintain source fields for the source structures. Possible field types C,N,X, date, amount and packed filed with decimal places.
Fields can be maintained individually or in table form or copy from other sources using upload from a text file
Maintain relationship between source and target structures.
Maintain Field mapping and conversion rules
For each Target field the following information is displayed:
o Field description
o Assigned source fields (if any)
o Rule type (fixed value, translation etc.)
o Coding.
o Some fields are preset by the system & are marked with Default setting.
Maintain Fixed values, translations, user defined routines Here reusable rules can be processed like assigning fixed values, translation definition etc.
Specify Files
o Legacy data location on PC / application server
o File for read data ( extension .lsm.read)
o File for converted data (extension .lsm.conv)
Assign Files to defined source structures
Read data Can process all the data or part of data by specifying from / to transaction numbers.
Display read data To verify the input data being read
Convert Data Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
Display converted data To verify the converted data
Import Data Based on the object type selected
Standard Batch input or Recording
o Generate Batch input session
o Run Batch input session
Standard Direct input session
o Direct input program or direct input transaction is called
BAPI / IDOC Technique:
IDOC creation
o Information packages from the converted data are stored on R/3 Database.
o system assigns a number to every IDOC.
o The file of converted data is deleted.
IDOC processing
o IDOCS created are posted to the corresponding application program.
o Application program checks data and posts in the application database.
Finally Transport LSMW Projects:
R/3 Transport system
o Extras ->Create change request
o Change request can be exported/imported using CTS
Export Project
o Select / Deselect part / entire project & export to another R/3 system
Import Project
o Exported mapping / rules can be imported through PC file
o Existing Project data gets overwritten
o Prevent overwriting by using
Import under different name
Presetting for Inbound IDOC processing not transportable.
Reward if useful.
regards
santhosh reddy -
Sales Order Unable to Use New Condition Tables for Tax Condition Type
Dear All,
I am currently working on SAP R/3 4.0. I have a new requirement for my tax where I need to create new condition tables other than the 4 standard SAP tables which are Customer/Material, Division/Customer, Departure Country/Destination Country, Domestic Taxes and Export Taxes. My new tables consists of Departure Country/Destination Country/Shipping Point/Tax Code. The requirement is that the tax code is based on the chosen destination country and shipping point. The problem I am facing now is that no matter what types of table I create or even I generate with reference to the standard table, the access sequence will only refer to the 4 standard SAP tables above. Even if I put my own table in the highest priority for the access sequence, the same thing happens. My sales order will only pick up date from the standard table.
I wonder if anyone encountered the same problem as me.
Kindly advise.
Thank you.
Regards,
YvonneHi
Yvonne
I suggest fist check a simple thing ,whether u have successfully determined shipping point for each line item ,it is possible that just adding a line item will not trigger shipping point determination . So after u update the shipping point on line level u can rerun pricing and check agian if u r getting it .
Secondly for tax purposes I suggest Try to have Customer and material tax classification approach this allows to u have long term flexibiliy and also reduces your maintenance activity . As if u change or add number of shipping points and business changes using the sequence of shipping point ,the logic of just using shipping point will not work.
In Tax classification u cna add new condition table for each new tax category and use it in different access sequences.
This information can be passed on to FI using Different Tax code for Different combination.
I hope this helps
Regards
Mandar -
Sales order Creation when a PO is saved for a particular PO type
Hi.......
Can any one give me some idea and sort of sample code which will generate a SO when someone would save PO of a particular type ?
Thanks is advance ...............Hey,
You could use workflow to automatically create a Sales order when a PO is saved.
-Kiran
*Please mark useful answers -
Sales Order creation/ change date for the items
I have a unique scenario and i need to get a Report for this
A sales order is created for 4 line items.
Out of these , for 2 line items a delivery is created. I need the sales order creation date and time for these 2 items in a custom report
Now the other 2 items go in to some kind of block- Now these are released by going in the sales order VA02 and after releasing the delivery is created. Again for these two items , i need the sales order change date as after a user goes and changes the sales order to remove the block only then delivery is created for these two items
Also another scenario is the 2 line items go for back order and when we get stock at tht time system confirms the stock and then the delivery is created for these. So also for this when this change occured i need to get the date for these 2 line items
Can any one please suggest how to get this data from the scenarios?
I dont want to get the date when the delivery is created as i can get tht from the LIKP table. I need the sales order create and change dates for these.You may be aware, any changes to a document will be recorded in CDHDR (for header changes) and CDPOS (for item changes). You can explore these two tables.
thanks
G. Lakshmipathi -
Sales orders flow - dates difference
Dear All,
I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
Base on this, i'm wondering how can i model this scenario...
Do you have any suggestion?
Thanks in advance and best regards,
NunoHi,
I need to build a model for a report which needs to have the days difference between the
Sales order creation date,
Delivery date,
Goods issue date ,
Billing date.
In your question you didn't mension what differences you need
Eg:
Sales order creation date - Delivery date
Goods issue date - Billing date
Sales order creation date - Billing date
Delivery date - Goods issue date
Like what combination you need?.
Steps:
Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
Calculating the Ageing of the Materials
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Thanks
Reddy -
Sales order created date for Quotation
Hi Experts,
Need your advice,
I need to create report, my requirement is below,
Quatations, Quatation created date, First sales order created date.
so for this, I've created new Infoobject ZSODATE, ZREFDOCNUMBER which will bring date for sales orders
logic used :
Doc Type : ZPRO (sales orders) and ZPRQ (quatations)
so ZREFDOCNUMBER will have all document number of DOC TYPE = ZPRQ & ZPRO
For Eg.
Quatation = 200001 created on 20/07/2010.
sales order created under quatation 20001 is 53 on 22/07/2010.
Now I need a report like this
Quatation = 200001
Created on = 20/07/2010
First Sales order created = 22/07/2010.
but my out put is
Quatation Created date First sales order created
200001 22/07/2010 22/07/2010
20/07/2010 x
Note I've created formula variables for created date and first sales order created.
Thanks in Advance
Regards,
RaghavHi,
Are you having Autation creation date and Sales order creation date in seperate filed?
If yes then Just put the global filters on document type as per need.
Display all required four fileds in report.
I hope it will help.
Thanks,
S -
Sales Order Creation with reference to Contract
Hi all ,
Existing Setup in the System:
1) I have a contract created with a validity period of 30 days. When i create sales order with reference to contract, then i get a pop-up box, from the box i can select my contract.
2) I have a Lead time configured as 5 days for the Sales document type , I,e when I create sales order I can see my Requested delivery date is always system date + 5 days.
3) I have a Pricing date configured as Todays date. Therefore when I create sales order I can see pricing date becomes the system date.
Execution of Sales Order:
4) When I create Sales Order with reference to contract document. Always Requested Delivery date is compared with Contract Validity Dates.
Example: Contract Validity 01/03/2008 - 31/03/2008
Sales Order: Sales Order Creation date -> 19/03/2008, Pricing Date: 19/03/2008 Requested delivery date 24/03/2008.
REQUIREMENT IS:
But my requirement is when i create Sales Order it should consider System date or Pricing Date( since pricing date is today date) for to compare with contract validity dates.
Can it be done with standard config or do we need to some type of custom? Appreciate your help
ThanksHi ,
As said when I create Sales Order with reference to contract document. Always Requested Delivery date on Sales Order is checked against Contract Validity Dates.
But i want Pricing date in Sales Order should be checked against Contract Validity Dates.
Can someone suggest me on this? -
Hi Gurus,
I want to know the sales order closing date field name with table name can you plz help me
out ..
Regards,
Mano.Hi,
The Sale order don't have closing date field, are you talking about valid to field in Contract. If yes then the table is VBAK & field name GUEEN while for quotation the field name is BNDDT.
You check the field values through transaction SE16.
Thanks -
Replacing Profit Center value while sales order creation process - VA01
Hi,
Profit Center replacement in Tcode VA01 and VA02
I want to replace the profit center value (COBL- PRCTR) in Account assignment TAB in sales order creation time VA01 and VA02 by using custom logic (Line item Material Group and Sales District VBKD-BZIRK).
Can anyone tell me what exit or BADI I can use for this ( I tried some of them and not working properly).
1. In Exit I need to have the value of Sales District VBKD-BZIRK and Line item u2013 Material Value - These 2 field values I need in the exit.
Thanks in advance.
Rajesh.What do you mean this is not correct user exit. That is an include and there are user exits within that include.
Have you tried save document prepare? If yes, what have you done?
Don't just blindly say 'that is not correct' or don't expect someone code for you. You better try in different way and learn how to do it. I just got it worked in my system just in 5 minutes in debug.
You are not going to change COBL-PRCTR but you should change XVBAP-PRCTR.
put a break point in userexit_save_document_prepare in include MV45AFZZ
Loop through XVBAP and change PRCTR as per your logic.... This changed PRCTR carried till end (billing document/accounting document). I can see the profit center document with changed profit center.
Good luck... if that solves. Mark this thread appropriately.
Most importantly, you better close your previous threads if they are answered. if you solved by yourself post the solution so that others can benefit from that.
@moderator, please check this guy posts
Edited by: Sampath Kumar on Apr 28, 2011 1:16 PM
Maybe you are looking for
-
Crystal Enterprise 10 compatibility with Windows VISTA
Post Author: MikeMe CA Forum: Upgrading and Licensing HI, Crystal report 10 is currently supported on Windows Vista?
-
I would like to install some free apps.
i understand that there are free applications eg like games etc which are available and can be installed on iphone 4. how do i go about the same once i find some application i need.
-
Hi Partner, I got an error as per title above when I'm sharing the powerpoint presentation within Internal. Below are the detail of our new deployment : - 3 SQL Servers, 3 Front End Servers, 2 Web App Servers. - Lync 2013 Enterprise Edition Below are
-
OC4J 10.1.2 starting problem
Hi I have installed oc4j 10.1.2 version.Though the port seems to be 8888 in http-web-site,i am unable to access using http://host:8888/ though oc4j instance is initialized. Thanks in advance. Regards raju
-
I replaced my Dell laptop with a MacBook Pro and will eventually replace my PC with an iMac. I deactivated the Windows version of PSE/8 I had on the Dell and am keeping the Windows version active on my PC. In the mean time, I want to purchase a cop