Return Delivery Goods Receipt amount takes current MAP instead of old MAP
Hi,
I'm facing a problem in the following scenario:
1. Sales order is created
2. Delivery is created
3. Goods Issue for the Delivery is posted (cost of goods sold = current moving average price of material = 100 SEK)
4. Invoice is created
Event: Moving average price of material is increased with 100 % (Moving average price changed from 100 SEK to 200 SEK)
Event: Customer returns the order for some reason
5. Return order is created with reference to the invoice in step 4 (same amount the invoice)
6. Return delivery is created
7. Credit note is created (same amount as the invoice)
8. Goods Receipt for the Returns delivery is posted (cost of goods sold = current moving average price of material = 200 SEK)
Result: The financial bookings after the Goods Receipt will use the new moving average price and the stock value will increase with 200 SEK, even though the initial stock deduction was only 100 SEK to delivery the material to the customer.
Problem: We have now created 100 SEK worth of stock --> This is not allowed
Question: How can I manipulate the goods receipt amount to use the old moving average price of 100 SEK instead of 200 SEK?
Thanks for your suggestions!
Edited by: Berglund Teodor on Jun 1, 2010 4:17 PM
Hi Teodor!
I have to solve the same problem. Could you give me some more information about tha way you used this badi?
Thank you .
Florina
Similar Messages
-
Return delivery during PGI takes current MAP instead of old MAP
Re: Return Delivery Goods Receipt amount takes current MAP instead of old MAP
Re: Sales return delivery - amount takes current MAP instead of old MAP
I have similar question as above link. This link is marked as answered, however I am not able to resolve this using the same BADI .
LE_SHP_GOODSMOVEMENT.
Thanks,
Sam.Check if its parameters allow you to take the value back(export or Tables) from the BADI Method or not.
Also pl check in some BADIs, there are two set of tables/ structures, one for carrying back the data and other as an updation indicator (value = 'X') in corresponding returning field showing which value to be updated/taken back from BADI.
Rgds,
Naveen -
UDF in message mapping instead of Java Mapping. Pls advice urgent
Hi All,
My scenario
CRM --- XI -- CRM
In XI I have to open socket connection.
Pls refer link:
/people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
Can Java Mapping code given in above link for socket connection can be used in Message Mapping (CRM -- CRM)UDF?
Pls advice urgent
RegardsHi Henry,
I understood your requirement.
But as per the architecture of XI/PI some message has to trigger your scenario.
In this case there is no adapter where you can directly communicate with CRM system.
Do one thing configure a dummy scenario on the sender side.
Use File adapter for simplicity. once it pools the file with some dummy data in the file it comes to Interface mapping(message mapping) of the PIPELINE steps. Now use the code as you mentioned above(within UDF) for opening socket to CRM system and implement you business logic within that program and write the response to target interface which will infact talk with CRM system.
Dont forget to do the coding in an infinite loop with some delay (if required). Other wise every time you have to put a message for File Adapter for triggering purposes.
You can also acheive the same if you use Java Mapping instead of Graphical mapping with UDF(code for Opening socket and business logic). I suggest you to use Java Mapping.
I dont know how you will comunicate with CRM system on receiver side.?
Thanks,
Gujjeti -
Send paypal subscription amount to new recipient instead of old recipient
We need to create web app, we want paypal account holder to authorize web app to send money from paypay holder account on behalf of paypal account holder. Using this way how we can send subscription amount to new recipient instead of old one. Because one of my client saying that this paypal stuff has been implemented in https://www.jvzoo.com/, Here user can give app authorization to pay to any paypal account essentailly authorization is for app to pay monthly $X .
For example in jvzoo.com , make vendor account set subscription for 1 day for $0.01 then pay from other paypal account that $0.01 then switch vendor paypal account (must not be same and the one from which you pay) and you will get money to 2nd (new) vendor account
I need your help and guidence for implement the above paypal stuff in my website.Try rebuilding that account's inbox. Select the specific account's inbox, then on the menubar, under Mailbox, choose Rebuild (at the very bottom). If you have more than one email account, you will have to expand the inbox to show the individual email accounts' inboxes.
You may want to first copy your Library's Mail and Mail Download folders to your Desktop, and the file com.apple.mail.plist from your Library's Preferences folder. That way, if something unexpected happens, you can just move those copies back into their original locations and all will be as it was. -
Inbound delivery goods receipt
G'day All,
We have just implemented WMS and use both EDI and manual ASN's for Purchase Orders.
Pre WMS we would receipt the Inbound Delivery via MIGO and if the receipt amount is outside the Confirmation Control Key tolerance for KG's we would receive a message. ie "PU Ordered quantity exceeded by xxx KG".
Now we are using WMS and before we Goods Receipt, for each Inbound Delivery we also create an Inbound Transfer Order using VL06I For Putaway.
BUT now when we use VL06I (instead of MIGO) to confirm and Goods Receipt in ONE step by using For confirmatn.
For each inbound delivery we choose confirm in background and use option 2 in Adopt Putaway qty (Copy stock plcmt qty as deliv.qty into delivery and post GI).
The problem is we do NOT receive the error message we did in MIGO. The Inbound TO is confirmed but the GR fails but we dont know anything about it until we discover a negative amount in our interim GR Storage Type.
If we do it in two steps and use option 1 (Stock placement qty adopted into delivery as delivery qty) which confirms the TO first, then use For gds receipt we get the error message.
Can anyone help me with ideas on getting the message to display in VL06IC For confirmatn When we confirm the TO and GR in one step? We do not want to use the 2 step method as our Despatch department is already overworked and they will rebel and take the easy way out, leaving our inventory controllers with large headaches!
Thankyou
Luke
nullHi
If you are carrying out a Put away against the inbound delivery first and confirming the TO the negative balance is normal as IM Does not know it has arrived yet.
Once the Put away is completed you need to go back to the inbound delivery and Post Goods receipt. This will show the stock in IM and remove the negative.
Reason
Because you are putting the stock away before you inform IM then the stock has to come from somewhere and as the movement type is 101 it creates a negative qty in 902. The post goods issue will post corresponding qty in 902 and cancel out the negative.
I hope that this helps -
EKES-DABMG error - Inbound delivery - good receipt
I have a big problem about inbound delivery (ID) ;
There are two ID for same purchase orders (PO1) item (POI1) and different delivery date .
deliv. date amount
ID1 ; 15.02.2007 10 pieces
ID2 ; 20.02.2007 25 pieces
When Goods Receipt take place for ID2 ( Migo - reference with inbound delivery ) ;
Table EKES ;
ekes-dabmg
PO1 POI1 ID1 10
PO1 POI1 ID2 15
but I expect this one ;
ekes-dabmg
PO1 POI1 ID1 0
PO1 POI1 ID2 25
Because I didn't do anything ( good issue ) for ID1 .
thanks a lot..I solved this problem ; In table T163G , you must mark WEZUO field .
Customizing step ; MM - Purchasing - Confirmations - Set Up Confirmation Control -
Goods Receipt in the Current Date however Goods Issue in the previous date.
Dear Experts,
I am doing a GR through MB1C (Movement Type 561) in the Current Date (Both Posting and Document Date are current) for a Particular batch of Material. However when I am trying to create a sales order->Delivery and PGI in the past date the system is allowing me to do so. What could be the issue ?
Example : On 23-02-2010 Goods Receipt of Material "A" for 50 Tons for Batch "B100" done through MB1C Movement Type 561.
Stock in System as on Date 23-02-2010 in MMBE is showing 50 Tons of Material "A", Batch "B100".
A Sales Order is created for 22-02-2010 for the same Matrial, qty, batch and PGI is done on 22-02-2010.Hi,
Issue is that previous period is not closed that is why system allow to create delivery in back date.
Kapil -
Goods Receipt Amount based on PO price instead of moveing average price
Is it possible to customise SAP so that the amount in Goods Receipt transactions is calculated based on quantity * PO price instead of quantity * moving average price?
Thanks.Thanks for your reply.
Standard SAP functionality:
1. When material ledger is active, the GR amount is based on pre-GR moving average price.
2. When material ledger is not active, the GR amount is based on PO price.
We use the material ledger but want the GR transactions to record the amount based on PO price.
Any suggestions? -
Goods Receipt at Moving Average price instead of PO price
We are finding a scenario where in goods receipt is getting booked at Moving average price instead of PO price.
The material is defined with price control indicator as V like any other material. The issue is identifed for a specific material only.
Can any one tell the reason for this?
Regards,
SomHere are responses against your queries
1. does your PO have an account assignment? - No. This is a Material PO
2. Was the invoice posed in advance to the goods receipt? - No. In fact invoices are still to be posted. However, there is an advance payment to the vendor. Not sure if this has anything to do?
Pl. help -
Hi all,
We're facing an issue related to GR and material returns, connecting to SAP backend system.
On this first screen we're using MIGO transaction and you'll see that we have a PO (4200000027) with one material (MATERIAL-1) which has a pending quantity of 298 EA to be received.
However, on this second screen, you'll see that when the PO gets downloaded to the Agentry client, it shows that only 295 EA are pending and that it shows that 5 EA has been received, while there are no items reversed or returned.
Finally, when we go to verify the Purchase History for the material using ME23N transaction, you'll see that indeed 5 EA have been received of the material, but also several returns have been made. So, after calculating the difference, the total quantity of items received are 2.
From this I understand that the SAP IM application has not downloaded the returns, and that is only considering the receipts that have been done. For that reason, it thinks that 295 EA are pending, when in reality it's supposed to be 298 EA.
Has anyone faced this issue before? Is this a known bug? Am I missing some configuration?
Thanks for your help
-OmarOmar,
I'm not aware of any known issues with respective to calculation of open quantity which is quantity ordered - ( Total received ) - Total returned. In your case it is not working I guess.
what I would I suggest is to put a break point on SAP side for Purchase order fetch and check if it is something wrong with calculations. if it something to do with calculation then please open OSS message with SAP support team for IM 4.0 product.
Thanks
Manju. -
Dump after implementing the Note 741385 Goods receipts up to current date for scheduling agreements
Hi,
I implemented the sap note 741385, but while performing GR getting dump
I unable to figure out why the EXIT_SAPLEINR_003 has been called, please find the following run time error .
Runtime Errors
CALL_FUNCTION_PARM_UNKNOWN
Except.
CX_SY_DYN_CALL_PARAM_NOT_FOUND
Date and Time
10.04.2014 11:39:15
Short text
Function parameter "ISU_ENHANCEMENT" is unknown.
What happened?
Function module "EXIT_SAPLEINR_003" was called
with the parameter "ISU_ENHANCEMENT".
This parameter is not defined.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was
not caught in
procedure "WE_BEWERTEN" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Function module "EXIT_SAPLEINR_003" was called
with the parameter "ISU_ENHANCEMENT".
This parameter is not defined.
Missing RAISING Clause in Interface
Program
SAPLEINR
Include
LEINRF25
Row
8
Module type
(FORM)
Module Name
WE_BEWERTEN
Trigger Location of Exception
Program
SAPLEINR
Include
LEINRF25
Row
151
Module type
(FORM)
Module Name
WE_BEWERTEN
Source Code Extract
122
IMPORTING
123
e_vkwrt
= pot-vkwrt
124
e_vkwra
= pot-vkwra
125
TABLES
126
i_tkomv
= tkomv
127
EXCEPTIONS
128
OTHERS
= 01.
129
IF sy-subrc EQ 0.
130
MODIFY pot.
131
ENDIF.
132
EXIT.
133 ENDIF.
134
135 MOVE-CORRESPONDING pot TO ekpo.
136
137 DATA: p_menge LIKE ekpo-menge,
"1.2 KR
138
p_datum LIKE sy-datum.
"1.2 KR
139
"1.2 KR
140 * pot-erfmg wird in pot_aufbauen schon entsprechend vorbelegt
141 p_datum = budat.
"1.2 KR
142 p_menge = pot-erfmg.
"1.2 KR
143
144 *- Userexit um Preisfindungsdatum und -menge zu ändern ----------------*
145 * --> kann auch bei Bestellungen genutzt werden, um das Datum zu ändern
146 * nicht aber die Menge (macht keinen Sinn und ist nicht programmiert)
147 MOVE ett[] TO cett[].
148
149 ENHANCEMENT-POINT WE_BEWERTEN_05 SPOTS ES_SAPLEINR.
150
>>>> CALL CUSTOMER-FUNCTION '003'
152
EXPORTING i_ekko = ekko
153
i_ekpo = ekpo
154
i_budat = budat
155
i_bldat = i_bldat
156
isu_enhancement = ls_enhancement
"IS2ERP
157
TABLES
xeket = cett
158
CHANGING c_datum = p_datum
159
c_menge = p_menge.
160 REFRESH cett.
"99794
161 IF ekko-bstyp EQ bstyp-best.
162
p_menge = pot-erfmg.
"damit wird die Bestellmenge verwendet
163 ELSE.
164
pot-erfmg = p_menge.
165 ENDIF.
166
167 * MOVE-CORRESPONDING pot TO potkey.
"Preisfindungsmenge merken
168 * READ TABLE ekp WITH KEY potkey.
"MWE-HPR-HW-205016
169 READ TABLE ekp WITH KEY ebeln = pot-ebeln
170
ebelp = pot-ebelpHi,
please implement SAP note 916474 - A dump occurs when you call user exit EXIT_SAPLEINR_003
SAP enhancement MEVME001 contains both
EXIT_SAPLEINR_001
EXIT_SAPLEINR_003
Regards,
Klaus -
Customer Exits for Delivery & Goods Receipt - Very Urgent
Hi Everyone,
We have got a requirement where we have to trigger a screen exit/badi at the time of posting the material document in transaction MIGO or delivery document in VL01N, can any one tell me the right exit as this is very urgent.
Rgds,Hi,
Will you elaborate on this, I cant use call screen statement as this gives syntax errors, I have to necessarily use 'leave to' or 'call transaction', however using this above mentioned I wont have any scope for the variables which were there in the method of the BADI????,
Any help would be very much rewarded.
Rgds, -
Goods receipt subtotal is showing zero instead sum of quantity..!
Hi Guys,
1. Goods movement subtotal showing 0 instead of the total of the quantity.
The check throwing the following error message.
Update control of movement type is incorrect (entry 122 X X)
Message no. M7226
2. Purchase order data tab not showing item details for variance items but showing the message
"This item has not been ordered." But the PO items are ordered and present in the PO.
Please find the screen shots.
Thanks
SamHi Sam,
Kindly Check table T156SC entries there is a entry missing in the table.
And if required so kindly Maintain the missing entries in table.
If entries of movement type 101 are prefect then
Goto Transaction -- SE37 ,
Function module -- MB_CONTROL_MOVETYPE_GET_SINGLE
Kindly do Set a break point to select statement which is failing at the table above at both the systems.You should be able to crack the error.
Hope this will help you to solve the issue.
And if not Kindly let us know.
Thanks & Regards
Ritesh Kumar -
How can I go back to google maps instead of apple maps?
Apple maps are very very very bad. Is it possible to go back to google maps. I come from Spain and maps doesn't work. Always finds what you are not looking for and what you want does not exist in 75% of searches. You find places and apple maps is not able to give a route. Says that no route available and that's all
The app that comes with the operating system is a disaster.
Any way to go back to google maps???Download the Google Maps app from the App Store.
-
Goods Receipt through the RF menu, open delivery?
I am trying to do a good recepit through the RF menu. Once I click on the goods receipt , it takes me to the screen which asks for PO/delivery #, Material # and quantity.
When I enter in the PO, mat # and Qty , it gives me the error message "No Open Delivery"
So I went through the RF screen overview documentation which also says that "Material must exist in the order and in the open delivery"
Can anyone please explain what this means and how can I create an open delivery?
ThanksHi, The issue may be due to this - the component is batch managed but the batch data is blank in the component list of the Purchase Order Item. Or a batch is maintained in the PO item component list but the stock for the same batch is not available with Vendor, i.e. stock with some other batch may be available.
In a receipt for Sub-cont PO, 101 happens for FG and 543 happens for component. But there is no option to provide the component details in a delivery. So in standard system, when 101 happens via a delivery, 543 will be posted in the background. So any error in posting 543 will result in a blank screen without any error message.
You can fix this by maintaining correct batch in the PO component list.
But there is another issue - you cannot do 'cancel posting' and 'return delivery' for this receipt. Only you can reverse the inbound delivery and you should know that the recevied stock shouldn't have been processed to do reversal of inbound delivery.
Maybe you are looking for
-
Targeting window 8,1 from a 2008r2 server
Hi, I've trying to apply the regkey to boot windows 8.1 straight to the desktop. I want to target just windows 8 but cannot see it in the dropdown list of the target editor window. I've installed the 2012/8 admin templates and created the central sto
-
Problem JSF Posting back on comamndLink
I have a commandLink in JSF that is posting back instead of going to the desired destination. Does anyone know why this might be occuring? I don't get any exceptions and the browser seems to be making a request to the server, the action just never ge
-
Adding a flash object behind another object
Hi, using dreamweaver 8, and I want to add a flash object behind an image. Basically I have downloaded an image of a retro TV, edited in Photoshop and taken the screen out. The TV is sitting on a transparent canvas, so that the screen would be transp
-
Apache HTTP Server Plug-In for HPUX
First action: Installation of BEA Weblogic Server 6.1 Servicepack 4 Apache Webserver Version 2.0.43 gcc 3.0.2 on HP-UX hansapp4 B.11.11 U 9000/800 Apache Webserver can be started ! Aditional Action: Installation of BEA's Apache HTTP Server Plug-In as
-
Modify the TFS 2013 Web access Home screen to increase the area of Pinned Items
Hi All, We have a unique requirement to modify the TFS 2013 Web access Home screen to increase the area of Pinned Items, as of now it is coming as 4*X tile row column but we might need that to see it as 8*X tile. Is it possible to change the home pag