Unable to do PGI for Sales Order
Hello All
I am using Product Qty Management functionality of SAP for a FG, whose Sales UOM is SQM & Base UOM is KG, When am doing GR I am entering the goods in SQM as "Unit of Entry" & am defining the KG as well during GR, i.e. am having a relation of 1SQM = 4.16KG, but at the time of GR the value comes out to be 10SQM = 43.75KG i.e. 1SQM = 4.375KG. The system incorporates this change in relation betwen different UOM & passes the new value of conversion to the characteristic I used in Batch Classification.
This all goes well & when am overviewing the stock, system also displays Sales Order Stock as 43.75 KG or 10SQM. My problem is that when am trying to deliver this Sales order & when am doing the PGI (Post Goods Issue) the system throws a error message which says:
"Material's product unit must be entered in whole numbers
Message no. VL285"
This behaviour of system I am unable to understand, wherein the system shows appropriate stock & still it doesnt allow me to do the PGI. Please help out with this problem. Looking forward to your valuable inputs & guidance.
Regards,
J K Tharwani
Hello Bharathi
Thanks for your valuable inputs, the not you referred is applicable for error during inbound delivery, whereas am getting the error while am performing an outbound delivery. Moreover I am using ECC 6.0, in which this note would be already available. I am looking forward to you for the resolution of this issue, expect to hear from you soon.
Regards,
J K Tharwani
Similar Messages
-
Dear all,
I want BAPI for PGI(Post Goods Issue) against sales order.Can anybody suggest BAPI for this?Hi,
For delivey, we can use BAPI_OUTB_DELIVERY_CREATE_SLS also, along with those mentioned above bapis.
Even i too had the same requirement earlier, that is, a BAPI for PGI, but dint find any. Finally we did BDC for the PGI part of the sales cycle.
Regards
Kalyani -
SAP Mobile Sales 2.0 delta load issue for Sales Orders
Hello,
we have used Mobile Sales 2.0 with a Windows app for a while now. Our current issue is that sales reps won't see any historical sales order data on their devices.
Background
Due customer requirements, we need to make small changes to customer master data attributes and reload all customers from ERP to CRM. Then we ran delta loads (MAS_PARTNER followed by all other objects) to DOE, in which virtually all 5000+ customer accounts were compared. The delta load ran for about 3 days (some performance bottleneck we haven't located yet).
During the delta load, data on devices was inconsistent. Accounts were missing and all transaction data disappeared. After the delta loads, all accounts and contacts are OK, save for a few. Data from activities (appointments, tasks) have reappeared, as they should. Only sales orders won't reappear. The sales orders exist in the backend and belong to active accounts and sales reps.
Settings and troubleshooting so far
We don't have any limitations for sales orders in CRM Sales Mobile configuration.
We've run delta loads for all objects in transaction SDOE_LOAD.
MAS_CUSTOMIZATION etc seem fine.
We've re-run initial load for sales orders from CRM.
In the test system, we've even reinitialized the whole CDS database on DOE and on the devices, then re-ran the loads.
Checked steps suggested in discussion
SAP CRM 2.0 initial load issue
Historical sales orders (those created before the master data reload) exist in the backend, but don't show up on the device.
If I change one of those historical sales orders in the backend, it gets sent to the device.
If I create a new sales order in the backend or on the device, it is saved and replicated just fine.
To sum it up, it seems DOE is unable to identify the sales orders relevant for replication.First Doubt i got clarify by my self as we can go with Unwired Runtime option .
But i still have doubt in :
2. How can i Modifying the Main Menu for iOS.
i am able to customize the same for windows using files SybaseCRM.Configuration.xml file.
Same how can i do for iphone/ipad. -
Cancel Billing ,Material Document(PGI),Delivery,Sales order
hi experts,
pls help me Cancel Billing ,Material Document(PGI),Delivery,Sales order.
so when ever given to billing number cancel to all the document
plz send to me code and suggestions.
plz it is urgent.
advanced thanking you.you can do that from VF02 - application menu - billing document - cancel.
if you want to do that from program use standard bapi's to cancel BAPI_BILLINGDOC_CANCEL1... also please reffer to transaction code BAPI for more bapis to reverse pgi - or you can write a BDC to reverse pgi - tcode is vl09.
i dont think you cancel order but you can delete depending on your config. check out in application menu on va02. use bapi BAPI_SALESORDER_CHANGE to reject the items in sales order. -
Stock reserver for sales order
Dear All
1. MMBE-Check the stock with batch no 6000000340 with 200 qty
2. Sale Order Created-
3. MB1B - Used Movement type 412 E with Inputs such as Sales Order,[warning message: sales order is not provided for this goods movement] after pressing the document is posted
4. In MMBE When i check the stock under batch no 6000000340 with 150 qty in unrestricted stock and Sales order Stock i can see the 50 quantity stock
Query is
1. Why the 50 quantity stock which is reserved for Sales order stock is seen under unrestricted stock and not under Reserved tab
2. When i create delivery with the same material and batch no, the stock is reduced from unrestricted stock[150 -10delivery qty] = its showing 140 qty, but stock should be reduced from 50 quantity which i have reserved for Sales order.
Please guide
Regards
Sandeep BhowmickHi Sandeep
Visualize this scenario
Material is pen in MMBE unrestricted stocks is 100
Sales order created with item cat TAN with special stock indicator E not marked and the order no is say 55 for 10 qty
Now you are reserving stocks in t code MB1B with movement type 412 E inputting the order no xx and saving it
Now in MMBE put the material as pen and input plant and storage location etc press F8
unrestricted stocks will be 90
Sales order stocks will be 10
If you click on the details of this sales order stocks you will see the order no xx and qty will be 10
(read your first post exactly the same of this)
now are delivering the sales order and doing the pgi
Now in MMBE
unrestricted stocks will be 80
Sales order stocks will be 10 (this exactly is your problem)
that means the system having a reservation in MMBE for a particular sales order xx not utilizing those stocks and still takes the stocks from the unrestricted and this is wrong
This is happening because the item cat TAN is not marked with special stock indicator E during order creation of xx
Now mark the item cat TAN with special stock indicator E and create a fresh cycle say order no yy
When you do PGI for order no yy the unrestricted will be 90 and there wont be any sales order stocks as the stocks are already PGIed
That means the system picks up the correct stocks for delivery
The system behaves very perfectly When there is sales order stocks in MMBE i dont understand ,what is the reservation you are talking about
Regards
Raja -
Hi Gurus,
I have a requirement, I want to put validity period for Sales Order.
Customer has given me a PO which is valid for certain fix time. How do I ensure that enduser shall not make PGI and Billing after this date.
Pls advice.
regards
guestFor Sale Order Expiry U can use Userexit Include MV50AFZ1 in program SAPMV50A..
In MV50AFZ1: USEREXIT_MOVE_FIELD_TO_LIKP:Here u can write ur own code according to requirement.
The progam is for Delivery, Since u need to check the Sale document date with the delivery date while doing delivery .
The userexit ,USEREXIT_MOVE_FIELD_TO_LIKP, helps to move some fields like date etc to check the date in delivey with the sale order date.
Regards,
Sam -
Business Object Template for SALES ORDER
hi all,
how to get the business object template for sales order..iam able to get template for business partners but unable to get for sales order.... i have tried all the codings given, by still iam getting a error like
<?xml version="1.0" encoding="utf-8" ?>
- <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
- <env:Body>
- <env:Fault>
- <env:Code>
<env:Value>env:Receiver</env:Value>
- <env:Subcode>
<env:Value>-1</env:Value>
</env:Subcode>
</env:Code>
- <env:Reason>
<env:Text xml:lang="en">General Error</env:Text>
</env:Reason>
- <env:Detail>
<Command>GetBusinessObjectTemplate</Command>
<SessionID>DC703486-75R0-AD4D-97D1-0E80D8195155</SessionID>
</env:Detail>
</env:Fault>
</env:Body>
</env:Envelope>
my coding for getting business object template for sales order is
<WebMethod()> Public Function GetBusinessObjectTemplate(ByVal SessionID As String) As Xml.XmlDocument
Dim n As SBODI_Server.Node
Dim s, strXML As String
Dim d As Xml.XmlDocument
d = New Xml.XmlDocument
n = New SBODI_Server.Node
strXML = "<?xml version=""1.0"" encoding=""UTF-16""?>" & _
"<env:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"">" & _
"<env:Header>" & _
"<SessionID>" & CStr(SessionID) & "</SessionID>" & _
"</env:Header><env:Body><dis:GetBusinessObjectTemplate xmlns:dis=""http://www.sap.com/SBO/DIS"">" & _
"<Object>oOrders</Object>" & _
"</dis:GetBusinessObjectTemplate></env:Body></env:Envelope>"
s = n.Interact(strXML)
d.LoadXml(s)
Return (RemoveEnv(d))
End FunctionHi,
I need to pass object key or object type to a function module 'SAP_WAPI_WORKITEMS_TO_OBJECT'. This function module returns the worklist details(workflow inbox). In worklist details i need to use the field for workitem id.
Regards,
Gautham -
Liquidity forecast Downpayment For Sales order
Hi gurus,
When i post down payment for sales order with special indicator "a" system does not decrease sales order amount at liquidity forecast(FF7B). Is it a system bug or are down payments does not considered for sales orders like purchase orders?
Kind Regards
Koray
Edited by: Koray Yanik on Mar 16, 2011 8:17 AMHi JH,
I'm using strategy 40. Actually my problem is when a sales order falls outside the consumption period of the forecast then PGI is done. The withdrawal quantity works in Normal scenario but not work if the Sales Order is outside the consumption period.
The withdrawal quantity is not captured when forecast is reloaded in the same week as the Sales Order.
Thanks,
Raymond -
Sample smart forms for sales order details
M unable to retrieve the data from database to smart form variables.Please send me some standard smart forms names for sales order report.So dat i can c how dey r declared in standard forms.
Thanks & Regards,
santhosh Kumar.Hi santosh,
here are some of the standard smartforms-print programs
Inquiry /SMB40/RVADOR01 /SMB40/SDINQ_XX
Quotation /SMB40/RVADOR01 /SMB40/SDQUO_XX
Order Confirmation /SMB40/RVADOR01 /SMB40/SDORC_XX
Cash Sales Receipt /SMB40/RVADOR01 /SMB40/SDCSH_XX
Contract /SMB40/RVADOR01 /SMB40/SDCON_XX
Scheduling Agreement /SMB40/RVADOR01 /SMB40/SDSDA_XX
Delivery Note RLE_DELNOTE /SMB40/SDDLN_XX
Invoice RLE_INVOICE /SMB40/SDINV_XX -
Scheduling problem in LSMW for Sales Order
I am doing LSMW for Sales Order using the BAPI method.
I am able to upload the item details along with their quantities also but the problem that I am now facing is the scheduling problem.I am unable to schedule the item quantities, only the last quantity passed is taken as the final quantity and the consolidated quantity is also getting ignored.
I am using E1BPSCHDL structure, in this structure I am mapping Itm_number , req_date and req_qty(scheduled qty).....
in the structure E1BPSCHDLX, the same fields are mapped as 'X'.
in the structure E1BPSDITM, I am mapping the item info along with the consolidated qty(TARGET_QTY), but this is getting ignored and the last scheduled qty is taken as the final consolidated qty and the rest scheduled qty data is getting rejected.
Please do help... I dont know why this problem is coming... tried n number of alternatives but of no hope... do try to help me
with regards,
Daya.Check the format of your date and check the format expected.
sometimes you can have diff like YYYYMMDD, MM.DD.YYYY,...
Look at the converted data.
Hope this helps,
Erwan -
Query for Sales Order Analysis
Dear Experts
I have written a Query for Sales Order Analysis and would like to have help on this.
The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
where U_Total_GP is a UDF for storing the GP of each order.
After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
Thank you
Regards
EltonHi Elton,
Try this:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
Union ALL
SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0]
ORDER BY T0.[DocNum]
Thanks,
Gordon -
Workflow for Sales Order Release via Status Profile
Dear all,
i want to make a workflow for sales order which have 4 User Status in One status profile.
Once Event triggered for sales order
1. Mail should go to main authority with sales order number.
2. Once authority will do some changes in the required field then he/she changes
the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
3. Once again same changes in sales order but now user status-2 from user status-1
as per line Item and mail should go to department no-2 (Head authority).
4. Once again same changes in sales order but now user status-3 from user status-2
as per line Item and mail should go to department no-3 (Head authority).
5. Once again same changes in sales order but now user status-4 from user status-3
as per line Item and mail should go to department no-4 (Head authority) .
and parrally for each changes of Status mail should also go to User (Event Creator).
6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
please help me out.
Thank YouHi Neeraj,
First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
Just go with these things and let me know if you get stuck up somewhere.
Regards,
Guddan -
hi,
i need to eliminate leading zeros for PO number which comes in SO created trough ALE.i found the enhancement for the FM idoc_input_orders.in that enahancement we have 12 FM's.my Leading zeros are comming for field belnr which comes in e1edk01 segment of idoc orders05.now i had coded my part of coding in FM exit_saplved.._oo1 and i had activated that.but it is not working for me.than i tought of going to other FM exit_sapl..._009.in which i'm not able go into the include either.plz help me out.thank you.Hi, Krishna!
With IDOC_INPUT_ORDERS during IDoc interpretation PO number is assigned to XVBAK-BSTKD field which is later used for sales order creation with reference to PO.
So all you need is to use some customer exit with changing parameters containing XVBAK after IDoc interpretation is completed. For example you can use EXIT_SAPLVEDA_009 which is called at the end of IDoc check after interpretation.
Regards,
Maxim. -
RBA GATP check is not getting invoked for Sales Order
Hi Everyone,
RBA GATP check is not getting invoked for Sales order.
I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
I would expect that system would propose the same material in an alternate location where we have stock through RBA.
Request you to share ideas on this.
Regards,
Avijit DuttaHi Avijit,
You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
Thanks,
Bala. -
How to create a daily report for sales order
hi
how to create a daily report for sales order. what fields it must consists of. what are the tables it need?Hi
You have to use the sales order tables VBAK,VBAP and VBEP
So keep date field on selection screen
and treat this date as Order creation data audat field in VBAK.
based on this fetch the data from VBAK and VBAP with the following fields like
VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS etc and display in the report
<b>Reward points for useful Answers</b>
Regards
Anji
Maybe you are looking for
-
ITunes Match for the iMac - Music Files on an iPod?
I subscribe to iTunes Match and have an iPod Classic 160GB. Is it possible to use iTunes Match for my entire music library on my iMac & iPhone BUT put the actual song files on my iPod Classic? The problem is my music library is large, won't fit on my
-
ICloud Backup box appears in middle of screen saying, "This iPad hasn't been backed up in 3 weeks. Backups happen when this iPad is plugged in, locked, and connected to Wi-Fi. When I click the "OK", it changes colors like it's working, but nothing ha
-
Some visited links don't change color
on some of my hyperlinks (that go to other pages in the same file) don't change color after they've been visited... example: they start out regular "hyperlink" blue... then after visiting they should change (e.g., to purple) but they don't. I read in
-
Online Videos not playing - Nokia Lumia 520
Sir i have Nokia Lumia 520 sir i don't played the online videos on my mobile but sir you tube are play good pls help me Moderator's Note: The subject was amended as the post was moved to the appropriate board.
-
gurus, how to take cash flow statements for current and previous years with all schedules including supporting the all line items,request you to explain the process involved regards, rajen