Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM help

Former Member
0 Likes
693

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

4 REPLIES 4
Read only

Former Member
0 Likes
660

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.

Read only

0 Likes
660

Hi Nagarajan,

I'm talking of contract quantities and called off sales order quantities for a give sales contract/line item.

Regards,

Vijay

Read only

0 Likes
660

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.

Read only

Former Member
0 Likes
660

Hi Vijay,

Try SD_CONTRACT_READ_CONDITIONS.

Hope it helps...

Lokesh

Pls. reward appropriate points