Post Goods Issue - Tracing backward to update Sales Order & Delivery Docs
I have a requirement as follows. I need to do a Sales Document change and a delivery document change prior to goods Issue being done. The situation is to prevent SAP's normal back order processing from kicking off. I am quite confused about which method to use to achieve this. Wether BAPI &/or BDC &/or User Exit ???
Please help you will be rewarded with points....
Hello Srinivas
The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking. this will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material. In the case where the customer has truly ordered more than a case, i.e. 1 case 2 eaches. The documents in SAP should still reflect 2 line items.
The business also states that there be a 1 to 1 relationship between sales order and delv note. This means any unconfirmed line items must be closed out after del. note is created for the sales order. The closing out of the sales order will stop SAP from automatically creating a backorder once the unconfirmed line items become available in inventory.
The business also requires that all partial line items in the delv. due to stock not available at the time of picking (those line items need to be updated) with the pick qty. And the line items which were not picked need to be automatically cancelled out. In addition the order line item must be rejected with a reason code for the line item which were not picked.
We have a daily IDOC interface which creates shipments and updates delivery qty.
I hope that clarifies the business. Pls let me know.
Regards
Similar Messages
-
Goods issue dates are different in sales order & delivery
Hi,
We have a situation where in sales order schedule line tab goods issue date is 21.30.2011
but in delivery the planned GI date is 28.03.2011.
There are two line item in the sales order & in both the line items all the dates are same.
Same route is there in sales order & delivery.
In delivery Item category avalability check Off is Y(Do not check avail. when reporting results of pick.request)
All the dates(delivery,loading,Transportation planning) are different .
waiting for responce.
Thanks In advence
Susrikantgoods issue date is 21.30.2011
What was the Actual GI date in delivery?? This should be the same as schedule line date.
thanks
G. Lakshmipathi -
How to update Sales Order Delivery Block while saving Delivery ?
Hi,
I have a requirement wherein i need to update sales order delivery block field(VBAK-LIFSK) while saving the delivery for the order.
Also I need to remove this block while execution of Backorder Rescheduling program SDV03V02 (Tcode : V_V2),
Can anybody help me out in this?
regards,
NitinHI,
try using BAPI_SALESORDER_CHANGE
pass ur vbeln in SALESDOCUMENT
pass an 'X' to BAPISDH1-DLV_BLOCK
and 'X' to BAPISDH1X-DLV_BLOCK
Also add the UPDATE task clause, you will want to set the flag only when delivery is being saved, not before that. -
Tables for Sales Order,Delivery Doc, Billing Doc
Hello All,
Can anyone list the tables that are relevant for Sales Order,Delivery, Billing-Header,Item,Schedule line level as applicable.
Regards,
RajHi Raja Sekhar,
Customers
KNA1 General Data
KNB1 Customer Master Co. Code Data (payment method, reconciliation acct)
KNB4 Customer Payment History
KNB5 Customer Master Dunning info
KNBK Customer Master Bank Data
KNKA Customer Master Credit Mgmt.
KNKK Customer Master Credit Control Area Data (credit limits)
KNVV Sales Area Data (terms, order probability)
KNVI Customer Master Tax Indicator
KNVP Partner Function key
KNVD Output type
KNVS Customer Master Ship Data
KLPA Customer/Vendor Link
Sales Documents
VBAKUK VBAK + VBUK
VBUK Header Status and Administrative Data
VBAK Sales Document - Header Data
VBKD Sales Document - Business Data
VBUP Item Status
VBAP Sales Document - Item Data
VBPA Partners
VBFA Document Flow
VBEP Sales Document Schedule Line
VBBE Sales Requirements: Individual Records
SD Delivery Documets
LIPS Delivery Document item data, includes referencing PO
LIKP Delivery Document Header data
Billing Document
VBRK Billing Document Header
VBRP Billing Document Item
SD Shipping Unit
VEKP Shipping Unit Item (Content)
VEPO Shipping Unit Header
REWARD POINTS IF HELPFUL
Regards
Sai -
Function Module or BAPI to update Sales Order (delivery Block)
Hi,
Is there a Function Module or BAPI available that can update the Delivery Block for a looping Sales Order?
Thanks,
JohnHi,
check this sample code to update delivery block..
DATA: BAPISDH1X LIKE BAPISDH1X.
DATA: BAPISDH1 LIKE BAPISDH1.
PARAMETERS: P_VBELN LIKE VBAK-VBELN OBLIGATORY.
PARAMETERS: P_LIFSK LIKE VBAK-LIFSK OBLIGATORY.
* Header
BAPISDH1-DLV_BLOCK = p_lifsk. " Delivery block
* header X
BAPISDH1X-DLV_BLOCK = 'X'. " Delivery block
BAPISDH1X-UPDATEFLAG = 'U'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = P_VBELN
order_header_in = BAPISDH1
order_header_inx = BAPISDH1X
tables
return = T_RETURN
LOOP AT T_RETURN WHERE TYPE = 'E' OR TYPE = 'A'.
EXIT.
ENDLOOP.
* Check for error messages.
IF SY-SUBRC = 0.
WRITE: / 'Sales order not updated', T_RETURN-MESSAGE.
ELSE.
* Successfully updated
WRITE: / 'Sales order updated'.
ENDIF.
COMMIT WORK.
Thanks
Naren -
Update termination error when posting goods issue
Helllo
I have a strange problem I can not figure out. We have serial numbers like 12345/345. When trying to post goods issue I get an update termination error for invalid character. This only happens if the quantity is more than 1 each. A quantity of 1 each works fine and receives no update termination when post goods issue...only recieve termination error if the post goods issue is for a qty of 2 each.
I searched the SAP site found OSS note 40355...applied the note. The note also mentions the chaging print paramters to include "/ _" this is all done.
I tried doing a ABAP Debug in SE38 (for the delivery note print program) and setting the breaking point, but when I go to run the transaction after the setting break point...when I hit post goods issue...SE38 does not return back to its screen. So not sure if I am running the correct program there...or if this works for the update terminations?
So strange I do not get this for a qty of one each only when it is greater than that. I am stumped need help....
Any advice wiould be GREATLY appreciated....Looks like there is an error in the delivery (or material movement ?) print program. Easiest would be to disable these outputs for test purposes. When no dump then the error is somewhere in the print program an could be analysed by triggering the print separately with ABAP RSNAST00.
regards Jack -
Special stock partner data problem in ERP system during "Post Goods issue"
Hi all,
I have a (probably) customizing issue in an ERP 6.0 EhP4 test system which not occurs in the ERP 6.0 test system. There is a difference but no one could tell me, what causes the problem in this scenario:
I have two customers, C1 and C2. C2 is the special stock partner (SB) of C1.
I've created a Consignment Fill-up order, then a delivery document based on the order and posted it with "Post Goods Issue". During the update process, a function module (SD_PARTNER_UPDATE) receives partner data in an internal table which contains the sold-to, ship-to and special partner data.
When we tried the same process in the ERP 6.0 EhP4 test system then special-partner data did not occur in the parameter table (I've used the same customers and materials). The special stock partner is probably not taken into consideration due to some customizing settings.
My question is what should I change in the customization to run the process the same way as in the ERP 6.0 system? As far as I know there are no new modifications which have effect on this area, and the used test customers and materials are almost the same - there are no noticable differences.
Thanks in advance.
AkosI tried setting that field in the sale order this morning. By defaulting it to "C"; I was able to get warning message for TAE line. I was able to post goods with TAE and TAQ, being different quantities. I need the check to determine if TAE and TAQ delivery quantity are different. Using this fields seems to be line specific. Thanks for the suggestion. I now know what that field does to the delivery.
I rewarded points.
Thanks,
Tony -
Error during Post Goods Issue of Material in VL02N for STO Purchase Order
I am getting one error message during Post goods issue of Material for STO Purchase order.
I am doing the Post goods issue in T code VL02N
Error is " Account type D is not defined for Document type WL"
What is the settings required to be done.
Thanks,
ShailendraPlease check Plant customer master reconsilation account properly maintained or not in XD03 transaction.
-
Goods Issue To Each Operation Of Production Order?
As we know, in SAP ,when we create and realse the production order,we could posts good issue to the production order ,using MB1A. And in SAP , the components can be assigned to the operations of the finished product.
But in our company, the production order will take long time,and during production,different materials will be used in different phase of the production order,that means different components will be used for different operations.
And for some reason,we don't want our material to be backflushed during production.
So I want to ask can we post goods issue to each operation of the production order,not to the whole production order? Can SAP support Post Goods Issue To Each Operation Of Production Order?
What shall we do if we want do this?By ABAP development ? Or there is third party software
can do this with SAP?
Thanks for any reply!
Edited by: Fei Liu on Mar 14, 2009 4:56 PMHi Fei,
As explained above, i think the concept of releasing the individual operations instead of releasing the order at header level would work fine for your requirement.
Steps:
1. Go to operation page in co02.
2. Select the first operation, at the bottom of the screen you would find a Green Flag, click on the same.
3. You will now find that the status of the first operation has changed to REL, while the others are still not.
4. At header level you will find a status PREL, indicating partial release.
5. After completion of the first operation, confirm the same & select the second operation & click release, & the process follows in this manner
6. Please do not click the green flag at the header level as this will release the entire order.
Pre-requisite:
1. You have assigned components to the respective operations.
You might also want to consider the usage of trigger points. This you can assign to each operation, where-in if the status changes to CNF, you trigger the release of the following operation. But before opting for this flow, first do it manually to ensure it meets your need.
Also if the components assigned to the same operation, needs to be issued at different date, then you can use the lead time offset in BOM. In cs02, go to item details, here you can specify the same. Eg: If your operation stats on 15th March & you want this component to be issue only on 17th March, then specify the offset as 2. But if you want the components to be issued 2 days in advance of 15th march, then specify as 2-.
Hope the above helps.
Regards,
Vivek -
Cost Center and GL account in Sales Order / Delivery
I have a requirement where we want user to specify what cost center and GL account should be used while posting goods issue.
Currently GL account and Cost Center is automatically determined based on OBYC configuration.
Is there a way user can populate Cost center and GL account at Sales order or Delivery document level and what ever they have specified will be used for Posting Goods Issue.
If user doesnt specify anything then standard OBYC determination should take place.
I looked at OVF3 transaction which can default cost center (though no GL account) but its not useful in our requirement.
I also looked at OKB9 transaction but not sure if we can use it either.
Again we want user to enter Cost center and GL account at either SO or Delivery document level and then that should be used for Post goods issue.
Thanks in advance.Hi,
In delivery under tab GOODS MOVEMENT DATA
After valuation type column COST CENTER & G/L Account column available
Now with the help of FI consultant make it change mode so user can maintain also I observe that if delivery created without reference to order then that fields are in change mode means user cn maintain data for this but if with reference to order it is disable mode
Check in t-code OMJJ FIELD SELECTION FOR MOVEMENT TYPE
Put movement 601
Then select movement type and double click on filed selection (from 201)
Then go to additional account assignment and for cost centre make it optional or requirement
or Else under field selection enjoy for movement type 602 indsert field KONT0 and KOSTL and check
If this can not work there is option field selection for G/L account check that with FI
Kapil -
Goods receipt and post goods issue are not updated back from EWM to ECC
Hi Experts,
Would anybody able to tell me the setting to be modified / defined to backward flow of information from EWM to ERP i.e. the goods receipt, goods issue are not being updated back in ECC once the goods receipt and post goods issue are posted in EWM?
It would be great help if i get the response as early as possible.
Chakrapani DasHi Chakrapani,
You might want to try checking the customization on the SCM part following this path:
SPRO - Extended Warehouse Management - Interfaces - ERP Integration - General Settings
Pay special attention on the Check of ERP-EWM Configuration transaction.
After you have checked these you should probably check the outbound queue monitor (tx SMQ1) from EWM to ERP. You can use the SMQ1 - Outbound queue and SMQ2 - Inbound Queue both in ERP and SCM to check the communication betweene these two systems.
Also you may want to checkt the SLG1 - Analyse application Log in SCM in order to see if any internal bugs exist.
All the best,
Claudiu Maxim -
Sales BOM - Delivery Quantity check during post goods issue
I am working on a problem in my company. We are running ECC6.0 ehp 4. We are using standard ERLA functionality with sales bom (5) for product kits. Delivery manager has requested that we investigate a system check during delivery post goods issue. THe problem is that when shipper processes delivery, if they have to backorder they update pick and delivery quanity on the TAE item. They should also update TAQ delivery quantity, so that backorder amount is correct. If they make data entry error, backorder quantity is incorrect. The delivery manager has tried a number of attempts to re-train and correct mistakes. He is now asking that SAP issue a hard error if TAQ and TAE delivery item quantities are not the same.
I have searched on SAP Notes, Forms, and Google and do not see solution. I know that at delviery item category there is a minimum qty check for the item category. I've not found a user exit or configuration point that checks quanities. Does anyone know of out of the box solution? Or where would I put in custom user exit?
Test Case
Create Standard Order
Enter Material with Sales BOM
ITEM A Qty 10
BOM explodes with Item categories
ITEM A TAQ parent
ITEM B TAE child
Create Delivery
Delivery has item categories TAQ and TAE
TAE is pickable, TAQ no pick
Process TAE
Pick quantity of 5 items
Change delivery quantity to 5 items
Forget to change TAQ delivery quantity
Pack 5 items
Post Goods Issue the delivery.
Is there are requirement/routine than can be run at time of PGI that checks TAQ delivery quantity is the same as TAE delivery quantity. If quanities are not the same, show hard error and message do not allow PGI to complete.
Thank you
Tony RomainI tried setting that field in the sale order this morning. By defaulting it to "C"; I was able to get warning message for TAE line. I was able to post goods with TAE and TAQ, being different quantities. I need the check to determine if TAE and TAQ delivery quantity are different. Using this fields seems to be line specific. Thanks for the suggestion. I now know what that field does to the delivery.
I rewarded points.
Thanks,
Tony -
Updation of MCHB-CLABS value on Post Goods Issue through VL01n
When POsting Goods Issue I need to change MCHB-CLABS value.
My requirement:
When quantity left in the stock is less than (MCHB-CLABS) .005 I am adding the remaining quantity left to delivered quantity, but the stock (MCHB-CLABS) is not getting updated. It remains the same quantity less than .005.
Could you tell me any parameter in user exit which I need to modify?Hi,
VL01N has one BAdi called "DELIVERY_PUBLISH".
Why don't you use User exit for solving your problem?
Following are the user exits availble for the transaction:
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
Regards,
Dharitree -
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 -
Post Goods Issue Accounting Entry & Profit Center Updation???
Dear All,
At the time of Post Goods issue it generates an accountng entry.
we are getting an error related to Profit center.
we maintained profit center in the sales order. and please clarify me can we create cost element for COGS account which hits at this level.
I am getting the following errror.
Balancing field "Profit Center" in line item 001 not filled
Message no. GLT2201
Diagnosis
The field Profit Center marked as balancing is not filled with any value in line item 001, even after document splitting.
System Response
The document cannot be posted.
Procedure
First check your entries.
Additional causes could be:
No value can be derived for this field from the current document data.
You have entered a document type that is not designed for this business purpose.
Procedure for System Administration
Customizing
But we need profit cener wise balance sheet.
so please guide me.
regards,
shashi kanth.If you define document splitting criteria based on Profit Center and if your document contains multiple line items with different profit center, this type of error will come.
To check this, Go to IMG Path -- Financial Accounting (New) --> General Ledger Accounting (New) --> Document Splitting --> Define Document Splitting Characteristics for General Ledger
There check whether the mandatory check box is selected for profit Center. So check in your delivery document, whether any line item does not have profit center.
You can also have a look at any of the following notes
a) 995055
b) 1074689
c) 1079819
thanks
G. Lakshmipathi
Maybe you are looking for
-
Can't sync music after installing ios7 on ipad mini
How can I sync with my computer? Since I installed ios7 iTunes does not see my ipad
-
At a loss...
-
How to get the plsql table data into output cursor
Hi, Could anybody please help me. Below is an example of the scenario.. CREATE OR REPLACE PACKAGE chck IS PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR); TYPE get_rec is record (ename varchar2(20), eno number(12)); TYPE t_r
-
Hello, My left shift key (Dutch keyboard, small shift key) fell of and I cannot get in back. It keeps falling of. It looks like a small pin at the back of the key broke... strange. Can you tell me how to get an new one? My apple will only order a com
-
Printing Issue - 'Sticking' at Point of 'Creating Adobe PDF'
Installed XI Pro and have a few problems. First is.... Adobe (for lack of better description) 'sticks' at the point of Creating Adobe PDF. The printing never progresses beyond the 'Creating' dialog box (the computer doesn't lock). The image below m