How to make use of values in calling program in a badi
Hi
I have a badi implementation. i need to make use of some values in the program in the BADI. how do i access values in the program in the BADI.
Regards,
Chaitanya
You can try this:
E.g (replace the table and program names with the one you need).:
CONSTANTS: c_resbd(15) TYPE c VALUE '(SAPLCOIH)resbd'.
FIELD-SYMBOLS: <fs_resbd> TYPE resbd.
ASSIGN (c_resbd) TO <fs_resbd>.
If this doesn't work try exporting the variables you need to memory from a field/user exit.
Similar Messages
-
How to make use of structure in my program
hai!
i want to know how i can use the structure "rstxt'
which contains a field by name "txline". this structure is used to hold basic data text present in basicdata1 view
of transaction mm01. i want to know how i can access this structure in my pgm.here, i want to check this basic data text and if proper data text is not present then i am trying to call transaction mm02 using bdc.
any help is appreciated.<b></b>Hi, Try this example
DATA:BEGIN OF ITAB OCCURS 10,
QMNUM LIKE QMEL-QMNUM,
DESC(72),
END OF ITAB.
DATA:F_TDOBJECT LIKE THEAD-TDOBJECT,
F_TDNAME LIKE THEAD-TDNAME,
F_TDID LIKE THEAD-TDID,
ITAB_LINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
F_TDID = 'LTQM'.
F_TDNAME = T_DET-QMNUM.
F_TDOBJECT = 'QMMA'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = F_TDID
LANGUAGE = SY-LANGU
NAME = F_TDNAME
OBJECT = F_TDOBJECT
TABLES
LINES = ITAB_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
DESCRIBE TABLE ITAB_LINES LINES SY-TFILL.
IF SY-TFILL > 0.
LOOP AT ITAB_LINES.
ITAB-QMNUM = T_DET-QMNUM.
ITAB-DESC = ITAB_LINES-TDLINE.
APPEND ITAB.
CLEAR ITAB.
ENDLOOP.
ENDIF.
reward points if it helps
kaki -
How to make use of SE37- Function Module & how to find out the table?
Hi ,
1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
But after giving the particular name what should i do?
Please help me.
2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
Thanks in adavnce for spending some time
Raj.SHi Raj
Function Modules
Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
The Function Builder also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
Check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute. -
How to make use of the presentation variable in SQL result query
I have 2 prompts in my dashboard.
Prompt1 decides the values of Prompt2.
I have set a presentation Variable (selected_comp) in prompt1 which holds the value selected.
To populate the values for Prompt2, I need to execute a query using the presenation variable set by Prompt1.
SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=@{selected_comp}
the query is resulting into
SQL Issued: SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=0
but the value in selected_comp is "ABC".
Can anybody help in how to make use of the presentation variable in query to get the correct value
thanks
ShubhaJust use constrain check box to filter your 2nd prompt values based on the 1st prompt.
Thanks,
Venkat
http://oraclebizint.wordpress.com -
How to make use of the XFList in the Function Bar of the XML Form Builder?
Hello:
Now I am creating blog using the XML Form Builder.
In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
lexian
Thanks a lot!In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
The first text box under Groups attribute corresponds to SCREEN-GROUP1,
2nd text box for SCREEN-GROUP2
3rd text box for SCREEN-GROUP3
4th text box for SCREEN-GROUP4
Hope this helps.
Thanks,
Balaji -
How to make use of StreamGobbler?
Hi,
I want to redirect the out and err statements to a file.
I found a class called StreamGobbler at http://www.physionet.org/physiotools/puka/sourceCode/puka/StreamGobbler.java
I dont know how to make use of it as I have almost no knowledge of Concurrency and threads in Java.
Plz guide.I found a class called StreamGobbler at
http://www.physionet.org/physiotools/puka/sourceCode/p
uka/StreamGobbler.javaDo you see, at the very top of that page, the URL for the original article? It explains everything step by step in great detail. -
How to make the current value default programmatically
How to make the current value default programmatically
Open a VI reference to the desired VI and use invoke mode with method: "Make current values default".
The VI cannot be running, so you need to set it from a different VI. (It also means, it cannot set itself.)
LabVIEW Champion . Do more with less code and in less time . -
I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.
It may be due to Continuity
The following quote is from Connect your iPhone, iPad, and iPod touch using Continuity
Turn off iPhone cellular calls
To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls. -
HT1937 how to make iphone to iphone video call through sim card
how to make iphone to iphone video call through sim card??
use facetime to video call or any other app for that. you should have an cellular data connection or wifi to use this
-
How to make use of adjacent data elements within the same buffer
Hi,
Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
Here I also attach my VI showing what I did.
Thank you very much in advance,
Suksun
Attachments:
wheel_encoder_1.vi 98 KBHi Suksun,
I hope you'll forgive me for distilling your code - mainly to understand it better. I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array. As in your code, the last velocity is being paired with the first position. If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
cheers
Message Edited by Dynamik on 01-07-2006 03:17 AM
Message Edited by Dynamik on 01-07-2006 03:19 AM
When they give imbeciles handicap-parking, I won't have so far to walk!
Attachments:
encoder2.GIF 14 KB
encoder2.vi 102 KB -
How to make use of BAPI_CATIMESHEETMGR_CHANGE
Hi All,
We need to make use of BAPI_CATIMESHEETMGR_CHANGE for changing entered hours against an activity instead of adding new row for the same(BAPI_CATIMESHEETMGR_INSERT does that ) . Please guide me what all table parameters we should supply while executing this FM.
Regards,
Ganga.Hi Senthil,
Now I have got how to make use of BAPI insert and change. But problme is when I need to add an hours entry for , say tuesaday of activity A for which already HAS monday hours,I am using BAPI_CATIMESHEETMGR_INSERT AND IT IS ADDING ONE MORE ROW AS SHHOWN BELOW
. But it adding new row. How top overcome this.
<b> Monday
A 2</b>
After insert
<b> Monday Tuesday
A 2
A 3</b>
=----
SHould I use delete and insert.
Please help me..;
Regards,
Ganga
Message was edited by:
Gangadharayya Hiremath
Message was edited by:
Gangadharayya Hiremath -
How to make use of classlocator in NWDS.
Hi Experts,
I don't have Class / jar Locator.
I am unable to install from SourceForge Website, it is showing some error.
where can i get it ?
And how to make use of classlocator in NWDS.
Help me out in this regard.it's urgent
Regards
BalaHi Balakrishna,
You can download the classlocator from this URL:
http://www.filewatcher.com/b/ftp/ftp.heanet.ie/mirrors/download.sourceforge.net/pub/sourceforge/c/cl/classlocator.0.0.html
Check this thread for more help
How to use classlocator plugin?
Thanks n Regards
Santosh
Reward if helpful !!! -
How to make use of label printing in sap smartforms
Hi Dear,
How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will
come as four labels.All page should follow the same procedure... How to do...please help me..
Regards,
NikhilHi,
Please go through below link, would be helpfull for you.
[http://help.sap.com/saphelp_nw04/helpdata/EN/6b/54b4b8cbfb11d2998c0000e83dd9fc/frameset.htm] -
How to make use of 'Icon Name' in Logical link?
I see the option 'Icon name' in 'define logical links' in SPRO. It does not however has an F4. I tried giving the name of image in the relevant skin. But no image appears besides the logical link. Is there something else that needs to be done to get an image besides workcenter link? How to make use of this 'Icon Name' in logical link?
Hi,
i guess this icon_name is not possible for every skin in CRM70.
We use nova skin - here it is not possible.
With default skin i saw icons for example on the salespro startpage.
Kind regards
Manfred -
How to make use of 32bit packages on Arch64
Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs.
My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
Arch x86_64 / XFCE4
Thanks in advance
Last edited by kaola_linux (2008-12-09 15:24:36)kaola_linux wrote:
Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs.
My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
Arch x86_64 / XFCE4
Thanks in advance
You can reuse the packages in /var/cache/pacman/pkg/ on your Arch32.
You can use these saved packages in a 32bit chroot ENV on your Arch64. Just pacman -U all of them.
Maybe you are looking for
-
I'm trying to configure an HP Laserjet 1320nw printer on my WEP secured wireless network at home. I don't have the original CD, what can I do to make the settings on the printer. ciao
-
MSS SAP R/3 Connection Problems
Hi, I've just installed EP6 SP2 and imported the MSS 6.1.2 business package. However all the My Staff delivered iviews give a similar error when trying to connect to R/3. The My Staff iviews use a logical system name SAP_R3_HumanResources. I've confi
-
JAVA GUI window content does not fill out when window is enlarged (Win,Mac)
I've been using the SAP JAVA GUI on a Windows XP workstation as well as a couple of MacBooks running OS X over the last year and a half or so, running versions from 7.10 r 7(maybe earlier) thru 7.10 r 10 (installed today.) The GUI has performed gener
-
Hoping someone can help me here. I'm using theHZ_CUST_ACCOUNT_SITE_V2PUB.get_cust_site_use_rec to successfully retrieve a cust_site_use record from the database. I then update one column and use HZ_CUST_ACCOUNT_SITE_V2PUB.update_cust_site_use to try
-
Can we assign new IFRS Set of Books to existing Company whose base Currency is INR
Hi Team, We have Company setup in base currency INR but due to some issues we also want company data to be maintain in AED. so.... we want to add one more set of books to this company (where in we have already done may transaction in this company. Wi