‎2005 Dec 09 5:12 AM
Hi,
Is there any FM for showing us the called-off quantities for a given (sales contract/line item). I couldn't find one through SE37.
Regards,
Vijay
‎2005 Dec 09 5:18 AM
Hi vijay,
Get a list of FM entry documents (method BudgetEntryDocFM.GetList):
This method retrieves effective documents according to your selection criteria.
Mass process for reading data (method BudgetFM.GetTotals):
You can use this BAPI, for example, to initialize data for budget preparation with the budget data of the previous year.
THe above example is regarding budgets.Try those mtd in ur scenario to solve ur problem.
That should help u,
Regards,
Nagarajan.
‎2005 Dec 09 5:25 AM
Hi Nagarajan,
I'm talking of contract quantities and called off sales order quantities for a give sales contract/line item.
Regards,
Vijay
‎2005 Dec 09 8:05 AM
Hi!
Use FM SD_READ_CALL_OFF_VALUE:
DATA:
VBELN_VAL TYPE VBAP-VBELN,
POSNR_VAL TYPE VBAP-POSNR,
ABWERT_VAL TYPE RV45A-AWERT.
VBELN_VAL = 'CONTRACT_NUMBER'.
POSNR_VAL = 'CONTRACT_ITEM_NUMBER'.
CALL FUNCTION 'SD_READ_CALL_OFF_VALUE'
EXPORTING
I_VBELN = VBELN_VAL
I_POSNR = POSNR_VAL
IMPORTING
E_AWERT = ABWERT_VAL.
Regards,
Maxim.
‎2005 Dec 09 8:35 AM
Hi Vijay,
Try SD_CONTRACT_READ_CONDITIONS.
Hope it helps...
Lokesh
Pls. reward appropriate points