Sales order delivery is created and pgi posted, but stock is still assigned
Hello,
sales order is created and delivery and PGi is also created, but still stock is assigned to the order. requirements are still showing in MD04.
Hello Friend,
Please check whether that material is activated for QM view in that material master.As sometimes if QM check is not done then even after PGI material shows in MD04.
Similar Messages
-
How to make Sales Order Delivery Date show 30days after Posting Date
I have problem programming the SBO 2005A- Sales Order Delivery Date automatically add 30 days based on Posting Date, in VB.Net.
Has someone tried it before ?Sorry i did not describe clearly.
I was developing vb.net with SAPBuiCom (UI API).
When Sales Order screen and the Delivery Date was empty. In my program i need to auto insert the Delivery Date field with 30days after the Posting Date.
And when user change the posting date, the delivery date will auto refresh.
KC -
Sales Order/Delivery for particular customer From his Reserve stock?
Dear Couleague,
There is one scenario that faulty material from customer Co. get back by
Return Order (RE), Then return Delivery --& post goods receipt, Of the sold material,
Now co. (PP/QM) do rework Process (assemble, dismantle ...... whatever on the basis of return order) & make perfect material ok
Now this stock PP/QM people put under RESERVE STOCK because it belongs to that particular customer
Now I want to deliver that stock to that Particular customer,
1) HOW CAN I DO?
2) HOW CAN I PICK UP THAT ReserveMaterial while doing Sales Order/ delivery?
Even though I maintain copy control from RE to OR & AvailabilityCheck?
Thanks
SureshHi Suresh,
As and when you get a return order for repair, then you do the PGR and place that stock into a different storage location and you get that repaired and when you are doing PGI then fetch the stock from the same storage where you have placed the stock when you did the PGR.
If you are having serial number concept that will help you to give the same piece which you have collected from the customer to return the same piece.
We have implemented the system in the same way in our previous implementation.
Thanks,
Mahesh. -
My sales order is not created and showing erroe
dear sir,
i ve already created the customer with internal no
and wen i m raising the sales order one erroe is comming" no costomer master record exist for the sold to party" error no 199
but the customer master is still there and i ve also created the custome in same sales area wer i m raising the sales order
before some dayz i ve done a blonder that i ve deleted the partner functions from strandard but again i ve created as standard .then i used it for my account group.
so why the error is comming please help
its really urgent....
with regards
subratSubrat,
since you deleted the cusomer master and since your number assignment is internal , once you delete the customer master you would not be able to create the customer master with same OLD Number range , it will take a new number this time for the sold to party which is created.....
and that is why the old one will not work , use the customer master and it should work fine ...
Cheers -
Hi All,
Could somebody please explain the need for the above mentioned chain of documents with reference to LES in R/3.
What is the essence of each one of them: Sales Order>Delivery>Shipment
Where does a transfer order fit in between the three?
regards,
SudhirHi
This is basic process of shippment of goods to customer from Sales side:
Sales Order --> Delivery --> Shipment
Sales Order: The sales order is a contractual agreement between a sales organization and a sold-to party about delivering products or providing a service for defined prices, quantities and times.
In sales order processing, the system implements various functions:
In the sales order, functions such as pricing and printouts are available. The system checks whether the material is available for the requested delivery date and if necessary, transfers the requirements to materials planning. Shipping deadlines and shipping points are determined in delivery scheduling.
Delivery: the outbound delivery supports all shipping activities including picking, packing, transportation and goods issue. During the outbound delivery process, shipping-planning information is recorded, status of shipping activities is monitored and data accumulated during shipping processing is documented. When the outbound delivery is created, the shipping activities, such as picking or delivery scheduling, are initiated, and data that is generated during shipping processing is included in the delivery.
Delivery: the outbound delivery supports all shipping activities including picking, packing, transportation and goods issue. During the outbound delivery process, shipping-planning information is recorded, status of shipping activities is monitored and data accumulated during shipping processing is documented. When the outbound delivery is created, the shipping activities, such as picking or delivery scheduling, are initiated, and data that is generated during shipping processing is included in the delivery.
Shipping: Shipping is an important part of the logistics chain in which guaranteed customer service and distribution planning support play major roles.
In shipping processing, all delivery procedure decisions can be made at the start of the process by:
Taking into account general business agreements with your customer
Recording special material requests
Defining shipping conditions in the sales order
Transfer order will come to into picture, if storage location is warehouse managed, from the same storage location, if you need to delivery the goods to Customer. This activity will start once delivery is created and before POst Goods Issue.
Hope it helps.
regards
Srinivas -
Sales Order / Delivery Document Report
Hi,
I currently am in search of a delivery report that will tell me the following:
Sales Order
Delivery #
Deilivery Item # and Material Number
Delivery Item Qty
Delivery Pick Qty and DAte
Delivery Actual Pick Qty and Date
Delivery Goods Issue Qty and Date
Delivery Actual Goods Issue Qty and Date
All i can find are txns VL06O and VL06F, but it doesn't show the actual pick and goods issue qty's. I'm only able to get the processing status on whether the goods issue has been processed, what i actually need is the qty's and their associated dates. Also, the sales order is not on this report. I basically need a report to show me what is in the pipeline for deliveries and what deliveries have been shipped (complete or partial) and processing status. Many thanks for your help. Best, Erik
Edited by: Erik Kraus on Sep 15, 2010 1:56 AMHi,
You have to make use of the tables VBAK, VBAP, LIKP, LIPS, VBFA, VBUK, VBUP tables to create a Z report for ur rqmt. There is no standard requirement which meets ur reqmt.
You can have a selection screen where you can select the sales order numbers or sales order status and so on. Based on that input, you can get the following data as output.
Sales order number -VBAK-VBELN
Delivery number - LIKP-VBELN found out using VBFA table by giving VBAK-VBELN value as VBFA-VBELV and getting VBFA-VBELN.
Delivery item/material : LIPS-POSNR and LIPS-MATNR
Qnty : LIPS-LFIMG
Unit of Measure - LIPS-VRKME
Goods issue date : Check LIPS-WADAT -
To create Sale Order , Delivery and then Billing Automatically .
hi all ,
I want to create a program which will create SALES ORDER , then make DELIVERY of it and then BILLING .
Also i want to restrict the sale order to be create of those CUSTOMER whose credit limit is exceed , which is maintain in FD32 tcode .
If i go with BDC for Sales order it creates the sales order with a warning message , which i dont want .
Is there any BAPI for doing this ?
I do have try to find out the customer whose credit limit are exceed so as to restrict them in Program itself , but do not find the table for credit exposure to compare it with credit limit .
Please give me your Suggestion .
Secondly , Which BAPI is suitable for DELIVERY and BILLING in 4.7 version .
Thanks .Hi,
Check these below BAPI's
BAPI_SALESDOCU_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_OUTB_DELIVERY_CREATE_SLS Generates Delivery for Customer Order
BAPI_BILLINGDOC_CREATE Custimer Individual Billing Document : Create Billing Document
BAPI_BILLINGDOC_CREATEFROMDATA Create Customer Individual Billing Doc.
Regards,
Jyothi CH. -
Create Sales Order / Delivery with BAPI
Hi,
I want to create a sales order and the its delivery using BAPI. Is there such BAPI or should i use two different BAPI functions.
I also need to post goods issue after the completition of the delivery. Which BAPI is the most appropriate for my pupose?
thanks for your help,
- ferudunHi,
Check this example of creating a sales order and for creating delivery...and PGI
************SALES ORDER INPUT CREATION.
PARAMETERS: p_auart TYPE auart OBLIGATORY.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
PARAMETERS: p_spart TYPE vtweg OBLIGATORY.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
*ITEM
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
PARAMETERS: p_itcat TYPE pstyv OBLIGATORY.
DATA DECLARATIONS.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
HEADER DATA
header-doc_type = p_auart.
headerx-doc_type = 'X'.
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
PARTNER DATA
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
item-material = p_matnr.
itemx-material = 'X'.
item-plant = p_plant.
itemx-plant = 'X'.
item-target_qty = p_menge.
itemx-target_qty = 'X'.
item-target_qu = 'EA'.
itemx-target_qu = 'X'.
item-item_categ = p_itcat.
itemx-item_categ = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF.
************DELIVERY CREATION.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
zmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr zmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = v_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-zmeng.
t_request-quantity_base__uom = t_vbap-zmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return.
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
************Post goods issue.
READ TABLE t_created INDEX 1.
DATA: vbkok_wa TYPE vbkok.
vbkok_wa-vbeln_vl = t_created-document_numb.
vbkok_wa-wabuc = 'X'.
DATA: v_error.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = vbkok_wa
delivery = t_created-document_numb
IMPORTING
ef_error_in_goods_issue_0 = v_error.
COMMIT WORK.
Thanks,
Naren -
Sales order, Delivery and Billing document creation
Hello Experts,
I am working on credit management and am in need of creating sales order, delivery and billing document.
Can some one send me the screen shots or any doc which outlines order,delivery and billing document creation.
Will award points definitely.
Also what are the t.codes for these creation?
Regards,
SriramOrder Create:
Transaction VA01
Give the order type , If standard order use OR or ZOR, which ever is maintained
Then give the sold to and press enter
In the Items screen Give the material and quantity and press enter. This should be enough to create an order, if u need u can give order reasons...etc. Then save the Order. Note down the order number.
Go to VL01N-
and give the above order for which u are doing delivery, In the pick quantity enter the amount in the order and press enter. and make sure the delievry date should be the same in the Sales Order Schedule line- REquested delivery date. Save the document.Note down the document number
Go to VL02N - Open the above delivery document and click on PGI - done
Now go to VF01 and this should bring up the delivery document number., If it doesnt , give the delivery document number and hit enter. then save the document. Billing is done.
Regards
Sai -
Sales order cannot be created for the delivery date before 20.10.2008
when i create a sales order today (18102008) sales order cannot be created for the delivery date before 20.10.2008
how the system is checking the 2 days duration for delivery date - which table is having this duration days.
is it dependent on sales order type.....
actually i checkeup in V0V8 - even then i couldn't solve this error when i am creating the sales order.
Pls suggestDear Selvamuthu
In normal circumstances, you can create as many as sale orders as you can irrespective of delivery date, and system will not prevent to create unless you apply some user exit for some reason.
Check any user exit is applied for that sale document type where some logic would have been written in such a way that if stock is available, sale order can be created.
thanks
G. Lakshmipathi -
Runtime error while creating sales order in AFS(Apperal and Footware Sol)
Hi everybody,
While creating a sales order in AFS(Apperal and Footware Solutions) i am getting runtime error.In the error the error description is "CIF_SNPGRPID is unknown". Can anybody tell me how i can resolve this.And i am getting this runtime error when i am using AFS material only.When i am using standard material i am able to create the sales order.
Thanks&Regards,
RambhupalHi Rambhupal,
Check all the conditions related to Prerequisites for AFS material.
Go to SM21 transaction code and analyze the details.
Bye,
Muralidhara -
Sales order, Delivery and Invoice changes history tables
Dear All,
I want to know how to find out the changes done in Sales Order, Delivery and Invoice.
As far as sales order is concerned, I know CDHDR and CDPOS are tables can be used to find out the changes.
But I am not sure about the "Object ID". Where we need to find out this Object ID?
In the Data element "VBELN_VA" "Change Document" option has been checked under "Further Characteristics" tab.
Please confirm about the "Object ID".
Similarly give inputs for Delivery and Invoice change history also.
Regards,
MullairajaHi,
Could you please explain, how to use these programs?
Regards,
Mullairaja -
Urjent-Any function module for finding Sales order, Delivery and Invoic
Hi Experts,
I am having selection screen like
Sales order
Delivery
Invoice
Customer
If i give sales order
Delivery and Invoice should pull
If i give delivery
sales order and Invoice should pull
If i give Invoice
sales order and delivery should pull
If i give customer
all customer related data should pull
Do we have any function modules to meet this reqirement?
If we have please provide function modules.
Thanks,
mahe
Edited by: Rob Burbank on Mar 30, 2009 4:17 PM
Edited by: mahahe on Mar 31, 2009 9:12 PMYou can use VBFA table, right? in the FM also, you can find the same logic, like pulling from VBFA table.
thanq -
CIF Transfer: Sales Order (SD) key completion of Sales order Delivery stat
G'day Team,
Client is using SCM7.0 & ECC6... Using Standard SD functionality we have Sales orders (ATP Categ: BM) CIF transferred from ECC to APO. When the Sales order status is changed to Delivery (VL10g / VL01N) the Sales order disappears from MD04 and the Delivery status is viewed.
The Delivery is CIF transferred to APO via the CIF (ATP: BR) and the delivery is found in APO Product View (/n/SAPAPO/RRP3).
Further info is that we have a Ztable to control the SDorders coming in for specific Sales Orgs (so there is no volume of hist sales)...
Is it standard APO behaviour for the Sales order to remain in APO with "0" qty in the Sales order & the subsequent delivery has a qty i.e: "100".. The key information is that ONLY the delivery is found in Interactive Demand Planning (/n/SAPAPO/SDP94).
Has any other SDN colleague had a similar issue. Have not yet created an OSS as wanted to understand standard APO RRP3 behaviour.
Please advise as soonest,
Andy Goz
SAPAPO ConsultantG'day Srinivas,
Thanks for your prompt info. I have worked in CIF for 10+ years & familiar witht he deletion tools CCR & the /sapapo/SDorder_del.
Further to last point of unprocessed queues; the ques are full process & nothing in error.
Can you pease advise why the root cause of Delivery PGI (VL03N) is removed from ECC6 and not APO. Standard behaviour would remove from RRP3 / SDP94.
Client usess batch splits for the deliveries direct off line & these loc / prods are consistantly in the CCR error list "Not In R/3".
Your prompt feedback is appreciated, binus awrded & client go-live is 2 weeks,
Many thanks,
Andy Goz -
Sales order missing in table and document flow
Hi
This is my client sales process sales order-- delivery -- billing.
but when client check billing document flow ,found that some billing document don't have sales order no in document flow, checked in table as well but some sales order are missing but delivery and billing no's are there .
How to fetch missing sales order.
Regards
SanjitDear Sanjit,
Though this is abnormal but possible.
You can check following scenario yourself in Ides or test system
Create one sales order using VA01
create delivery with reference to sales order before saving delete all items from delivery and enter same items again. and save the delivery.
Now go to VL02n and check the document flow of that delivery. you will find sales order reference missing.
It looks like delivery type LF is created without reference to sales order.
And if you check the document flow of sales order it show no reference delivery is created.
Actually once you delete items form delivery all the references also gets deleted and then you can enter not only same material but can enter any material, any quantity and you can do PGI and billing also, system will not stop you anywhere but you can not find the reference sales order.
The only possible solution i think is delete the delivery doc and create again.
Regards
Mayank
Maybe you are looking for
-
Photosmart C7180 says it is connected to network, but installer does not find
BACKGROUND: Primary Computer I have a mac-mini running both the latest Snow leopard build, as well as Win 7 Pro ver 6.1 build 7600 (64-bit). When I first got the computer, OSX ran through its initial setup. I then downloaded and installed the HP s
-
User poll details from Quick Poll
Hi All, We have a requirement to get the user poll details from KM Quick Poll. From quickpoll admin we can see the poll status and poll result but I want to get poll detals of user like who has voted and to which option he has voted. Can you suggest
-
Scrollbar for closed captioning in Captivate 5???
Hi, Why is Captivate the red-headed step child and doesn't have a way to scroll the closed captioning text??? Does anyone know if this is possible? Sure, you can increase the height of the closed caption box, though this is not correct usability wise
-
Search page don't work after moving VO under another VO (by creating VL)
Hi, all! I need Your help and explaining... So, please let me discuss my problem. I had my Search page. In my search page I search for records using APasesDati VO. On day I deside to move APasesDati VO under LVAIKolekcijaDati VO (created 1 to 1 VL).
-
How To Restore "Application" Under "Places"
Hi, I accidentally removed the "Application" from both the "Finder Places" and the "Dock". How do I restore it to the original situations? Thanks.