Import License Check for Return Orders
Hello,
We are currently testing compliance for return orders in sales.
We would like to check the import license for these orders.
For this we have defined a separate legal regulation and assigned the combination country of plant (= legal unit) and country of departure to it.
When we process the return order the GTS system can not retrieve the correct country of departure.
to check available import licenses.
Does this has something to do with the incorrect determination of the partner function for returns.
I suppose that we need a function for inbound movements : goods supplier, vendor ?
Thanks for your support
Regrds
Frank
Hi,
What Iam going to tell is not advisable but if you want you can do this.
1)Go to T.code:OVAH
2) Select the message :229
3) Select Application : V4
After selecting the above message and application----towards on the Right hand side "Change the Message category from Waring to Error".
After doing the above setting--when ever the user tries to give more quantity in Return order when referenced from Invoice---""System will give error message" and does not allow to give more Quantity when referenced from the Invoiced quantity.
Regards
SK
Similar Messages
-
BADI for return order creation in CRM
Hi group,
I have an requirement. In CRM ,Return order should be created from UBB service contract when change process takes place(Contract termination), ie throgh actions in the UBB service contract. these steps are configured through Actions.
The requirement is, I need to enhance the BADI implemention(COPY_DOCUMENT) by creating a function module. this function module should provide the necessary data for Return Order creation. Is there any function module to create a Return order in CRM or how to proceed? Appreciate if any suggestions
Regards,
SankarHi,
You can use BAPI_SALESORDER_CREATEFROMDAT2 .
In import TESTRUN = X
Description
This parameter is a test switch.
If you activate the switch, the system does not save the document.
Value range
Space = Document should be saved
X = Document should not be saved
Default
Space -
Hi,
Can anyone help me on an user exit for return orders pricing.i have to do the pricing based on some logic .but im unable to find the table in which material/customer exists (except KNMT table) such that i can find entry for shipment and go head and find the avg price.
can suggestion also is welcomeHi,
following is the code that can be helpful.
use the following code in the MV45AFZZ include program and trigger the following code in a include program USEREXIT_PRICING_PREPARE_TKOMP.
hope it helps.
CHECK vbak-auart EQ 'ZRE'.
*CHECK vbak-vkorg EQ '1300'.
T Y P E D E C L A R A T I O N S *
TYPES : BEGIN OF ty_s_retorders,
kunag TYPE vbrk-kunag, " Customer Number
vbeln TYPE vbrp-vbeln, " Billing Doucuement
matnr TYPE vbrp-matnr, " Material Number
vgpos TYPE vbrp-vgpos, " Item Number
fkimg TYPE vbrp-fkimg, " Item Quantity
netwr TYPE vbrp-netwr, " Net price of the Item
erdat TYPE vbrk-erdat, " Date of cretaion of the record
value TYPE vbrp-netwr, " Net value of the Item
END OF ty_s_retorders,
ty_t_retorders TYPE STANDARD TABLE OF ty_s_retorders.
V A R I A B L E S *
DATA : lv_quant TYPE vbrp-fkimg, " Total quantity
lv_value TYPE vbrp-netwr, " Total value of the materials
lv_avgpr TYPE vbrp-netwr, " Averge Price of the material
lv_dat TYPE i, " variable to hold the year value
lv_date TYPE vbrk-erdat. " Creation date of the docuement
I N T E R N A L T A B L E S *
DATA : gt_retorders TYPE ty_t_retorders.
G L O B A L D A T A D E C L A R A T I O N S *
DATA : gs_output TYPE ty_s_retorders.
CONSTANTS : lc_zpr0(4) TYPE c VALUE 'ZPR0' .
Get date value which is 12 months ago.
lv_dat = sy-datum+0(4) - 1.
lv_date = sy-datum.
lv_date(4) = lv_dat.
Select data
SELECT vbrk~kunag " Customer Number
vbrp~vbeln " Billing Doucuement
vbrp~matnr " Material Number
vbrp~vgpos " Item Number
vbrp~fkimg " Item Quantity
vbrp~netwr " Net price of the Item
vbrk~erdat " Date of cretaion of the record
INTO TABLE gt_retorders
FROM vbrp JOIN vbrk
ON vbrkvbeln = vbrpvbeln
WHERE vbrk~erdat BETWEEN lv_date AND sy-datum
AND kunag EQ vbak-kunnr
AND matnr EQ vbap-matnr.
CLEAR: lv_quant,
lv_value.
loop the internal table and get the total of quantity and value
LOOP AT gt_retorders INTO gs_output.
gs_output-value = gs_output-fkimg * gs_output-netwr.
lv_quant = lv_quant + gs_output-fkimg.
lv_value = lv_value + gs_output-value.
ENDLOOP.
calculate the average pricing value
CLEAR lv_avgpr .
lv_avgpr = lv_value / lv_quant.
CLEAR xkomv.
READ TABLE xkomv INTO xkomv WITH KEY kposn = vbap-posnr
kschl = lc_zpr0 .
IF sy-subrc EQ 0.
xkomv-kbetr = lv_avgpr .
MODIFY TABLE xkomv[] FROM xkomv TRANSPORTING kbetr .
ENDIF. -
Simple credit check for service orders(TAD)
hi
we have configured simple credit check for ZOR and with delivery block. since TAD is order related billing even though credit limit exceeds they can bill the customer.Now I have to configure simple credit check for serive orders with item category TAD and it should give billing block.please give me the details on this.Hello Chait
To release credit block from CRM GUI, please go to header status tab here is the button 'Credit Release'.
To release credit block in WEBUI, please check the items block, in more functions you can find the 'release credit block' link.
Best regards,
Maggie -
Recalculation of quantity in free goods for return order wrf to invoice
Hello everyone,
I want to recalculate quantity of free goods category in a return order created with reference to an invoice, if the quantity in the High Level Item Category has changed.
For example, a customer bought 100 boxes of product "A " and received 10 of these for free. Then he wants to return 60 boxes. When I create a return order with reference to the invoice and change these quantity from 100 to 60, free goods item category still shows 10 boxes instead of 6.
Recalculation must be take place acording to the pricing date determination in order to apply free goods in a valid date.
Customized features reviewing:
1. There's not Item Category Proposal for Target Sales Doc type of the Return order, but item category of source bill type has one an is set to Pricing Type "D".
2. High Level Item category of free goods category is relevant for billing and is set to M "Delivery - related invoices-no zero qtys (in main bath items)"
3. Free goods category assigment has NORM as item Category Group, FREE ussage, High Level Item category is determinated for return order document type and Item category by default is the free goods category.
I will appreciate your support to solve this issue.
Best Regards,
Andrea FigueroaHello,
Thank you for your response.
My Discount Type of Free Goods determination is set to:
Calculation Rule: "2 - Unit reference"
Free Goods Category: "1 - Inclusive rebate (with item generation)"
Free Goods delivery control: "C - Delivery of main item is part. delivered, only with main item"
However, whatever the calculation rule is, if I change the quantity in the main item, subitem does not work.
I read about SAP Note 573598 that describes perfectly my problem, but is valid in 4.6 to 4.7 version and I have ERP version.
Thank for your help,
Andrea Figueroa -
Material availability check for production order
Hello,
Is there any functional module to check the material availability of production order. So that it can be used in developments.
Regards,
GaneshHi,
Following are the available Function Modules for avaibility checks in Production orders,
BAPI_PRODORD_CHECK_MAT_AVAIL - BAPI: Execute Material Availability Check for Production Orders
And for Process Orders,
BAPI_PROCORD_CHECK_MAT_AVAIL - BAPI: Execute Material Availability Check for Process Orders
Regards,
Dhaval -
Conditions record for returns order with order type "RE" Modification
Hi,
How can I gay out the EDI1 conditons row ( Customer expected price ) for returns order, so that the customer price is not considered.
Current Scenerion: when we create a returns order "RE" with reference to standard order "OR" it pulls out the price details from the standard order, but then in the conditions tab the EDI1 ( customer expected price ) is still active which allows the user to enter the new price. When the user enters the new price, the price for that line item is getting updated with this new customer expected price.
Can any one help me out on how to gray put that row, so that the user is not allowed to enter a new price during rreturns.
Thanks in Advance!!Hi
This will be updated automatically when generate planned orders thru MRP. (MD02)
regards
Srinivas -
User exit in ATP Check for sales Order to trigger notification
Hi All
please let me know is there any user exit after ATP check or in ATP check for sales order to trigger a notication mail.
Regards
KishoreHi,
User Exits For Availability Check are given below:-
The user exits named here are planned for projects that are to be carried out in agreement with SAP development as they may only be used in consultation with SAP.
USEREXIT_PLANT_SELECTION in program RV03VFZZ is an exception to this rule (see below).
User exits in program FV45VFZZ
USEREXIT_ADD_FIELD_TO_HEADER
USEREXIT_ADD_FIELD_TO_LINE
User exits in program FV45VFZY
USEREXIT_DELIVERY_GROUPS
USEREXIT_MVERF_INIT
USEREXIT_QUOTA_KEY_VALUE
User exits in program RV03VFZZ
USEREXIT_AVAILABILITY_IN
USEREXIT_AVAILABILITY_OUT
USEREXIT_DARA_REFRESH
USEREXIT_PLANT_SELECTION
This user exit is used to adjust the flow during plant transfer. A list of permitted plants, where this material is created, is determined and checked in the standard R/3 delivery. A dialog box appears where you can select the plants. The user exits allow you to modify the plant table so that plant selection takes place in advance for every flagged selection and a dialog box becomes unnecessary.
regards
Vivek. -
Authorization check for production order settlement
Hi All,
Production order settlement currently can be done by any user of any company code. there is a high risk involved in the same since unauthorized postings may happen. Hence we need to add authorization check for production order settlement. Can we maintain the same at the plant or the company code level?
Waiting for your replies. Thanks in advance!
Regards,
Aman Goelhi
What venki has told abt the exit, its absolutely correct.Even i have used the same exit
From table CAUFV pick Material(PLNBEZ),Basic Start Date(GLTRP),Plant(WERKS) .
Pass parameter Material(PLNBEZ) and Plant(Werks) in table MBEW in respective fields i.e. Material(MATNR) and Plant(WERKS).
Pick the latest record for the current period(LFMON) and year(LFGJA).
Pick Product Cost Estimate number(KALN1) from the record and pass it to table KEKO.
Check if Production Order Basic Start Date(GLTRP)<= BIDAT, if NO post Error Message.
This is the FS for EXit PPco0007
Reward if useful
Amit -
Collective ATP check for production orders
Hi Gurus,
I tried the MDVP tcode, but I can only do the collective ATP check for planned orders. we wanted to do the collective check with production orders, can you tell me how I can do this?
Thanks.I've posted this question but didn't get any response. Can some one please give me an idea how to do the collective ATP check for production orders.
Thanks
Vijaya -
Failed online license check for Add-ons
I'm using creative cloud on mac and am a fully paid member.
I have the latest updates to Photoshop & Extension manager.
In Photoshop CC 2014 when I browse to extensions to try and run 'AnimDessin2' it is not visible (the only add on visible is Kuler) despite installing it from the Adobe add on site. Similarly if I try to install it manually by downloading the add on and running it from extension manager CC I get a message saying 'Failed online license check for Add-ons'.
I've tried signing in and out of creative cloud but have no luck in using this or any other extension from the add on site.
Please help.Please follow How to install the plugins in Photoshop CC 2014 - Powered by Kayako eSupport Help Desk Software to install it.
-
Amount on Goods receipt for return orders is wrong with movement type 653
Hi All, I am sorry if it is a simple question because i am an abap'er.
My requirement is to create return sales order (with ref.to Billing document) and deliver and PGI for the return orders. This should go to sales order stock. Accounting document should be generated for material document and the amount should be picked up from condition type (if man.cond. type exist) else from material master.
1) Created a sales order (Bought in item cat) - Create PO (Non stock) - Receive goods (MIGO) - Create Delivery (VL01N) - PGI (Movement type 601 and special stock indic. 'E') - Create billing document (F2 type from VF01)
So far it is good. The account document is created (PGI - cost of goods) with correct amount as desired
The next scenario is if the material is returned? This is where we are having issues
Created sales order with ref.to billing doc. (S.O: RE. Item.Cat. Return Bought in (YRBI)... this is pretty much same as bought in except few things which are YRBI - Delivered - PGI (Goods returns. unrestricted) Movement type 653 - Problem comes here.
a) If i put special stock indic 'E' in 'Return bought in item.cat - There is no accounting document generated for 653 movement type.
b) if i maintain space instead of 'E' in return bought in item.cat - there is an accounting document but the manual cost is not copied to accounting document and it is picking up from material master which we dont want and The stock is not showing up in sales order.
I did my research (forum, OSS, google, and in help.sap.com) before posting here but no help.
I have checked account assignment categories for 'A' - (some post explained this) I tried changing values but no help.
I even tried changing the schedule line category to DN but no help.
I dont know what i forgot to change or check but i have tried everything what i know and from help from different sources ... still couldnt get it.
Original requirement is to make the return stock as sales order stock and this can also be returned to vendor. If there is a manual cost in return sales order, the PGI accounting document should be created with this condition value else from material master.
My pricing settings are good.
It would be really helpful if any one guide me to configure the process or atleast if anyone tells me what am i missing... .Have a look at any of the following notes:-
1) Note 171989 - Sales-order-related productn: Custmr exit COPCP002
2) Note 520000 - FAQ: Valuated special stocks
3) Note 557582 - User exit and valuated sales order stock
4) Note 580228 - Incorrect prices for materials procured externally
5) Note 983193 - Docu:Externally procurd material in valtd sales order stock
thanks
G. Lakshmipathi -
Transfer of Requirements for Return Orders
Hi,
Please I need help on TOR management with Return Orders in SD.
I've already red all the threads realted to TOR and ATP but I couldn't find a solution. As we know TOR is dependent on the following data: reqts type, reqts class, checking group and schedule line category.
The reqts type and class are determined in the strategy group (material master - MRP3).
Now if I switch on Transfer of Requirements for Returns, at Schedule Line level and Reqts Class level, the result is that I can see requirements related to Returns in the availability check overview of Sales Orders (ATP count) but if I check in the requirements list (i.e. transaction MD04) these requirements related to Returns are not recorded. Why?
And also another point please: requirements generated from Return Orders, into ATP count are considered as normal Sales Orders (negative sign, reducing ATP quantity, when it should be the contrary because a goods receipt is expected).
Can you help me please on these 2 points (perhaps something related with Sales Document Category)?
Thank you very much
Kind Regards
API practically did a sample order / returns order to see your requirements and these are my observations
a)
If you create a standard sales order, then the availability check registers a minus sign with stock required in Rec./reqd qty field.
Once you save the sales order, this is not seen again as the total quantity is reduced by sales order quantity.
It was indicating a minus sign when you created a returns order because you checked the Transfer of requirements and availability check indicators in schedule line category.
It was simulating a requirement as you checked the indicators in schedule line category.
If you create returns order with standard DN (i.e. Transfer of requirements and availability check indicators are not checked), then you would not see any requirement for stock i.e. you don't see any new entry in availability overview screen.
b)
You are not seeing returned quantities in MD04 because of Movement types. This has nothing to do with Transfer of requirements.
Schedule line DN uses movement type 651.
Using movement type 651, you post returns from a customer with returns delivery to blocked stock returns.
The blocked stock returns are are neither valuated nor part of "unrestricted-use" stock.
Hence you are not seeing the returned stock in your available stock.
If you click the magnifying glass on total stock i.e. top line of your stock/requirements list (transaction MD04), you could see the returned quantity in 'Returns field'.
If you want to post returns from a customer with returns delivery directly to the valuated stock, you could use the following movement types in schedule line category.
653 Returns from customer to unrestricted-use stock
655 Returns from customer to stock in quality inspection
With these movement types, you could see returned quantities in stock/requirements list. -
BAPI_SALESORDER_CREATEFROMDAT2 for Return Orders and Credit Orders
Dear experts,
I've been searching the SDN forums for information about the usage of BAPIs to create Sales Orders, Return Orders and Credit Memos. Unfortunately it seems hard to get consistent answers around the usage of BAPI_SALESORDER_CREATEFROMDAT2.
Is it, or is it not possible, to use BAPI_SALESORDER_CREATEFROMDAT2 to create Return Orders and Credit Memos with reference to other documents? Can someone please let me know if they have successfully implemented this scenario?
Many thanks and best regards,
Anna EnglundWhen you see the Code inside the BAPI BAPI_SALESORDER_CREATEFROMDAT2
CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
EXPORTING
SALESDOCUMENT = salesdocumentin
SALES_HEADER_IN = ORDER_HEADER_IN
SALES_HEADER_INX = ORDER_HEADER_INX
SENDER = SENDER
BINARY_RELATIONSHIPTYPE = BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT = INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR = BEHAVE_WHEN_ERROR
LOGIC_SWITCH = LOGIC_SWITCH
BUSINESS_OBJECT = *'BUS2032'*
see it is only used for Sales Order(since BUS2032 is for sales order).
you need to create or copy the BAPI BAPI_SALESORDER_CREATEFROMDAT2 to custom Function.
then change the Business Object to BUS2094 (it is for Credit memo) . Reference i tried it didn't work that time. you check it once with the new Custom FM. -
Billing date for return orders
Hi,
when creating return order (RE), without reference to any SD document, the billing date is default as current date.
But, when I create the return order, with reference to a billing document, the billing date is scheduled, based on the lead times etc..
I want to have it default as current date, with reference or not.. where/how is this configured?
Thanks,Check in VOV8 for your return order type where there is a field to propose billing date.
thanks
G. Lakshmipathi
Maybe you are looking for
-
When Firefox 4 is minimized and I click on a link or use a shortcut that would open that link in a new tab, Firefox maximizes and I am unable to see the page until I "restore" then "maximize" the page. I believe this is due to my visualization add-on
-
I am using Firefox and have used Firefox in the past. This just started to occur extremely recently. I have never had a problem with this in the past. When I attach a document in an email, it seems fine, even after I send it. However, the person
-
i have a 2008 macbook and i lost the start up disk and forgot the password. how can i put it back to factory mode and change the password
-
How do I stream spotify?
How do I stream from spotify on IPAD 4 to Airplay receiver with airplay ( Pioneer VSX922 ) or to Apple TV conected to the same receiver. I do not find the Airplay symbol in spotify...
-
Exit button - Germany Personal data service does not work
Hi all, We just upgraded our portal to EP7 Sp22 with 1.3 ESS Business Package and 603 XSS components in the back-end. In testing Germany and all countries that use the Germany personal data service, the Exit button on all screens (Overview, Edit, Rev