Help ! Saving a sales order manually in VA01
Hi All,
I have a requirement to let the user's save the return sales order manually in VA01, by making some additional changes in the order like change in qty and so on..etc..
As of now the return sales order is created with reference to the sales order by using BDC and calling the transaction VA01 at the end of the program.
Ex:
CALL TRANSACTION 'VA01' USING bdcdata
MODE 'E'
UPDATE 'S'
MESSAGES INTO messtab.
REFRESH bdcdata.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
Now here since the BDCDATA table will have all the required data and we call the tcode VA01, it automatically creates a return sales order until and unless there is a error.
But my requirement is to save the return sales order manually via VA01 and it should not be created automatically even if it doesn't have any errors in it.
Could you please let me know on how to go about the same.
Would really appreciate any help on it.
Edited by: Imran on Dec 12, 2008 11:15 AM
n/a
Similar Messages
-
Different message in va01: Defect in ECC6 server while saving the sales order .
Hi ABAP gurus,
I am in to upgrade Project In ECC6 server I am getting the different message when saving the sales order in va01 compare to old sever(4.7) .
I have to make it to the same message as it is in the 4.7 server.
plz help me .
Regards,
vanamaala kashavenaHi,
IF xvbap-uepos IS INITIAL AND
xvbap-zzhrs_conf <> 'X'.
MESSAGE ID 'ZOTC' TYPE 'E' NUMBER '067' WITH
'Please select Hours Confirmed in Additional data B'(302) 'for item'(303) xvbap-posnr.
ENDIF.
this is the code in the PARTICULAR INCLUDE PROGRAM .
this is same in both the system ,but in ecc6 server,in message
popup it is not giving 'Please select Hours Confirmed in Additional data B' .
it is giving ORDER QTY FORMAT PERIOD (ITEM NUMBER(0010))
Regards,
vanamaala k -
I need a Badi that is triggered when saving Sales order in both Va01 and Va
Hi
I need a Badi that is triggered when saving Sales order in both Va01 and Va02
I tried with the following BADI's
BADI : BADI_SD_SALES
Implementation : /BEV1/SR_SALES_ORD_1
Method SAVE_DOCUMENT
Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
It is asking for Access key. Which i do not have.
Should i create a implementation and then create a method and then put my code there?
Anybody plz help.You will probably not find a BADI to suit your needs. However if you look at include program MV45AFZZ you should find two subroutines: USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT. You can put the code you need directly into these subroutines. If these have not been changed yet on your system, you will need an access key to make these changes.
Please read the documentation in the header of the subroutines for furtner information on when they are called.
Best Regards,
Chris H. -
Send Mail to Customer while saving the Sales Order
Dear Friends,
My Requirment is to send the mail to Customer automaticaly when create any Sales Order.
While sending the mail given three points reqired.
1. Send the attachment of Order Conformation along with the mail.
2. There must be The title text as "Order Confirmation refrence of your PO <Customer PO No> <PO Date>"
3. There must be some body text like some terms and conditions with variables of Order data.
Can any body help me one this step by step.
Kindly suggest me how to do this.
Thanks in Advance.
D Tarun Kumar
Moderator message : Spec dumping not allowed, duplicate post. Thread locked.
Edited by: Vinod Kumar on Jul 12, 2011 11:30 AMWhile saving the sales order through Va01 and Va02 and email has to send
-
Upon saving, assign sales order to different number range...
Hello Experts,
We have a new requirement wherein upon saving the sales order, I have to check its company code and
sales document type and if it has a record in a customized table, then I have to use another number range instead
of its default number range...
For example, the default number range for sales orders for company code 1000 with a document type of ZAOR
has a default number range of 3011000000 to 3011999999. I need to change it to 3021000000 to 3021999999.
Hope you can help me guys. Thank you and take care!A new numner range can be created via SNRO.
Also, you can use the following exit to assign this new numbe rrange to the order -> USEREXIT_NUMBER_RANGE
For more info; refer Re: User Exit No for assign a different internal document number to VA01
Neeraj -
Error while saving the Sales Order
Hi experts,
i am getting a runtime error while saving a sales order stating: SAPSQL_EMPTY_TABNAME. It says the field T681-KOTAB could be empty. I would give in more inputs. Someone plz help.
Thanks.I would expect that KOTN521 would be a Database table defined in the ABAP Dictionary that relates to the condition implemented in 521 for the usage specified in that record.
You should be able to go into the info system, SE84, and search under ABAP Dictionary / Database Tables to see what KOTN521 is.
Also, since the only Keys to T681 are KVEWE and KOTABNR, and there are two KOTABNR entries with a value of 521, then there must be two different usages (KVEWE) associated with that table.
If you see what they are, you can check to see what the usages represent. Based on a lookup, it appears that a usage of N is for Free Goods, A is for Pricing etc. In our system, we only have A entries.
What are the usages for the 521 entries? Do they relate to Free Goods/Pricing???
Does the table KOTN521 exist in the ABAP Dictionary?
Answering these questions may get you closer to the answer.
Can you compare the values in these entries to what you have in different SIDs?
Is this problem happening in Production, or is it still in a development or Quality Assurance client?
If it is still in development or Q, then it may be that a recent customization change was made.
Compare the entries across your systems, if possible.
Good luck
Brian -
RunTime Error while saving a Sales Order
Hi All,
When i am saving a Sales Order, the system is throwing a Runtime Error.
The ABAP Code in the Runtime Error screen as follows.
select * from (t681-kotab) appending table <cond_tab>
up to 1 rows
where kappl = se_kappl
and kschl = se_kschl
and datbi >= se_date
and datab <= se_date
and (coding_tab).
Till these days, there was no such error while saving a Sales Order.
How to resolve this issue?
Regards
PavanHi,
The below piece of code is trying to get the contents of the table mentioned in T681-KOTAB.
select * from (t681-kotab) appending table <cond_tab>
up to 1 rows
where kappl = se_kappl
and kschl = se_kschl
and datbi >= se_date
and datab <= se_date
and (coding_tab).
The reason could be is someone has screwed up the entries in T681 table. Check that out.
Try to put a break point on this SELECT query and see what the value of T681-KOTAB holds before the SELECT query. Check whether such a table entry exists in DB.
Let me know if you are still stuck up.
If you can send me the ST22 dump of the run time error, i might be able to help you more on this.
Hope this helps.
Thanks,
Balaji -
Error while saving a Sales Order in the CRM Mobile Application
Hi,
I am facing issues while saving a Sales Order in the CRM Mobile Application. I am getting the error message "Value Field KvLangu is not valid (Error: 236 / 1102)".
I would be very grateful if somebody had faced this issue before and this way could help me with some information.
Best Regards,
Rogerio Prado.Hi Rogerio,
You should put mobile sales related messages in the forum "CRM Mobile applications"
This error message is coming because the language table SMOT002 might be empty in your mobile client OR it does not have all the values which have been customized in the system.
You need to have subscription based on publication "customizing objects" assigned to your site.
Regards
Vivek -
Error while Saving Service Sales order.
Hi..
Please help me for resolving below error..
While saving service sales order error is coming as-
Invalid account assignment category...
Detailed Error-
"Assign components to a/c assignment category & Account Assigmnet Category not defined.
In customisining a/c assgnment cate for ser & mainta order .In standard define the following values for the order category 30.A/c Asd type general F,
A/c *** type Project Q,A/c assigment type Sales Order E,Sales Doc Project D".
Awaiting for your inputs....
Thanks
Manoj MahajanHi Manoj,
Account Key assigned to the pricing condition hasn't been configured completely.
Please check the appropriate account key and speak to your FI team.
Pl award me points if it is helpful.
Let me know if you need more details.
Thanks,
Ramesh -
How to make all fields mandatory in sales order T- code VA01 initial screen
Dear all,
how to make all fields mandatory in sales order T- code VA01 initial screen itself
The fields are
Sales Organization
Distribution Channel
Division
Sales Office
Sales Group
Regards,
Amar ReddyHi,
You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
[Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
Regards,
Phani Prasad -
In Sales Order form populate charges field after saving the Sales Order
Can we populate Charges field in Sales Order form after saving the sales Order automatically.
The charges to be calculated based on the amount entered and the item selected in Sales Order.
In the Manual process it is done by hitting the Actions Button and then select the Charges.
The charge type would be "Freight Costs"by using process_order API, I am able to update the charges field.
-
hi gurus
i am going through a scenario where i need to restrict saving of sales order if there is no materials in the stock, as the normal process the sales order gets saved even if there is no stock. so the point is no sales order should be saved if there is no stock in the plant. how to do that?
regards
subhrangshuHi
This is possible through simple configuration
If you want the sales order should not get saved if the confirmed qty for a line item is 0 that is no stock
Then in the incompletion procedure for schedule line category
add the field BMNEG ( confirmed qty ) from the table VBEP
That is your schedule line incompletion procedure that is 30 or 31 add this add the field BMNEG from the table VBEP
Assign this in completion procedure to your schedule line category
More orver for your order type config VOV8 check the tick box incomplete messages in the transaction flow tab
With this settings when a sales order has a line item with confirmed qty is 0 then system considers this order as incomplete and will not save the order
Pls update me whether this input has helped you
Your requirement is also possible through plenty of userexits but i request you to handle it through configuration
Regards
Raja -
Ps assembly processing:WBS have not be created when saving the sales order
In the ps assembly processing, I want to generate a network when I create a sales order. So I did the following steps:
1-Use the TCODE cj91 to create a standard WBS "E-000007.1".
2-Use the TCODE cn01 to create a standard network "10000000" and assign the standard WBS "E-000007.1" to it.
3-Use the TCODE cn08 to config the Network Parameters from Sales Order like below:
Material number : 600000-000000-0009
Order Type : Z301
Std network : 10000000
Class Type : 020
Network Profile : Z0001
MRP Controller : 001
Std WBS element : E-000007.1
4-Use the TCODE va01 to create a sales order and add an item with the material "600000-000000-0009" and save.
When the SAP R/3 System is saving the sales order, a WBS ought to be created u2013 based on the assignment of the standard network to the standard project.But I could not found the WBS.I thought I have do all of steps and could not found the reason.
So I need the experts give me some useful advice and reference to resolve the problem.Thank you.
Regards
YodaHi,
Maintain strategy group in material master MRP tab....
If problem still persist then check is there any credit block to that customer...if it is release it in VKM3....
Once you release it will create automatically.
Regards -
User Exit or BADI on saving of Sales order cost estimate (CK51N)
Hi,
Can any one share with me what are the User Exit or BADI that gets triggered on saving of Sales order cost estimate (CK51N).
Regards,
BijayHi
Check the link
Need Enhancement Spot or BADI for transaction ck51n
Regards
Sanil -
Inserting Pricing condition in Sales order when saving the sales order
Dear ABAPers,
My customers requirement is when saving the sales order new pricing condition has to be updated in the line item.for this i am using the User Exit 'USEREXIT_SAVE_DOCUMENT_PREPARE' ( MV45AFZZ).While saving the Sales order i am calculating the Price and updating in the Pricing conditions.
In XKOMV internal table i am appending the pricing condition.But the problem is ,it is not calculating the taxes and it is Updating in VBAK and VBAP.
How to do this.
Thanks & Regards,
Ashok.Dear ABAPers,
I have Solved this Problem.
Thanks & Regards,
Ashok.
Maybe you are looking for
-
I recently updated my imac to 10.9 and now my wacom tablet won't work
Has anyone had problems with their Wacom tablets after updating to 10.9?
-
Leopard installation problems (from tiger 10.4.11)
I've been on Tiger but today I've updated to leopard using the update disc (ie not the $129/£85 version of leopard but the $9.95/£5.95 update disc) Installation went fine but Im pretty sure I forgot to restart my mac after it. Anyways I carried on wi
-
HT4623 my iphone 3gs will not activate says the server is down and stuck on that screen
my iphone 3gs will not activate says server is down and it is now stuck on that screen
-
How do i access a third party .class file
Hi, I am new to both java and enterprise 8, and would greatly appreciate some help. I have a third party .class file and want to include it in a project so i can call it's methods etc. I can access it by creating an object as follows thirdPartyClass
-
JDeveloper 10G Preview Feedback
Hi, I've switiched over to 10G Preview. As a constant user of JDeveloper I thought I'd supply some requested feedback on some encountered bugs in this Preview release : [1] 'New View' Navigator restart : When I create a 'new view' of a project to ope