Data in VA01
Dear guru's,
once we save the sale order(VA01) with perticular document Type and sales area, Then when i try to create another sale order(VA01) the same details (document Type and sales area) are appering as a default with which i have created previous sale order. i don't want this to happen. kindly help.
Regards,
Siddu
Hello,
That is normal only. It is coming because the history is on in the GUI settings.
1) Go to the 'Customising local layout button' from easy access screen ( Last icon in the header menu bar ... like TV)
2) Click that ans go to 'options' --> Local data --> History.
You can clear the history / on and off history / set the expiration ...etc...
Prase
Similar Messages
-
Disable Organizational Data in VA01 Screen
Dear all,
Is there any way to disable the organizational data in VA01 from being populated automatically?
The organizational data (Sales Area, Sales Office, Sales Group) will be populated based on the entries of the respective fields in a previous transaction. For example, when user runs a report and enters Sales Office X as a search criteria, the next time he/she runs VA01, Sales Office X will be populated in VA01. The issue here is that a lot of our SOs' sales office have been wrongly assigned, and causing reporting discrepancy.
The users have already been informed to take extra care when creating SOs in the future, however I'm wondering if is there any way to prevent this from happening in SAP? Or is there a workaround recommended? I have searched around but haven't come to much.
Hopefully somebody could guide me. Thanks!
Regards,
XienHi Xien
Let's say in the initial screen of VA01, you enter the sales order type. Then under the organizational data box, you enter a sales office. Then when you insert the sold-to party later, even though the sales office assigned to the customer is different from what you entered previously, the system will still retain the sales office and will not pick up from the master data.
FOr your requirement, you can user USEREXIT_SAVE_DOCUMENT, such that before save the sales order, program will check for sales office and parameters enter in sales order with that of customer master. If customer master data is not reflecting in sales order then replce it or display error message, as per your requirement.
try and revert -
I am posting data for va01 and va02 using BDC session,what happens if
Hi,
I am posting some data for va01 and va02 using BDC session,but what happens if i try to post same data using call transaction.Hi,
That is just another method. You can post the data using Call Transaction as well.
Just give it a try and in case you face some problem revert back with your issue.
We will help you to solve the same.
Hope this helps!!!
Regards,
Lalit -
Error While entering data in VA01
Hi,
I get the following error while entering data for "Plant" in Sales order creation (VA01). Can anyone please tell me how to solve this problem.
Runtime Errors SAPSQL_INVALID_TABLENAME
Except. CX_SY_DYNAMIC_OSQL_SEMANTICS
Date and Time 27.04.2009 12:57:13
Short dump has not been completely stored (too big)
Short text
A table name, specified in an SQL command, is unknown.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLV61Z" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
not caught in
procedure "SEL_KONDTAB" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An invalid table name "A996" was specified in an Open SQL command:
Due to one of the following reasons, the error occurs only at runtime:
- the table name was specified dynamically, or
- the SELECT clause, WHERE clause, GROUP-BY clause, HAVING clause, or
ORDER-BY clause was specified dynamically.
Missing RAISING Clause in Interface
Program SAPLV61Z
Include LV61ZU01
Row 260
Module type (FORM)
Module Name SEL_KONDTAB
Trigger Location of Exception
Program SAPLV61Z
Include LV61ZU01
Row 724
Module type (FORM)
Module Name SEL_KONDTAB
Source Code Extract
Line SourceCde
694 and kschl = se_kschl
695 and datbi >= se_date
696 and datab <= se_date
697 and (coding_tab).
698 endif.
699 endif.
700 else.
701 if t681-ksdat is initial.
702 if not <entrytab> is assigned.
703 select * from (t681-kotab) appending table <cond_tab>
704 where kappl = se_kappl
705 and kschl = se_kschl
706 and (coding_tab).
707 else.
708 select * from (t681-kotab) appending table <cond_tab>
709 for all entries in <entrytab>
710 where kappl = se_kappl
711 and kschl = se_kschl
712 and (coding_tab).
713 endif.
714 h_subrc = sy-subrc.
715 if select_split ne 0.
716 modify coding_tab from coding_alter index select_split.
717 select * from (t681-kotab) appending table <cond_tab>
718 where kappl = se_kappl
719 and kschl = se_kschl
720 and (coding_tab).
721 endif.
722 else.
723 if not <entrytab> is assigned.
>>>>> select * from (t681-kotab) appending table <cond_tab>
725 where kappl = se_kappl
726 and kschl = se_kschl
727 and datbi >= se_date
728 and datab <= se_date
729 and (coding_tab).
730 else.
731 select * from (t681-kotab) appending table <cond_tab>
732 for all entries in <entrytab>
733 where kappl = se_kappl
734 and kschl = se_kschl
735 and datbi >= se_date
736 and datab <= se_date
737 and (coding_tab).
738 endif.
739 h_subrc = sy-subrc.
740 if select_split ne 0.
741 modify coding_tab from coding_alter index select_split.
742 select * from (t681-kotab) appending table <cond_tab>
743 where kappl = se_kappl
Thank you in advance....
Regards,
Sriram.An invalid table name "A996" was specified
in an Open SQL command
Find out the transport request pertaining to Table A996 and ensure that both that request and the configuration request pertaining to that table are moved simultaneously.
thanks
G. Lakshmipathi -
Pricing date and billing date in va01 transaction
Dear all,
step 1: we have sales order of order type IEL1 in our sap system
step 2: then we do have order type IELB which is called billing request . this is created in va01 transaction against IEL1 sales order type. now here billing document is created.
at the time creation of billing request (order type IELB) we get data flown in from sales order of type (IEL1).
now my requirement is that pricing date and billing date needs to be today's date and not the past date which was in sales order.
please help me in getting current date at the time billing request.
what is exit or modification i have to do.
if not clear please let me know.
thanks
krishnahi,
in va01 i create a sales order of type IEL1 and as well order type IELB.
now in our process we create sales order of type IEL1.
then we create billing request of type IELB with reference to order of type IEL1.
finally we create invoice in transaction code vf01 against order type IELB.
THIS is the process we are following.
thanks
krishna -
Changing Required Delivery Date to the Existing Purchase Order date In VA01
Hi All
My requirement is while creating a sales order I want to know Is there any exit to move the PO date in Header details of VA01 to the Req Delivery Date in Sales tab or change the Req. Delivery date to the existing PO date in sales tab of VA01. And also please note that it should be triggered on save of VA01 transaction.
Thanks in advance
Shivakumarhi
Hope this helps
DTRM001 Reschedule schedule lines without a new ATP check
45A0001 Determine alternative materials for product selection
45A0002 Predefine sold-to party in sales document
45A0003 Collector for customer function modulpool MV45A
45A0004 Copy packing proposal
45E0001 Update the purchase order from the sales order
45E0002 Data transfer in procurement elements (PRreq., assembly)
45L0001 SD component supplier processing (customer enhancements)
45P0001 SD customer function for cross-company code sales
45S0001 Update sales document from configuration
45S0003 MRP-relevance for incomplete configuration
45S0004 Effectivity type in sales order
45W0001 SD Service Management: Forward Contract Data to Item
46H0001 SD Customer functions for resource-related billing
60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Regards
Atul -
How to insert export data in VA01/Va02?
Hi,
when i create a sales-order via VA01 i need to see the
Commodity Code/Import Code Number for Foreign Trade of an material-number.
This number is inserted in material-data via MM01/MM02.
When i create a delivery based on the sales-oder i can see the
Commodity Code/Import Code Number for Foreign Trade at export data.
How is it possible to see this data in the sales-oder?
Thanks.
Regards, DieterHi dieter
First of all do configuration in Foreign trade in IMG -> SPRO -> Foreign trade data .Once you configure then assign to the material By selecting the foreign trade data tab and fill the fields in that tab (foreign trade data) .
Regards
Srinath -
User Exit for changing Zterm while copying header data from VA01 to VF01
H i All,
I have a requirement where I need to copy sales order header data to invoice header data (VA01 to VF01). The field of interest to me is Payment terms(zterm). In case the customer belongs to a particular condition type grp then I have to modify the zterm in invoice header.
Kindly let me know which user exit I can make use of.Hi,
Check Exit V46H0001 SD Customer functions for resource-related billing
Also check BADI:
BADI_SD_V46H0001 - SD Customer functions for resource-related billing
Method: EXIT_SAPLV46H_003 Customer Function when Creating/Changing Header -
Change schedule line date in VA01
hi frnds,
in VA01 after giving the material number and quantity system will go to AVAILABILITY CONTROL screen. here SAP will give delivery date and confirmed qty according to quantity of first screen.
now i need to change these dates based on one field (customised field "vendor" of item level).
where i need to write the logic?
points will be rewarded for helpful answers
regards,
baluhi Krishna,
i have tried it with break point. initially it was triggering. it means after giving the material number and quantity it stopped in break point. but after giving the vendor in ADDITIONAL DATA B tab of item level, it was not stopping there.
i need to write the logic after giving the vendor, schedule line dates should modify.
Regards,
balu -
How do I access the item Schedule line date in VA01?
Hi,
I am using userexit_check_vbep to carry out some checks. I need to access the Schedule line date value (RV45A-ETDAT) but it is not available at that point. How can I read that value from the exit?
Thanks,
KrocThanks Advait,
ahhh, I asked the wrong question. Yes, xvbep is available in the userexit but my code is being called earlier in the process. This is the call sequence
VBAP_FUELLEN
VBAP-VSTEL_ERMITTELN
VBAP-ROUTE_ERMITTELN
SD_ROUTE_DETERMINATION
EXIT_SAPL0VRF_001............This is where I need to access the schedule line data
Z_CUT_OFF_TIME_CALCULATE............This is where I need to access the schedule line data
Z_CUT_OFF_DETERMINE_DATA............This is where I need to access the schedule line data
Do you know if it is available at that stage?
Thanks,
Aidan. -
Req. delivery date is taking other date than system date in va01
DEAR SAP GURUS ,
I am facing one porblem . when i am creating a sales order then in sales tab ( the very first tab ) in req. delivery date field it is picking other date than current system date . for example today (10.04.2009)
i am creating a sales order then it is showing 14 .04.2009 . but i want it should show today's date .
what is the problem and how can i resolve it in spro . i don't wish to do it by user exit or badi .
plz help me out to solve it through customization .
THANKS ,
AMIT RANJANHi,
Check these links..
the Requested delivery date is determined based on the lead time specified in the definition fo the sales document type in VOV8.
https://forums.sdn.sap.com/click.jspa?searchID=24726102&messageID=4378484
Requested delivery date not the Current Date?
Sales Order - Requested Delivey Date
Regards,
Omkaram. -
Non-editable mode for customer master data in VA01 and VA02
Hi all,
User requirement is they don't want to give permission to change customer master data (payer & ship-to ). I didn't find any user exit to do screen non-editable.
Can any one help me in this..
Regards,
SudhakaraHi Sudhakar Reddy,
For this transaction code user exits available :
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly
V45L0001 SD component supplier processing (customer enhancements
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
For ur requirement whixh exit is suitable plz check it out. other wise put breakpoint for userexit and check it out.
Rewards somr points.
Rgds,
P.Nag -
Sales Order VA01 Header data.....
Hi Experts,
I am trying to get the New field in my Header sales dats screen VA01 or VA02.
in the SALES sub screen i need to add CREDIT STATUS.
or i can say...
In VA01 sub screen (Sales) i need new field which is in (Status) sub screen CREDIT STATUS
Thanks in Advance,
Anthyodaya.Hi
This needs abapers help. you provide the table VBAK and field CMGST to abapers and tell your requirement they will do this.
I hope this user exit will be use to resolve this "USEREXIT_FIELD_MODIFICATION"
Regards
Edited by: dv s.kumar on Mar 18, 2009 12:26 PM -
User Exit /BADI for VA01 in 5.0
Hi,
I want a BADI or EXIT where I can get the sales order no for the for the sales order which is created
after saving the data in VA01.
I have checked the INCLUDE MV45AFZZ. But in none of the exit it gives sales order no.
And there are no BADI's available in this vesrion (In ECC 6.0 this BADI is there /SAPSLL/CTRL_SD0A_R3)
I am using server version 5.0.
regards
vivekHi,
Find the user exits for VA01.
SDAPO001 Activating Sourcing Subitem Quantity Propagation
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Regards,
Rajesh Kumar -
How to header and item data of sales order using bapi interface
hi friends,
i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
i need bapi function modules for header adn item data and brief explation on that , how to pass importing and tables parameters to get exact output .
regards
geetha.Use : BAPI_SALESORDER_CREATEFROMDAT2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Exceptions
Function Group
2032
Maybe you are looking for
-
Please help with reading fixed-length file
I am reading a fixed-length file from a batch program and I need to read through each line, parsing out records in each, and replacing the first character in each line after I finish processing. I am using a RandomAccessFile, but I am not sure if thi
-
Create a swing application with reflection
Hi folks, I'm seeing the possibility to create a application like eclipse wich loads the classes in a folder and builds the application , but I have a doubt, how organize the components in application , how I will add a component in a menu, how I wil
-
How to get the purchase value for a purticular price.
Hi guru's, I want to get the purchase value for some materials, in a particular plant and in a particular month. How can I get this data. waiting for replies thanks tuljasingh.
-
Call Multiple RTF for same data model
How call two templates for the same data model. what is the logic i have to use in the rtf template. Thanks in Advance
-
Centre Image Between 2 Other Images
Hi, I am a beginner to Dreamweaver and am trying to find a solution to what should be a simple problem. I want to place 3 images across a page, with one image aligned left, one image aligned right and the other image centred between the two. I am usi