Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 1026

Error message while Copying PO no & Date Fields of all line items including header in creation of Return Order ( VA01 ) from Original Order using user-exits

$
0
0

Hi ABAP gurus ,

 

My Requirement was to Copy PO no & Date Fields of all line items including header in creation of Return Order ( VA01 ) from Original Order .My return order is now showing the PO number and dates of all line items including the header value in Return Order after using two different exits in MV45AFZZ , one for header and other for items .

 

But , when this return order is saved , it gives the error message : Item 10 with HU managed storage location F201 is not allowed .

 

Actually return order cannot have the same handling unit storage location . so i tried to clear VBAP-LGORT in In MV45AFZB in userexit :  USEREXIT_SOURCE_DETERMINATION . But it clears at that time however brings the value again during execution . do i need to redetermine storage location using FM  SD_STORAGE_LOCATION_DETERMINE .


Where i have to write the code for  redetermine storage location and what parameters i have to use ?


The code which i have written to copy PO number from order to return order is attached as text file with this post .


Kindly throw some light on the issue Plz .


This functionality of displaying PO numbers is already there in standard VA03 display order transaction however we r trying to get this functionality while creating return order VA01 .



Thanks ,

Dave


error.png


image (6).png


image (4).png

image (2).png


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>