Any Function Module to get Service Conditions in Service Contracts???
Hi All,
I have created a function module inside which I have written BDC code for changing Service Contracts (ME32K).
I have used Item_condition and item_cond_validity structures in Table parameters.
For changing the conditions related to services, I need to know first which ones of those conditions were already there in the database for the contract and which ones are newly put in item_condition structure.
Similar reqmnt I had for Services also, for which I got the FM - MS_FETCH_SPEC_FOR_LIST, wherein I am giving Package number from Ekpo and getting the services related to item. I need something similar for Conditions also.
Is there any Function module wherein by giving the item and service info, I can get the conditions related to that particular Service? Or else any way using SAP std tables, I can get this info.
Please respond if anyone has this info.
Thanks a lot!
Navita
Hi Mukesh,
Step 1. Use FM SO_USER_READ_API1 to get the folder details of the user
Step 2. Use FM SO_FOLDER_READ_API1 of the respective folder. You can read the Inbox, Workflow Inbox depending on what folder you read. The function modules are documented well as well with examples.
Hope this will help u,
Thanks & Regards
Kiran
Similar Messages
-
Function module to get Pricing conditions of billing document
Hi All,
Please help me getting the pricing condition values for a billing document. I got values from KONV table against perticular Condition type. but i need to get the values against step number maintained in Conditions for my billing item. is there any function module to get all condition data maintained in document with totals and discounts aswell.
Please help me. if required i will give tou full details what i required.
Kumar.Hi Kumar,
Please check below mentioned Function Module for details:
RV_PRICE_PRINT_GET_BUFFER
RV_PRICE_PRINT_GET_MODE
RV_PRICE_PRINT_HEAD (Header)
RV_PRICE_PRINT_HEAD_BUFFER
RV_PRICE_PRINT_ITEM (Item)
RV_PRICE_PRINT_ITEM_BUFFER
RV_PRICE_PRINT_REFRESH
Regards,
Tutun -
Is there any function module for getting distribution list name
Hi all,
Is there any function module for getting distribution list name when there is same description for two distribution list name.
or
help me how to fetch the correct distribution name when there is same description.
In order to send mails.
Tell me ASAP.
thanks
sagar.http://www.sapbrainsonline.com/REFERENCES/FunctionModules/SAP_function_modules_list.html
list of Fms -
Is there any function module to get the variables used in a query?
Hi experts
Please, do you know if is there any function module to get the variables used in a query?
Thanks and regards
LuisHi Srini
Yes, I have checked the tables but I need a function module
Thanks anyway!
Luis -
Any function module to get all items in SAP INBOX
hi All
I am trying to get all the items in my SAP Inbox via rfc.
Can anyone help me with any function module to get all items in SAP INBOX.
ThanksHi Mukesh,
Step 1. Use FM SO_USER_READ_API1 to get the folder details of the user
Step 2. Use FM SO_FOLDER_READ_API1 of the respective folder. You can read the Inbox, Workflow Inbox depending on what folder you read. The function modules are documented well as well with examples.
Hope this will help u,
Thanks & Regards
Kiran -
Any functional module to get financial document based on billing document
hi all,
do we have any functional module to get accounting document (bseg-BELNR) based on billing document (bseg-VBELN)?
i have a requirement to retrieve the clearing document (bseg-augcp) & date(bseg-augdt) from BSEG with billing document.
billing document is not a key, so i would like to retrieve the accounting document from any function module and use that to get clearing document (bseg-augcp) & date(bseg-augdt).
thanks.hi all,
i got other option to get this....thanks.
select single * from bkpf
where bukrs = <data>-werks
and AWTYP = 'VBRK'
and AWKEY = billing doc.
if sy-subrc EQ 0.
select single * from bseg
where bukrs = bkpf-bukrs
and belnr = bkpf-belnr
and gjahr = bkpf-gjahr.
if sy-subrc EQ 0.
<data>-AUGDT = bseg-augdt.
<data>-AUGBL = bseg-augbl.
endif. -
Is there any function module to get the purchase order conditions from EONP
Hi,
I want to get the EONP and EONH table details for the purchase orders with the help of function module. Can anyone tell me any function module name which would give me those details.
Thanks,
AtanuHi
Check with BAPI function module BAPI_PO_GETDETAIL and BAPI_PO_GETDETAIL1.
Regards
Srilaxmi -
Any function module for getting fiscal year week numbers
can any one provide me function module for getting fiscal year week numbers ? if no function module please let me know work around.
Thanks!
Lakshmikandhhi,
Use FM <b>'DATE_GET_WEEK'</b>...
parameter D1 LIKE SCAL-DATE.
Data w like scal-week.
CALL FUNCTION <b>'DATE_GET_WEEK'</b>
EXPORTING
date = D1
IMPORTING
WEEK = W
EXCEPTIONS
DATE_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write W+4(2).
Regards,
Santosh -
Any Function Module For getting Shipment Details
Hi All,
I want to get all details of shipment. i tired , but unable to get any function? I was able to find the creation or change shipment function modules, but not able to find the function module for getting the details for Shipment.
like BAPI_SHIPMENT_CHANGE Change Shipment
BAPI_SHIPMENT_CREATE Create Shipment
similary
Do you have any idea for getting (display)the details of Shipments?
Regards,
Rajuhi,
you can use
VTTP,VTTK
or
RV_SHIPMENT_READ -
Any function module to get Stock and value of material on a given date?
Hi Friends
Is there any function module available to get Stock/and value of material on a given date?
Thanks
HarishSorry I didn't elaborate the requirement.
I am asked to develop a custom report for inventory management. For range of materials it is required to display stock and value on particular date and GRs GIs for the range.
I need function module to use in Zreport.
Thanks
Harish -
Any Function Module to get date by passing week and year
Hi,
Is there any Function Module available to get date by passing week and year. For example, Week 24, Year 2005 and you get the date.
Regards,
MiraWEEK_GET_FIRST_DAY
pass 'YYYYWW' (200524) to WEEK parameter it will give you the week start date
Raja -
Is there any function module to get vc characteristics and its value using material number?
Hi Experts,
I am using BAPI_CLASS_GET_CHARACTERISTICS, BAPI_OBJCL_GETCLASSES to get characteristics description and its values.
Is there any other Function module to pull this values using material number?
Thanks in Advance.
RamkumarHave you tried this BAPI_OBJCL_GETDETAIL
Import parameters
MATNR value in the OBJECTKEY
MARA in OBJECTTABLE
Class name in CLASSNUM
'001' in CLASSTYPE
You will get the Class Characteristics data into these tables:
ALLOCVALUESNUM
ALLOCVALUESCHAR
Jogeswara Rao K -
Is there any function module to get the no. of days in a month?
hi all,
if i have the month and year then is there any FM by which i can get the no. of dayz in that month?
regards,
shweta upadhyay.Hi swetha,
i have written my own function module,may be it helps u.
""Local interface:
*" IMPORTING
*" VALUE(DAY_IN) LIKE SY-DATUM
*" EXPORTING
*" VALUE(FIRST_DAY_OF_MONTH) LIKE SY-DATUM
*" VALUE(LAST_DAY_OF_MONTH) LIKE SY-DATUM
*" VALUE(NUMBER_OF_DAYS) TYPE I
*" EXCEPTIONS
*" DAY_IN_NO_DATE
DATA: BEGIN OF DATE,
J(4),
M(2),
T(2),
END OF DATE.
DATA: ZAHL TYPE I.
DATA: DAYS_SUBTRACT TYPE I.
DATA: XDATUM TYPE D.
XDATUM = DAY_IN.
XDATUM+6(2) = '01'.
XDATUM = XDATUM + 35.
XDATUM+6(2) = '01'. XDATUM = XDATUM - 1.
NUMBER_OF_DAYS = XDATUM+6(2).
DATE = DAY_IN.
IF DATE-M LT JANUARY OR DATE-M GT DECEMBER.
raise DAY_IN_NO_DATE.
ENDIF.
IF DATE-J LT LOWDATE.
raise DAY_IN_NO_DATE.
ENDIF.
IF DATE-J EQ HIGHDATE-J AND
DATE-M EQ HIGHDATE-M.
LAST_DAY_OF_MONTH = HIGHDATE.
ELSE.
IF DATE-M EQ DECEMBER.
ZAHL = DATE-J + 1.
UNPACK ZAHL TO DATE-J.
DATE-M = FRIST.
DAYS_SUBTRACT = NUMBER_OF_DAYS - 1.
ELSE.
ZAHL = DATE-M + 1.
UNPACK ZAHL TO DATE-M.
DAYS_SUBTRACT = NUMBER_OF_DAYS - 0.
ENDIF.
First of the subsequent month
DATE-T = FRIST.
LAST_DAY_OF_MONTH = DATE.
FIRST_DAY_OF_MONTH = DATE.
SUBTRACT 1 FROM LAST_DAY_OF_MONTH.
SUBTRACT DAYS_SUBTRACT FROM FIRST_DAY_OF_MONTH.
ENDIF.
ENDFUNCTION.
regards,
nagaraj -
Is there any function module to get the data from st06?
Hi,
I'm new to this forum.
I would like to know if there is a way (maybe some function modules) to collect information like system architecture, and databases as displayed in transaction st06?
I would like to call it from external program in order to view part of the data available in st06.
Thanks,
Erez Gordon.have a look at function group SMON.
Not sure if these are remote enabled, otherwise create a wrapper function module (RFC).
Edited by: Micky Oestreich on Dec 11, 2008 9:37 AM -
Any Function module to get data from ESS leave form
Hi Friends,
I have modified std workflow ws12300111.with 2 levels.
I want to send mail to HOD. In that mail i have to mention details like start date , end date,leave type which is entered into ESS form. I want to retrive that data.
Is there any Fm is available? which wil give ESS data as output.
Plz let m know.
Regards,
ShitalHave you thought about creating attachments in the WF so you can read the form and get data from it.
There's plenty of standard WF examples around of attaching objects to WF's.
Since the ESS action will initiate the relevant workflows you should easily be able to save this data.
BTW If your other question on this WF was answered please close that thread.
Cheers
Jimbo
Maybe you are looking for
-
Hi folks, I'm slowly building up my SP, I don't fully understand the syntax yet. I'm trying to retrieve the Customer primary key that has been created for the new customer record, and then assign it to the @CustomerFK parameter, could you give me any
-
Hi, I've been having a problem trying to set up an RSS feed through XSL transformations and PHP. I'm using Dreamweaver CS3. The server has PHP5 on it. Based on the error messages I don't think I have access to create an includes/ folder at the root l
-
Using JavaFX on secure (SSL) pages
On IE, when displaying a JavaFX applet on a secure page, a dialog is displayed warning the user: "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?" At least some of the remote resources required for Java
-
How can you create the alias for the actual dimension name / member. We have multiple languages and want to be able to translate the dimension name. The dimension alias in EPMA actually gives it the name for the dimension not the alias so how do you
-
WARNING... K8T Master 2 FAR Dual Opteron upgrade
Anyone owning this board who has set up with one processor with a view to upgrading to dual beware. I recently assembled a machine in MAY 2004 using one AMD 242 Opteron, the system works fine and as Opteron prices have dropped i ordered the second on