Purchase requisition not to be created if sales order is incomplete.
Hi ALL,
I have a requirement from the business wherin they want purchase requisition not to be created for the incomplete sales order
in case of third party / invidiual P.O sales orders.
We have defined some fields in the item category incompletion status and if this fields are empty then the P req shld not generate.
Can anybody guide me what settings to be made to acheive this.
Please help me in this.
In t.code OVA2, try to assign an incompletion procedure at schedule line level. This procedure can be assigned with relevant status like checking goods movement, and general checked. Then test the scenario.
There is an OSS note out there, but it is NOT exactly represents your scenario. However you can have a look at it.
Note 623267 - Purchase requisition in spite of missing configuration II
Regards,
Similar Messages
-
Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI
I am having a problem when creating a sale order using BAPI
BAPI_SALESORDER_CREATEFROMDAT2
Problem is that sale order item quantity field is not populating
code is as follows
ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
ORDER_ITEMS_IN-TARGET_QU = 'LB'.
ORDER_ITEMS_IN-TARGET_QTY = 1.Hi,
Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
Regds,
Rudra -
Line item data is not saving while creating a Sales order using Interactive
Hi all,
I am creating a sales order Using Interactive forms. In the form i am having Header data and line item data.I had created two structures one for Header data and one for Line item data. For entering the LINE ITEM DATA i had created a Dynamic table with Buttons ADD ROW and DELETE ROW.
User will Add the Row or Delete the Row based on the requirement.
My issue is When ever the user clicks the SUBMIT button after entering the header data and 3 line items data , Sales order has been created with only first line item and the remaining two line items are not created.
My Interactive form is like below
HEADER DATA
DOC_TYPE
SALES_ORG
DIST_CHN
DIVISION
PURCH_NO
PARTN_ROLE
PART_NO
LINE ITEM DATA
ITEM_NO MATERIAL PLANT QTY COND_TYPE COND_VALUE
ADD ROW
DELETE ROW
SUBMIT
My code for the method ONACTIONCLICK is like below
method ONACTIONCLICK .
data:
Node_Adobe type ref to If_Wd_Context_Node,
Node_Zsaleheader type ref to If_Wd_Context_Node,
Elem_Zsaleheader type ref to If_Wd_Context_Element,
Stru_Zsaleheader type If_Main=>Element_Zsaleheader,
Node_Zsaleitem type ref to If_Wd_Context_Node,
Elem_Zsaleitem type ref to If_Wd_Context_Element,
Stru_Zsaleitem type If_Main=>Element_Zsaleitem.
data: header_data type BAPISDHEAD.
data: item_wa type BAPIITEMIN.
data: item_data type table of BAPIITEMIN.
data: partner_wa type BAPIPARTNR.
data: partner_data type table of BAPIPARTNR.
data: sales_order type BAPIVBELN-VBELN.
data: Errorlog type BAPIRETURN1.
navigate from <CONTEXT> to <ADOBE> via lead selection
Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_Adobe ).
navigate from <ADOBE> to <Zsaleheader> via lead selection
Node_Zsaleheader = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleheader ).
Node_Zsaleitem = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleitem ).
get element via lead selection
Elem_Zsaleheader = Node_Zsaleheader->get_Element( ).
Elem_Zsaleitem = Node_Zsaleitem->get_Element( ).
get all declared attributes
Elem_Zsaleheader->get_Static_Attributes(
importing
Static_Attributes = Stru_Zsaleheader ).
header_data-DOC_TYPE = Stru_Zsaleheader-DOC_TYPE.
header_data-SALES_ORG = Stru_Zsaleheader-SALES_ORG.
header_data-DISTR_CHAN = Stru_Zsaleheader-DISTR_CHAN.
header_data-DIVISION = Stru_Zsaleheader-DIVISION.
header_data-PURCH_NO = Stru_Zsaleheader-PURCH_NO.
partner_wa-PARTN_ROLE = Stru_Zsaleheader-PARTN_ROLE.
partner_wa-PARTN_NUMB = Stru_Zsaleheader-PARTN_NUMB.
append partner_wa to partner_data.
Elem_Zsaleitem->get_Static_Attributes(
importing
Static_Attributes = Stru_Zsaleitem ).
item_wa-ITM_NUMBER = Stru_Zsaleitem-ITM_NUMBER.
item_wa-MATERIAL = Stru_Zsaleitem-MATERIAL.
item_wa-PLANT = Stru_Zsaleitem-PLANT.
item_wa-REQ_QTY = Stru_Zsaleitem-REQ_QTY.
item_wa-COND_TYPE = Stru_Zsaleitem-COND_TYPE.
item_wa-COND_VALUE = Stru_Zsaleitem-COND_VALUE.
append item_wa to item_data.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
ORDER_HEADER_IN = header_data
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = ' '
IMPORTING
SALESDOCUMENT = sales_order
SOLD_TO_PARTY =
SHIP_TO_PARTY =
BILLING_PARTY =
RETURN = errorlog
TABLES
ORDER_ITEMS_IN = item_data
ORDER_PARTNERS = partner_data
ORDER_ITEMS_OUT =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CCARD =
ORDER_CFGS_BLOB =
ORDER_SCHEDULE_EX =
endmethod.
PLEASE SUGGEST ME IF ANY CODE CHANGE IS REQUIRED
Thanks in advance
AjayHi,
The item data is not read because, the dynamically added rows should also reflect back to the Web Dynpro context. When the user clicks on Add Row, use the Onsubmit event to add a empty line to internal table and then bind it to the context. And if the user removes a row, remove a row from internal table and bind it back to the context.
You may refer this article.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
Regards,
Runal -
How to create a sales order having incomplete non-sap data as input start
We have facing the following problem in our company. We have a non-SAP system where we pull data from. We built a webservice that enables a user to pull data from the non-sap sustem by entering a key value (e.g. project number). Pulling the non-sap data is not a problem. However, once the user have pulled the data via the webservice, this data (e.g. material number, qty and sales unit) needs to be transfered to the va01 screen directly. The user will have to complete the missing master data like sold to party, ship to party, customer PO number etc. Then by hitting enter standard SAP will run and if everything is OK, the user has to save the order and a sales order number will be created. We know there a lot of techniques that can be used like Idoc, BAPI, XML, RFC. We have XI, Adobe and Portal available. Does somebody have an idea for a solid solution to get this to work?
kind regards
Angelique HeutinckYou want to Create Sales Order thru VA01 after puling the data from NonSAP system. Moreover you want that the Incomplete Sales Order will be saved.
if thats the requirement - I ll suggest
While doing VA01 - start from Create with reference Sales order. in that case default Sales Orders will be automatically created and using the BDC you can change the items or Customers you want to change. Once the Order number is created properly - u r free to change eveything of that Order.
Otherwise calling BAPI / RFC for creating the sales orders is the most safest way of achieving it. But again if you dont have the complete data - calling RFC or BAPI does not make much sense. because they will fail to create the Sales Order in case u dont fill up the mandatory fields. -
Excise and ***. Valsue doen not show when Creating a Sales Order
Hi SAP Gurus,
I am creating a Return Sales order through VA01 with reference of Billing Document which was earlier giving error of 'Copying from sales document type ZSFG to ZREV is not supported' that was resolved by going through the available threads support. I have done it through VTAF.
Now system copying the records and showing the material and qty but when we doube click an item and then go in Condition tab it is not showing Assesable Value, Excise amount and CST where as it was showing Freight Amount.
Please advise what wrong we are doing.
Rajesh GuptaCheck the pricing analysis in condtions tab what it says ?
If only taxes are not copied then check the UTXJ Condition records , if it exits then go to VK12 check the validity periods of the same.
Hope it helps u
Regards,
Ramesh -
VPRS cond type is not appearing after creating a sales order
Dear Friends,
I have copied pricing procedure from Std pric procedure i.e from RVAA01.
In Material master in Accounting 1the following things are maintained,
Valuation Class--7920 ( Finished products)
VC Sales Order Stock--7920 ( Finished products)
Pricing Control-V ( Moving average Price/Periodic unit price)
Standard Price--- Blank
Price Unit--1
Total stock--100
In Pricing procedure VPrS cond type is included and settings are as follow,
Statistics---Relevant
Subtotal-- B ( carry over value to KOMP-WAVWR (cost))
Requirement--4
Item Catg is TAN and in Business data it is relevant for Determine Cost.
Activated cost determination for item categ TAN
But when I am creating sales order VPRS cond type is not appearing.
Analysis is saying
The requirement 004 is assigned to this condition in the pricing procedure. This requirement was not met and so the condition was excluded from further processing.
Can anybody tell me where I am going wrong?
Regards,
ShrikantHi Friends,
Thanks for your reply as per your instruction I have maintained cond type and also in Pric procedure I removed 4 from Requirement column.
Now I am getting following error,
Diagnosis
This condition has not been determined using condition records. The amount or value should be determined from another data source. For cost (condition category 'G') it is read using conditions from the material valuation segment, for a cash discount condition it is read using conditions from the terms of payment table.
In this transaction an error occurs - the material valuation segment or the terms of payment table could not be read or a currency translation has failed.
System Response
The condition has been provided with the deactivated indicator 'X'.
Procedure
Refer to the messages in the status line of the condition overview screen.
Regards,
Shrikant -
Getting error 'Item 00000 does not exist' while creating a salse order
Hi All,
We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
Your valuable suggestions for helping us resolving this issue will be highly appreciated.
Regards,
GeetaHI Geeta
As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
try and revert -
Purchase requisitions which created during Sales Order missing in MD04
Hi Guys,
I have an issue with MD04.
Purchase requisitions which created during Sales Order missing in MD04 are not appearing in MD04, but these are showing in ME5A. After MRP Run only PRu2019s are showing in MD04.
Requirement type used 511 during creation of Sales Order.
Please advise me if any config/ Master data is missing OR If required any enhancement.
Regards,
PurnaDid you checked for the Firming indicator in PR's?
-
Purchase Requisition Is Being Getting Created In APO But not being publishe
On doing, SNP Location Heuristics on one of our item, purchase requisition is being getting created in APO (We are able to see the same in RRP3) but the same is not being getting published in ECC. On doing CCR of the said location - product combination, it is showing Error u201C182u201D. We have checked the following parameters :-
Item is an APO Item i.e. X0.
It is having a proper Purchasing Group.
As This be a purchase item. So, it is having a valid single Purchase Info Record.
Item Has Not Been Blocked At Any Level.
Vendor From Whom This Item is being getting procured is also open (Not Blocked).
Please suggest what else to be checked and what else can be the reason for non-flowing of purchase requisition from APO to ECC.
Thanks & Best Regards,
Sanjeev ChughHi Sanjeev,
Please check change pointers if any and send them to ECC. Check the order in the planning book whether it has picked the same source for which there is a Purchase info record. If these all are fine then You send them to ECC from the CCR then check the log in ECC through CFG1 tcode.
Regards,
Kishore k Reddy -
"Material purchase requisition" not allowed (Use Status PROV, object TM0000
Hello Gurus,
I am getting the following message every time I enter a material in the sales order. The material entered requires a Purchase Requisition (PR) to be created when it is entered in the order. We have done Configuration thru Order Status Profile that will prevent PR creation at time of Order creation.
The message is as follows:
"Material purchase requisition" not allowed (Use
Status PROV, object TM0000000001VB)
Solution requested: We do not want to see this message appearing so many times. Can you pl let me know if there is a way to avoid this.
Thank you
VasaviHi Vasavi,
I am not talking about the po check above that one tab like check purchse order no in this feild keep emty and also below that enter po number also keep un check
and also please check when you creating sales order beside po date one tab is availble check any data in default that
that tab name is display doc header details in that tab purchase order tab in that any infirmation is default check that also
Hope this will helps you
Prem -
Purchase order created from sale order ( third party)
Hi...
In third party sale, when sale order is created in SAP system will automatically creates Purchase requisition which can be converted into Purchase order,
My requirement is i need to identify against which sale order the above purchase order is created, do this purchase order has any reference of sale order.
Is there any way where i can track the purchase order number entered while cretion of sale order in the purchase order generated after creation of sales order.
Suggestion will be worth rewarding.
Regards
SARFARZHi
I think you are little bit confused.The PO number entered while creating the Sales order is nothing but the customer Purchase order.This we may receive in different forms.Hard copy or Mail etc.We will give this number as a reference in sales order.
Where as for third party orders, depending on the schedule line category (SD), PR will be generated.This will PR will be converted in to PO.In PO item detail, you can find account assignment tab, where you can find the sales order number.
If you want to link customer PO to the SAP PO, then you need to link the two tables.
Regards
Ramakrishna -
Purchase requisition not generated
Hi Gurus,
Purchase requisition not generated at the time of sales order for Item category tab. Can you please let me know the posible reason.
Thanks in advance...Hi,
As per my understanding, you are running Third Party Process, if yes then, please maintain the following setting for the same;
Mater Data Settings:
1. Item Category Group as BANS in sales org 2 in MM02
2. in MRP2, in procurement type should be 'F'
SPRO Settings:
1. Item Category TAS: Maintain Billing relevance as 'F'
2. in VOV6 Schedule Line CS: doesn't have Movement type therefore keep the field as blank
3.ASSIGNMENT: assign Schedule line CS to item cat TAS in VOV5 and TAS to order type in VOV4
4. in vov6 Schedule line CS Item Cat as '5' i.e. Third party and account assignment cat as 'X"
Now run the process..I hope this will help you...
Regards,
Bharat B -
Creating SD Sales Orders from a Purchase Order
Does anyone have any detail documentation for creating an SD Sales Order as an output message from a purchase order. We would like to implement a process where we generate a sales order to a specific sales organization automatically from a purchase order in a different company code.
Any help would be appreciated.Hi,
You can configure this scenario using ALE/IDOC . I dont have any docs but i remember that i had setup this few years ago.
Create PO , attach output type , output type linked to process code , process code linked to sales order relevant IDOC Type and send to receiver as outbound IDOC ,
The recepient receives this as an inbound and used this data to create a sales order in his company code.
Thanks,
Sudhi -
Billing document should not be cancelled after creating return sales order
Hi All,
Billing document should not be cancelled after creating return sales order with reference to billing document. Please suggest configuration settings on the same.
Sudheer.Hi,
In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
Check and confirm.
Regards,
Ravi Duggirala -
Price is not being updated when creating a sales order using DTW oOrders
Hello experts,
When I create a sales Order using DTW (oOrders), the information in the input files document.csv and document_lines.csv is updated with no problem, except the price. The price is being ignored from the input files.
Is there something that I must considered when trying to update the price of a sales order using the DTW?
The field "price" was mapped in the source and target fields in DTW.
Here is the document_lines.csv
RecordKey,LineNum,AccountCode,Address,ItemCode,LineTotal,Price,Quantity,ShipDate,WarehouseCode,TaxCode
RecordKey,LineNum,AccountCode,Address,ItemCode,LineTotal,Price,Quantity,ShipDate,WarehouseCode,TaxCode
1,1,_SYS00000000059, ,30PA08-0360-25,1,11.2,3,20110702,V08,A5
1,2,_SYS00000000059, ,30PA08-0707-25,1,15.2,3,20110702,V08,A5
1,3,_SYS00000000059, ,30PA08-0707-22,1,18.3,3,20110702,V08,A5
And the document.csv:
RecordKey,DocEntry,CardCode,DocDate,DocDueDate,DocTotal
RecordKey,DocEntry,CardCode,DocDate,DocDueDate,DocTotal
1, ,c-6167,20110702,20110702,2
Thank you for your help
Jorge ManzoHi,
Try to re-create your dtw using my template,and use text tab when saving your template.
SO-Header
RecordKey CardCode CardName Comments DocDate DocDueDate DocNum
RecordKey CardCode CardName Comments DocDate DocDueDate DocNum
1 24-25 MANUFACTU 24-25 MANUFACTURING 4/5/2010 4/15/2010 11142
SO-LINE
RecordKey linenum itemcode qty uom PriceAfterVAT Price SalesPersonCode
RecordKey linenum itemcode qty uom PriceAfterVAT Price SalesPersonCode
1 0 SHAFT HEX 7/8" 1 pc 4536 4050 CRIS
Note : Line -(LINE NUM and QTY is important upon computation of Price if SO is ITEM TYPE Document.
hope this will help you!
Regards,
Darius
Maybe you are looking for
-
My yahoo email envolope icon has disappeared,how do I get it back..?
Application Basics Name: Firefox Version: 33.1 User Agent: Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 Firefox/33.0 Multiprocess Windows: 0/1 Crash Reports for the Last 3 Days All Crash Reports Extensions Name: AccelerateTab Version: 1.4.2 E
-
MRP, need to split total order in three week
Hi SAP GURU, i need to split total order in three weeks. how i can make setting so that after MRP execution system will create proposals like 1st week302nd week 303rd week 40 Thanks, SAP PQ
-
Safari not opening many webpages - just get 'blank' webpages
I added "index.html" at the end of the URL's and it worked but I'd like to know why I have to do this. BTW, I couldn't log onto this site with Safari and finally had to use FireFox. I know about emptying caches, deleting cookies but I shouldn't have
-
Weird error with placed .jpgs
Anybody else getting this? Whenever I place, touch, or move a .jpg file in Ai I get this pop-up error, but once cleared I can continue to work normally (until the next time I touch the .jpg). I've restarted, dumped prefs, etc. but it still happens. N
-
3486172 - CUSTOMER SPECIFIC FIX FOR 11.5.9
I'm looking at applying patch 3486172 as it's a prerequisite for another patch that i want to apply. The name of the patch CUSTOMER SPECIFIC FIX FOR 11.5.9 is a tad vague to say the least and the readme documentation doesn't say anything about what i