Standard function modules for selection from vbak/vbup/ekko/ekpo
hi experts ,
do you know if there is an existing standard function modules for selection from vbak/vbup/ekko/ekpo.
please help
Hi,
for VBAK
ADSPCM_READ_VBAK Read VBAK (with SPEC2KM-data)
PRS_GET_GLOBAL_VBAK Get global structure VBAK
Regards,
Jyothi CH.
Edited by: Jyothi Chinnabathuni on Feb 23, 2009 2:46 PM
Similar Messages
-
Standard function module for checking the sales organization and plant
Hi all,
Does have standard function module for checking the relationship between sales organization and plant?
Thanks a lot!
Ninahi
good
check these BAPIS
BAPI_SALESGROUP_GET_DETAIL Sales Group: Display Name
BAPI_SALESOFFICE_GET_DETAIL Sales Office: Display Name
BAPI_SALESOFFICE_GRP_EXIST Sales Office / Sales Group: Existence Check
BAPI_SALESORG_EXIST Sales Organization: Existence Check
BAPI_SALESORG_GET_DETAIL Sales Organization: Display Data
BAPI_SALESORG_OFFICE_EXIST Sales Organization / Sales Office: Existence Check
PLANT=>
BAPI_PROMO_GETSITEPLANNING Detailed Data for the Plants Involved in a Promotion
thanks
mrutyun^ -
How to find standard function modules for IDOCs
Hi,
Can anyone tell me is there any way to find the standard function module for IDOC. I have checked BD60 but it's not available. For example Idoc type WPUBON01 and I need to know the function module. Can anyone tell me the way out.
Secondly, if anyone can provide me the code to map the file fields and idoc segements.
RegardsUse WE82 to find message type associated with Idoc type.
Then use this message type as a search string to find the FM.
The associated FMs are.
POSED_FILL_OVERVIEW_ENT_WPUBON
POSED_INIT_DATA_WPUBON
POSED_LOCK_DATA_WPUBON
POSED_OVERVIEW_ASSIGN_WPUBON
POSED_READ_DATA_FROM_DB_WPUBON
POSED_READ_TR_DATA_WPUBON
POSED_SAVE_DATA_WPUBON
POSED_SEARCH_STRING_WPUBON
POSED_STORE_DATA_WPUBON
POSED_UNLOCK_DATA_WPUBON
POSED_UPDATE_DATA_WPUBON
POSED_UPDATE_TR_DATA_WPUBON
Thanks,
Utsah Garg. -
Standard Function Module for OB52
Hi,
Is there any standard function module or BAPI for OB52 transaction.
PLease let me know.
Regards,
RaghuHi,
OB52 is basically a transaction variant of SM30 for maintaining the view V_T001B.
So there will not be any BAPI available to maintain the same.
Regards,
Ankur Parab -
Standard Function modules for t-codes FBV3 and FB03
Dear SDN Community,
Can you please tell me what are the standard function module that I should use to simulate the following transaction codes from Web.
FBV3- Display Parked document
FB03 - Display posted document
Thanks!
Surya.Hi,
Please check these BAPI and FM.
BAPI_ACC_DOCUMENT_DISPLAY
FI_DOCUMENT_DISPLAY_RFC
Regards,
Ferry Lianto -
Standard Function module for Creating Vendor?
hi ppl
i want to know that which function module gets call when we create a vendor from trans. code XK01, i.e. the standard function module SAP uses.
Regards,Ravi,
What you can do is that you can debug the normal working of the standard webdynpo. This will be helpful in solving the problem.
Incase you need further clarifications, please let me know.
Thanks
Atul -
Function module for conversion from dollar to indian currency
what is the standard function module used for the conversion of one type of currency to other?
try this CONVERT_TO_LOCAL_CURRENCY.
Otherwise go to se37 and search for ConvertCurrency -
Function modules for selection ID of Demand planning
Hello All,
I need a function module which can return product / location combinations associated with a selection ID.
OR, a function module which can return me 1) Planning book 2) data view and 3) Version associated with a selection ID.
For the second case I have checked FM /SAPAPO/MCPSH_SELECTION_GET , however this function module is returning version and planning book only. But I also need dataview associated with the selection ID.
Kindly Help.
Thanks & Regards,
VivekHi Vivek,
I am not sure about the FM but, you can play with /sapapo/ts_sekpo (Item Selection Variants) and /SAPAPO/TS_SELKO (Header Selection Variants) table to get the infromation you need. First table will give you details and based on that selection profile GUID you can find PB/DV.
Hope this helps.
Regards,
Hashil Desai -
Dynamic select / function module for select queries
Hello experts,
Is there any function module to build dynamic select queries and also to build standard select queries .
Thanks,
krishnakumarWhat are you meaning by 'to build' ???
BR, JAcek
Message was edited by: Jacek Slowikowski -
Function module for select-options
Hi Colleagues !
Is there any function module to read select-options fields in a window ?
Thanks a lot and kind regards
PeterHi
I had this requirement as well, I came up with a workaround....
I ended up creating a Z structure EG. ZRANGESTRUC with the fields:
SIGN - CHAR1
ZOPTION - CHAR2
LOW - CHAR18
HIGH - CHAR18 (this would depend on your maximum length of field)
I had to make a ZOPTION field because option was a reserved system field.
I then declare tables in my function module pointing at ZRANGESTRUC data type.
Inside your function module declare ranges and then simply say S_MATNR[] = ZSTRUC_MATNR[] and then use the standard range inside your select statement.
I hope I understood your requirement correctly...
Edited by: Brad Gorlicki on Feb 10, 2010 9:36 PM -
Function Module for conversion from one UOM to any other UOM
Hi All,
I need to convert a quantity value that user inputs in any UOM and want to convert this Quantity to 'KG' in CRM
Can any one please tell me any Function Module to do so?
NOTE: I need this in CRM
Thanks and Regards
Shekhar
Edited by: shekhar tagra on Jul 26, 2010 4:54 PM
Edited by: shekhar tagra on Jul 26, 2010 4:55 PMHi ,
i'm using the conversion function UPX_CRM_CONVERSION_FACTOR in planning layout where there is in column the calendar week.
So when select one week, the function return 0 instead if i select more than one week, only on the last week, the conversion factor is 0.
Why this function have this behavior? I would that the conversion factor is the same for all week.
Thanks.
Andrea -
Function Module for selecting date by day
Is there any function module to choose date by day. for example if I give today's date the FM should give me next thursday's date.
Thanks
Tharanithis works good........
*& Report YCHATEST *
REPORT YCHATEST
data:day like DTRESR-WEEKDAY.
parameters:curr_dat like sy-datum default sy-datum.
CALL FUNCTION 'DATE_TO_DAY'
EXPORTING
DATE = CURR_DAT
IMPORTING
WEEKDAY = day.
write : / day.
case day.
when 'Monday'.
CURR_DAT = CURR_DAT + 3.
when 'Tuesday'.
CURR_DAT = CURR_DAT + 2.
when 'Wed.'.
CURR_DAT = CURR_DAT + 1.
when 'Thursday'.
CURR_DAT = CURR_DAT + 7.
when 'Friday'.
CURR_DAT = CURR_DAT + 6.
when 'Sat.'.
CURR_DAT = CURR_DAT + 5.
when 'Sunday'.
CURR_DAT = CURR_DAT + 4.
endcase.
write :/ CURR_DAT. -
Need standard Function Module for Get price from KONP
Hi All,
I need to code for the following logic
1) Select access sequence code from T685 (field KOZGF)
2) Using this code get an access sequence tables from table T682I(field KOTABNR). There is a number in this field which is a table name if to add letter 'A' before it. This table name is a table where you can find condition records. Every condition table has got field 'KNUMH' which is a reference to condition rate table.
3) Select condition rate from table KONP (field KBETR)
4) Select scale rates if you are using them from table KONM (field KBETR).
Just want to ensure, if there is any standard FM which can help in above logic.I got a FM 'SD_COND_ACCESS'. But not sure, how it can help me?
Thanks in advance.Thanks Anji for your quick reply.
I do have Access Sequence with me, it is Z011. here i am writing more details, I do have material number.Here article means Materail number.
o Determine the merchandise category for the article in the list from MARA-MATKL
o Determine the department for the article from first 3 characters of MARA-PRDHA
o Determine the vendor for the article from EINA-LIFNR where EINA-MATNR = article in list and EINA-RELIF = X
o Now use the access sequence Z011 (table T682I) to determine the A tables and sequence in which in these table must be read for determining the condition records.
o Use table T682Z to determine which fields must be used to read the A tables above (in T682I).
o The A tables must be read using condition types Z006 (margin) and Z007 (discount) where the Order Book effective date is between the valid-from and valid-to dates in the A- table, and in the sequence according to table T682I. When a condition record is found, the program must stop reading the subsequent tables, and determine the discount or margin from table KONP-KBETR, where KONP-KNUMH = A table-KNUMH.
 If the condition type is Z006, KONP-KBETR is positive. For condition type Z007, KONP-KBETR is negative.
 Divide KONP-KBETR by 10 to give KBETRX. Retain sign in KBETRX.
 Calculate the discounted / price with margin as follows:
(1 + (KBETRX/100)) * wholesale price.
Is it possible to get above logic by standard FM.
Message was edited by:
Vipin Nagpal -
Regarding: Standard function module for Refreshing a Ztable.
Hii.
I am a portal administrator , I am working on a webdynpro application in which on a button click , the refresh functionality ( F8) would be call.
Is there any standard RFC is available which takes Table name as input parameter and just call the refresh functionality of ztable.
Thanks in advance.
<removed_by_moderator>
Edited by: Julius Bussche on Dec 17, 2008 9:41 AM>
varun khandelval wrote:
> Hii.
>
> Thanks in advance.
>
> Rewards r waiting for u .
Haven't you read the rules of posting?
you are not supposed to offer rewards .
Please read the rules carefully and follow them from next time. -
Is it necessary to use the standard function modules always?
Hi All,
Suppose i can retrieve the BUSINEES PARTNER ID from the table BUT000 with the help of 'BP_GUID' field through a select query statement.
Now is it necessary to use a standard function module to retrieve the same data. what about the performance? which is the better solution. to implement our own code or to use the function module available.
Please someone clarify me about this issue.
Regards,
Sharry.If you'd ask the question in general it's obvious that there is no good answer as it always would depend on the circumstance. However, as you've posted your question in the performance tuning forum, let's look at your question in this context first. I think it's fairly safe to say, that in almost 100% of the cases a standard function module will not be as fast as any well implemented and custom tailored code. If in doubt, just try reading the code of the function module you want to read; most likely you will find lots of unnecessary fluff in there, often they read data that you don't even need.
And as far as buffering is concerned, that can also be an issue. E.g. let's say you do a massive read of distinct business partners and you only need the data once for each partner. Obviously buffering is silly in this case and it might even slow down your program, because the implemented buffering is not necessarily well implemented. I've come across a few cases, where the buffer tables where standard tables with no efficient read access (so no sorted table or hash table) and once tons of data were buffered, it actually took a moment to look up if the record already was buffered (just to find it wasn't there yet).
Now most of the times this slowdown is not an issue as the lookup is still fast compared to the (usually) prevalent database accesses with their slower IO timing. But another factor to consider is memory consumption and why buffer data in memory (and waste it), if you can't use the buffer anyway? So when I do use standard function modules, I usually try to see what they retain in global memory, to better understand if I need to call some initialization/clearing/refresh function...
Note also that often you need to process lots of data, but don't find a standard function module for "mass access", so you need to read your object one by one. Obviously that's another good candidate for implementing your own queries, where you can process the data in packages.
So what might be the reason to use a standard function module? Well, often it's required because the logic is so complex that it would take you too much time to implement it (not to mention that we often simply don't know all the logic that's coded in there). Another advantage is that you might get independent of the data model. E.g. for IDoc interfaces SAP switched in some release the tables where the data is stored. So if you had coded your own queries to get IDoc data, they wouldn't have worked after this particular release upgrade. The standard function on the other hand, checks both the old and new tables, so by using it you would have been fine.
The one major caveat I'd give though is to always check whether the function module is released or at least documented to some degree. I.e. if it's not released, SAP won't support it and does not guarantee that the interface or logic stays the same. In my experience lots of functions I do want to use are not released (or documented), but I will still use them because they seem to be the best alternative in certain scenarios.
Cheers, harald
Maybe you are looking for
-
Including utility jar when packing ejb in weblogic
Hi, I am new to j2ee programming. I have an ejb which uses some utility jars. I followed the bea documents to structure the directory. The directory structure is, like, EjbProject - classes --com ---mine ----projectTracking --> has the class files of
-
JAVA application on a UNIX platform
I've stripped my code to the very simplest form and I can not fix this strange behaviour I'm getting when I run it on a UNIX machine. Both Linux and Windows work fine. Simply put this code initializes a File object corresponding to a directory on the
-
Hello, We are experiencing a Blocked SPAM for a real e-mail on our Tiger Server machine. An excerpt from /var/log/amavisd.log looks like below: Jun 29 20:52:49 students.nese.com /usr/bin/amavisd[26186]: (26186-06) Blocked SPAM, <[email protected]> ->
-
Moving site page from Dev to production - DVWP from SQL server datasource
Hey everyone I have seen a lot of resources online about something similar to my issue but nothing came to concrete help (content is old or not quite relevant) so I appreciate some help. situation - used SP designer 2013 to develop webpart site page
-
I want to start out tby telling you just how cool I am. It's 11:05 on New Year's Eve and I have been trouble shooting the RAM of my early 2008 Mac Pro for 3 hours. Yep, real cool. I have tried multiple configuration of memory cards - 4 in the top