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
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 -
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 -
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. -
BI : Billing date for largest billing amount
Hi,
I have a scenario where I have data for sales order and invoices in PSA.
Now I need the billing date for the largest billing amount against a sales order in the cube. Can we calculate the billing date in the cube/report?
If yes then how......Hi,
Have you tried using condition in your report with the following criteria
Top N condition for invoice amount with N = 1.
But, this is possible from the cube only. Direct access to PSA data cannot be done.
With Regards -
BI : Billing date for largest billing date
Hi,
I have a scenario where I have data for sales order and invoices in the cube.
Now I need the <b>billing date for the largest billing amount against a sales order</b> in the cube. Can we calculate the billing date in the cube/report?
If yes then how......Query kept in wrong discussion group..
-
VF01 Determine Billing date for billing index and printout to current date
Hi
we need to determine the Billing date for billing index and printout to current date
What can I do to determine automatically at the time of creation current day to Billing date for billing index and printout?
please let me know
Best Regards,Hi Beatriz ,
You have two options here. you can chose either of these solutions:
1.
A. T-Code: VTFL ( if using del related billing) For the billing document and delivery, at item level assign the copying requirement 011 or if you are currently using some other routine then you can use following in that
VBRK-FKDAT = SY-DATUM.
B. T-code VTFA (if using order related billing)
Similar to A, using copying requirement 011.
2. You may also try option of Checking in the User Exit for the Program RV60AFZA & RV60AFZA.
Please let us know if this helps
Regards
Harpreet -
Billing date in sales order should not be modifiable to backwards dates
hi gurus
I have a requirement where in few users while creating a sales order , they should not be able to modify the billing dates to previous dates . So that particular field shd not be modifiable . Could use some help here .
Regards
JNMDear JaganNM,
While creating the billing document in VF01 the billing date will be changed manually by the user.
This change will not applicable in sales order.
Once you save the billing document you can't change the billing date in sales order ,it will be graded out.
Before saving the billing document only the date can be changed in sales order.
Let me know if you have any further clarifications.
Thnaks&Regards
Raghu.K -
How to see archive data for Sales order
Hi all,
I am working on PS , network is created with sales order 10911. the components are added while sales order created, but after that someone deletes the sales order, because now it is showing oder does not found, where i get the entreis for sales order.
Regards,
Khushi.Hi Khushi,
To see the archived data for sales order , go to transaction code SARA.
Choose object name as SD_VBAK.Click READ.
It will show a screen giving a name of program and option to execute in background or foreground.
It will help you to get information about archived sales order data.
Hope it helps you.
Thanks,
Sarita singh Rathour
Edited by: Sarita Rathour on Aug 28, 2009 7:46 AM -
Upload the data for sales order using BAPI
hi experts,
how to upload the data for sales order using BAPI.
what is the FM?
it would be much helpful if i have the sample code as i am very new to BAPI.
thanks and Regards
ShyamHi Shyam
Its very useful for u
BAPISDORDER_GETDETAILEDLIST
BAPI_ACC_SALES_ORDER_CHECK
BAPI_ACC_SALES_ORDER_POST
BAPI_ACC_SALES_QUOTA_CHECK
BAPI_ACC_SALES_QUOTA_POST
Reward all the helpful answers..
With Regards
Navin Khedikar -
Updating Scheduling data for Purchase Order
Hi,
I need a function module which can update the scheduling data for purchase order in EKET table. Normally we create Purchase Order as a reference from purchase requisition through BAPI_PO_CREATE1. That time it takes care of all the scenarios. But as per the requirement I want to create a PO which is created from more than one Purchase Requistions so I can't use the said BAPI. But still I am using this BAPI and after creation is completed I am updating the Requistions. The same scenario is taken care in ME59N, but I can't copy that code because of some requirements. So could any one please give me the idea to replicate the same functionality with any function module or other ways.
Thanks
Somnath paultry to pass all u sheduling related fields to POSCHEDULE and make sure u have enabled POSCHEDULEX along with sheduling related fields .....also (if no changes are there leave it with space )...
this will definetly update not only eket table ....it will update every table regarding to purchase order,ekpo,ekko,eket ...etc
Example of population of BAPI interface in the Function
Parameter: POHEADER
COMP_CODE = 1000
DOC_TYPE = NB
ITEM_INTVL = 00001
VENDOR = 0000001000
PMNTTRMS = 0001
PURCH_ORG = 1000
PUR_GROUP = 001
CURRENCY = EUR
Parameter: POHEADERX
COMP_CODE = X
DOC_TYPE = X
ITEM_INTVL = X
VENDOR = X
PMNTTRMS = X
PURCH_ORG = X
PUR_GROUP = X
Parameter: POITEM
PO_ITEM = 00001
MATERIAL = 100-100
PLANT = 1000
STGE_LOC = 0001
QUANTITY = 15.000
TAX_CODE = V0
ITEM_CAT = 0
ACCTASSCAT = K
Parameter: POITEMX
PO_ITEM = 00001
MATERIAL = X
PLANT = X
STGE_LOC = X
QUANTITY = X
TAX_CODE = X
ITEM_CAT = X
ACCTASSCAT = X
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
DELIVERY_DATE = 02.12.2002
QUANTITY = 6.000
PO_ITEM = 00001
SCHED_LINE = 0002
DELIVERY_DATE = 03.12.2002
QUANTITY = 5.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELIVERY_DATE = 04.12.2002
QUANTITY = 4.000
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
DELIVERY_DATE = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0002
Parameter: POACCOUNT
PO_ITEM = 00001
SERIAL_NO = 01
QUANTITY = 15.000
GL_ACCOUNT = 0000400000
COSTCENTER = 0000001000
CO_AREA = 1000
Parameter: POACCOUNTX
PO_ITEM = 00001
SERIAL_NO = 01
QUANTITY = X
GL_ACCOUNT = X
COSTCENTER = X
CO_AREA = X
Parameter: POCOND
ITM_NUMBER = 000001
COND_ST_NO = 001
COND_TYPE = PB00
COND_VALUE = 79.900000000
CURRENCY = EUR
CURRENCY_ISO = EUR
COND_UNIT = KG
COND_P_UNT = 1
CHANGE_ID = U
Parameter: POCONDX
ITM_NUMBER = 000001
COND_ST_NO = 000
ITM_NUMBERX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Parameter: POPARTNER
PARTNERDESC = OA
LANGU = EN
BUSPARTNO = 0000001100
PARTNERDESC = GS
LANGU = EN
BUSPARTNO = 0000001200
PARTNERDESC = PI
LANGU = EN
BUSPARTNO = 0000001000
reward points if helpful.... -
Organization Data for Service Orders and Service Confirmation
Hi,
Whenever I create any Service Order or Service Confirmation, the Organization Data is automatically populated.
My doubts are :
1. Is is mandatory to provide Organization Data for Service Order/Confirmation Creation ?
2. What/ Where are the customization for the Organization Management for the above scenario ?
Thanks and Regards,
Samantak.Dear Samantak,
org determination should only be made, if you have customized it.
So please check which org. data profil has been assigned to the involved transaction types (in SPRO Define transaction types).
And what the profil does (the rule behind) can be found also in SPRO
- Master Data
- Organizational Management
- Organizational Data Determination
- Change Rules and Profiles
-Maintain Organizational Data Profile
Please check the documentation there!
Regards, Gerhard -
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 -
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
FrankHi,
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 -
Information costing data for maintenance orders
Hi everbody,
Can somebody throw some light on Costing Data for maintenance order for the following functions
1) Costing sheet
2) Costing Variants
3) valuation Varaints.
I would like to know how this setting will be used in the business form the PM point of view.
Thanks in Advance
DP[SAP Help|http://help.sap.com/saphelp_erp60_sp/helpdata/EN/a9/ab7654414111d182b10000e829fbfe/frameset.htm]
Maybe you are looking for
-
Exception while performing Target Reconciliation
My target is a CSV file which contains fields for empid (mapped as key field),firstname,lastname,emailid and status (mapped to OIM_OBJECT_STATUS) I can see the reconciliation data in Reconciliation event window in Design console but I am getting the
-
How to achieve time dependent hierarchy in SAP BO Disclosure Management
Hi all experts, We are proposing a SAP EPM solution to a client. The overall solution consist of a planning tool (BPC 10 NW) and a disclosure management tool (SAP Disclosure Management 10). The Disclosure management tool will retrieve the planning bu
-
Receive error message on login to WIFI
I do hope someone can help. I have had my Playbook for more than a year now and am only now starting to work with it!!! I know, crazy. A couple of months ago I didn't have a problem accessing the WIFI (we were in the US at the time) now back in Ca
-
Screen display aspect ration suddenly changed while I was online so that I have to scroll to see the edges of the display: up, down, left, right. I rebooted the computer and the problem persists.
-
My new macbook pro can't detect wifi sometimes...
hi guys... i just bought late 2011 macbook pro on 27 april this year...it was succesfully connect to any wifi at anytime & anywhere... but the problem begins when i stayed at my brothers's house... my macbook can connect to the wifi there for the 1st