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

Similar Messages

  • 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

  • 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
    Regards

    Hi 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

  • XABLN not getting updated in delivery during PGI by IDoc

    Hi Experts,
    Please help with scenario below
    I am posting an IDoc with XABLN (GR/GI Slip number) in the EDL20 segment
    The IDoc posts successfully and performs GI too (the delivery is an utbound delivery and am doing a PGI using this inbound IDOc from customer)
    But the GR/GI field is not getting updated in the Outbound delivery (this is for Italy, so GR/GI is required by business)
    any inputs will be greatly appreciated,
    Thanks very much
    Usman
    Edited by: Usman Basha on Jul 30, 2009 11:16 PM

    Found this by my ABAPer (myself ).
    I thought there must be a functinal solution for this one
    but got to change some code to make it happen.
    if anyone else is looking for the same:
    go to user exit  ZXTRKU03 and export the XABLN number to a memory id, will need this in the "USER exit save"
    then go to SD user exit MV50AFZ1 and retreive it and update XLIKP-XABLN and read the XABLN number from memory and modify this internal table.
    Thanks
    Usman

  • 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.

  • Customer Master,for a Vendor, takes wrong Ship-to in Return Delivery

    Hi Everyone,
    Process: Return to vendor based on the standard PO (type NB) with return delivery (type RL).
    Settings Made: A customer master with account group Sold-to created and the code maintained in vendor master and vice versa. In this customer master Ship-to parter is not the same as other partner functions. Say Sold-to = Billed-to = Payer = 1234, but Ship-to = 5678.
    Issue: Whenever a return delivery is created agianst a PO (in VL10D) the system proposes Ship-to customer same as the sold-to 1234 . Delivery is getting processed without any error but the question is why system should propose 1234 as Ship-to which is not defined in the parter functions of Sold-to cusotmer 1234? Instead system should take 5678 as Ship-to which is the only entry in the sold-to cusotmer 1234 available.
    If a sales order is created for this customer, system correctly populates Sold-to (1234) and Ship-to (5678). The issue is only when a return delivery gets created against a standard PO.
    Kindly advise.
    Thanks,
    Hemant

    Hi
    My reply to you is more of logical than SAP
    Normally SP is the most dominant and important party in a sales process
    If you have a different SH in a CMR that means this sold to party tells you rather than delivering goods to me you deliver it to this person
    In standard SAP goods receiving hrs,Taxes,ship to address these are the data taken from a SH in a sales order
    In case of returns the decision to return stocks will be taken only by SP and not the person who receives the goods
    What i am telling is more of logical business process
    That is why the system is proposing likewise
    May be the other experts has give better explanation for this
    Regards
    Raja

  • Chapter ID disappears during return delivery

    Hi All,
    At the time of posting, the return delivery (Mvmt Type 122) w.r.t Material Document, the chapter id of the material disappears and the system displays the error message "Enter Chapter Id for the material"; Message No. 8I119.
    In J1ID, the chapter id is already maintained for the plant-material combination.
    Please help.
    Regards,
    Bijoy Kumar

    The return to vendor process begins with a requirement to return an item to a vendor. The initial activity is to request a Returns Material Authorization (RMA) from the vendor. This is a manual step and the RMA number will be entered into a text field in the return PO. The Buyer will then create a Return PO in the system. The return PO is similar to a standard PO except for the return flag which sets up the return delivery to enable shipment of the item(s) back to the vendor.
    The Return PO confirmation goes to the Vendor and the Return Delivery is sent to the Shipping department where the item(s) are picked and shipped back along with a Delivery Note. When the Shipping department creates the delivery the item(s) are relieved from inventory. A credit memo is generated which relieves the liability to the vendor.
    1. ME21N - Create Purchase Order with appropriate Tax Code
    2. MIGO - Goods Receipt > Purchase Order (Here Part 1 OR Capture OR Capture & Post Excise Invoice, as per requirement)
    3. J1IEX - Post Excise Invoice (if only captured during MIGO)
    4. MIRO - LIV
    After Goods Receipt of FG from Production, follow the below Process :
    For Excise Registers;
    1. J1I5 - Register creation for RG1
    2. J2I5 - Extract
    3. J2I6 - Print Utility
    SD related Transactions: -
    1. VA01 - Sales Order
    2. VL01N - Delivery and PGI
    3. VF01 - Billing Document
    4. J1IIN - Outgoing Excise Invoice
    TQ.

  • HT4796 How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users?

    How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users? Having to log out just to sign in on a different user to access the files is absurd.
    Do I make all the files sharable to all the NOW users on the mac then just delete the files? Or can i erase my account that I made when starting up my new mac and then just use the one with the transferred files?
    I just dont want to have to og in and out of 2 different accounts .. Help please.         
    -Nina

    Sorry. /Users is a folder path. It would be similar to C:\Users (if that exists on Windows).
    So, in the Finder, select Computer from the Go menu.
    You'll see Macintosh HD, double-click that to open it.
    In there you'll see several folders. One is Users. That is where all the user Home folders exist. Select the other account's home folder and go to step 3.
    If you have any more confusion, please stop and ask. We'll get there.
    If you feel more comfortable, you can just log into that other account and move the files into /Users/Shared.
    Then, log into the account you wish to use and copy the files from the Shared folder and paste them into your Home folder, wherever they belong, Documents, Music, Pictures, etc.  That just takes a little more work. Transferring them into Shared, and then copying into your home sets the permissions on the files so that you won't have a problem accessing them later. The steps I provided just prevent you from having to do the double move, since you are not going to use the old account once you are done.
    Quick unix shorthand. If someone gives you a file path that begins with a /, that means the root of the hard drive, ie Macintosh HD (if you haven't renamed it). The path separator in unix is /, not \.
    A path that starts with ~/ means your Home folder, the one inside /Users named with your account name.

  • Error Message during posting return delivery against materil document

    Dear experts
    I have created a purchase order with batch specific unit of measure KAI.
    I created the inbound  delivery document (say for eg: 30,000 KG)
    I have taken GRN for the above IBD through MIGO transaction with 101 movement for all 30,000 KG.
    Later i have posted the return delivery 122 movement with reference to above 101 material document. 30,000 KG
    After this i realized that i need cancel the 101 movement document.
    So cancelled the 122 movement document, and try to cancell the 101 material document.
    Then system is issuing error message VLA 321 "Movement type 102 cannot be used here".
    Also if i again want to post return delivery to send the stock back, then also i have error message. but this time it is VLA 319
    "Return delivery qty greater than previously GR-posted qty:"
    My Support package for SAP_APPL, relese 600 is SAPKH60019.
    Please suggest me solution to fix these errors as these are not relavant for the situation.
    Regards/Murali

    Hi,
    Can you please check this note...
    Note 1050944 - GR for inbound delivery using inventory mgmt as of ECC 6.00
    Note 1342935 - Error message BORGR 623 during GR reversal in MIGO
    Regards
    Bhuban

  • Problem with pgi for returns delivery

    Hi,
    I'm trying to do PGI for returns delivery through BAPI_GOODSMVT_CREATE.
    The when the delivery is opened through VL02N, the Post Goods Issue button has Post Goods Receipt text written on it. When the GI is done, the material document has movement type 651.
    However I'm not able to create the same through the BAPI. I have tried various combinations of GM_CODE and all other variables. Have anybody of you tried doing movement type 651 for a returns delivery using the same BAPI?
    Please reply if you've come across some similar situation. I know how to use the BAPI,  I've been using it successfully for other movement codes etc. It's only in this case that I'm stuck up.
    Regards,
    Vijay

    Hi Vijay,
    can u pls tell me how  did u do  it....i am also having the same requirement....
    Developed a custom program for creating and updating Goods Movement Document by using BAPI_GOODSMVT_CREATE & WS_DELIVERY_UPDATE_2.
    thanks, Ankita.

  • How to default current date in MIGO while creating a return delivery

    HI,
    While creating the return delivery using 122 mov type, system is defaulting the document date of the original doc which is being referred as the document date of the return delivery document.
    How we can make the system to populate current date as document date automatically, even though we are referring a material doc to create the return delivery. Pl suggest.
    Regards,
    Robin

    HI,
    My question is,
    How we can make the system to populate current date as document date automatically, even though we are referring a material doc to create the return delivery. Pl suggest.
    Regards,
    Robin

  • Automatically create batch during return delivery

    Dear SD Gurus,
    Good Day!
    Is there any way to make the system to create batch automatically during return delivery??
    The requirement is, to get the system to work like MM where batch can be set to be created automatically by movement type. During return delivery, we don't have to select the batch but system will automatically create a batch.
    Thanks and have a nice day.
    Best Regards,
    Soo

    Hi,
    It is possible to activate batch during delivery/return delivery. However this again needs to be configured by the MM team. If you work along with the MM team, they should be able to enable this functionality.
    Certain functions like Batch Mngt, Outputs etc are independent of the module and they work based on teh applications.
    Hope this helps you
    YOu can reward if it helps you

  • Problem while doing PGI for Returns Delivery

    Hi,
    We are facing some problem which doing PGI for a returns delivery. Our scenario is HU and WM managed. After creation of delivery I have created a TO and has two different valuation type of same material. Total quantity in TO is 2, 1 of each valuation type. So, automatically, batch split happened for the line item in delivery.
    Now when I am trying to do PGI for this delivery, I get en error message saying "Enter Valuation Type". The movement type used here is 161 (Vendor Returns)
    Same thing is happening successfully for movement type 643 (Transfer inter company code).  What I can gather is that while creating 161 document against delivery system is not automatically taking the valuation types mentioned in line item of delivery.
    Let me know possible reasons for this error and resolution.
    Regards,
    Vishal

    Implement the OSS note 965985

  • Error during reversal of return delivery posting.

    Hi,
    We have received some goods returned  from customer.
    We created return order , return delivery and posted GR for return delivery to have stock in.
    But now we realise that we have booked material agaonst wrong delivery so we need to cancel return delivery.
    when i am trying to reverse return delivery with VL09 , geting error as "error during search for WM movemnt type (652 1 L) "
    how i should cancel this return delivery
    thnks

    Hi,
    Is L9005 the error message?
    Please check your entry in table T321 (V_T321).
    SPRO > LE > WM > Interfaces > IM > Define Movement Types - here choosse LE-WM interface to Inventory Management.
    As per the error message you should maintain a record for your WH:
    - reference mvt 652
    - special indicator: 1 (this indicator is likely to be in the material master of your product too)
    - movement indicator L
    Regards,
    Csaba

  • Error during Returns Delivery in a Repair Order

    Hi,
    I am getting the follg error msg during Returns Delivery for a  Serviceable Material that is Serialized.:
    "Copying is not poss.because an entry is missing in Table TVCPL: LF RAS IRRS"
    However it maintain this in Copy Control for Deliveries, system is throwing a dump:
    "Short text of error message:
    No copying of object list entries not matching object usage 'S'
    Technical information about the message:
    Diagnosis
    An object list entry, which does not belong to a serial number object list, is used as a copy model."
    How can I resolve this ?
    Thanks.
    Raj

    Maintain the configuration step of copy control for deliveries. T-code VTLA.

Maybe you are looking for

  • How can i insert photos in my posts?

    i know this doesnt deal with phones directly but im wondering how can i post photos in my message/posts? been seaching for the answer no luck......

  • How do i change the color of a JTable's column names

    hai, i'm very new to java and trying to customize the look of a JTable. how do i change the color of a JTable's Column names. i know its very simple, i just couldn't figure out how to do it!! thanx in advance

  • Delay-updates-until-end-of-tx flag behavior in WLS 6.1 SP4

    Hi All! I'm a bit in trouble with a strange behavior with the <delay-updates-until-end-of-tx> tag. I didn't find any message about my problem here around, so I don't know if I missunderstand something. Has somebody had the same (following) experience

  • How to set images as buttons?

    Hi, I am trying to create a GUI in which each frame/panel has few buttons.I am able to put an icon in the button.Now please can u tell me how one can set an image as button?I am using netbeans to do the above. Thanku..

  • How to display another table's field value with an LOV?

    Hi all! On my JSP application I'm using an LOV based on 2 tables (datasources). I take the EMP and DEPT tables as an example: The user can click on the LOV button to select a department for a specific employee. I use the following code for the LOV: <