Urgent sets in badi
Hi ,
There are 8 gl accounts in set.a set is created.In badi i am trying to compare with those gl accounts with some value.I have hard coded those values.
Is there any other method for comparing these set valuses.
reg
I think you want to read the set of account defined in SAP,
If yes look at <a href="http://www.geocities.com/victorav15/sapr3/abapfun.html#sets">FI-SL Sets</a>
Regards
Similar Messages
-
!!URGENT!! BADI Implementation for creation of G/L accounts
Please can you urgently help. I am trying to implement a user exit or badi to check the uniqueness of the description while creating a G/L account.
I tried to create a BADI implementation to the definition FI_LIMIT_ACCOUNT but it gives error messages that this is for SAP internal use.
The user exit ZXF03U01 used in enhancement SAPMF02H cannot be used as this exit passes only SKA1 and SKB1.I would like to check on SKAT. The fields affected in SKAT-TXT20 and SKAT-TXT50.
Do you see a solution to this?
I have the same to be implemented for KS01/KS02 - Create/Change Costcenter.
A prompt response would be appreciated.Also try :
CL_IM_QISR1_GL_ACCOUNT_CRE Class
Or FM`s
GL_ACCOUNT_INSERT
GL_ACCOUNT_IN_COA_INSERT
GL_ACCOUNT_IN_COMPANY_INSERT
GL_ACCOUNT_SAMPLE_INSERT
GL_ACCT_CH_REQ_CREATE_ACCOUNT
Thanks -
Hi Experts,
My requrement is on BADI's but i have not much idea on this requrement,requirement is as follows:
· A user exit is needed on the delivery that rebrands sub items into the header item and the header item will then be Post Goods Issued.
· This needs only to be done for materials with Item Category equal ZTNB.
· The SAP sales BOM functionality needs to generate movement types 309/310 rebrands for the component materials and 601 on the header or additized material.
· We want 309 Credit entries on the base product instead of additized product.
· This is needed to create the correct financial posting as well as stock movements
· It can now check the header MOT of the delivery for PK as well as the item category of the sales BOM header ZTAQ
This is the screen flow for transaction MB11 which can be called via the Call Transaction statement. It shows all data needed to process this transaction.
It is not necessarily wanted that the user exit BADI - LE_SHP_GOODSMOVEMENT calls this transaction.
plz help me out from this problem.
ThanksPlease only open one post per question. Thanks.
Regards,
Rich Heilman -
Hi Abappers,
Kindly help me out as i am in trouble. I have got a requirement to add customized fields onto O4_TIGER screen using BADI. I have got the name of the BADI definition ie., OII_DIP_ADD_COLUMNS . This screen is related to MM -> Inventory mangement -> Is-OIL.
Can anyone pl help me out of how to add fields . Coz i have absolutely nil knowledge in BADIs and Userexits. I would be very much pleased if some one suggest me a step by step process.
Regards.<b>first u define BADI in " SE18", and implement in "SE19".
for predefined GLOBAL CLASS : CL_EXITHANDLER which can enable BADI service.
method-->GET_INSTANCE (which can create instance of a class)
gowith SE18 --> NAME..... Z***** --> CREATE,
click check box MULTIPLE USE.
select INTERFACE tab
INTERFACE ..... ZIF_EX_**** <-----click on this -
> enter.
save details.
METHODS LEVEL DESCRIPTION
SELECT-DATA INSTANCE SELECTING DATA
select PARAMETERS
PARAMETER TYPE TYPING
CUST_LOW IMPORTING TYPE KNA1-KUNNR
CUST_HIGH IMPORTING TYPE KNA1-KUNNR
SAVE DETAILS.
implementing BADI -
> SE19
implementation name ...... Z**********-----> CREATE
DESCRIPTION--...DEMO FOR BADI
select--> INTERFACE
for method> SELECT_DATA <--- click on this ---> enter
save details.
METHOD
DATA : ITAB TYPE TABLE OF KNA1,
WA TYPE KNA1.
SELECT KUNNR LAND1 NAME1 ORT01 FROM KNA1 INTO TABLE ITAB WHERE KUNNR BETWEEN CUST_LOW AND CUST_HIGH.
LOOP AT ITAB INTO WA.
WRITE:/ WA-KUNNR,WA-LAND1,WA-NAME1,WA-ORT01.
ENDLOOP.
ENDMETHOD.
F3 , SAVE and ACTIVATE.
LETUS CREATE EXECUTABLE PROGRAM (SE38).
PROVIDE TABLE WA.
REPORT Z*******
TABLES: KNA1.
SELECT-OPTIONS: S_KUNNR FOR KNA1-KUNNR.
declaration.
CLASS CL_EXITHANDLER DEFINITION LOAD.
interface reference
DATA: OBJ_EXIT TYPE REF TO ZIF_EX_*****.
START-OF-SELECTION.
gowith PATTERN ---> AABAP object pattern --> ENTER.
CALL METHOD
CLASS---- CL_EXITHANDLER
METHOD--- GET_INSTANCE
ENTER.
CALL METHOD.............
CHANGING
INSTANCE = OBJ_EXIT.
gowith PATTERN> AABAP OBJECT--> ENTER
CALL METHOD
OBJ---> OBJ_EXIT,
CLASS---> ZIF_EX_*******,
METHOD----> SELECT_DATA.
CALL METHOD.................
EXPORTING
CUST_LOW = S_KUNNR-LOW
CUST_HIGH = S_KUNNR-HIGH.
SAVE and ACTIVATE.
EXECUTE.</b> -
URGENT - Error 400--Bad Request
When I run weblogic 6.0 default console I get "Error 400--Bad Request> From RFC
2068 Hypertext Transfer Protocol -- HTTP/1.1:"What does this mean ? Can u help
me to fix it !! Other than reinstall the whole WebLogic!!!
Another things is do you have and recommendation web site, eBook that teach "Using
Weblogic EJB with JBuider 6". Thank YouThe solution was to switch to Apache's HttpClient. no more problems with SUN's HttpUrlConnection!
-
Urgent set of books in Oracle Applications
What is the difference between Multi-Org and set of books. Which is the use of these fundamentals?
It's very urgentWhat?
-
Enhancement help in ME51n : Extereme urgent ! Exit + BADI-EX
Hi Experts !
I have added one tab and a field into it in ME51n through screen exit mentioned below :
Calling screen No. Area Called screen No. Short Text
SAPLMEGUI 0014 SUB0 SAPLXM02 0111
I need to save the user input value of this field + the PR number generated into my ztable which has only these two fields.
<b>The issue here is that PR no gets generated only when we save and i cud not fetch it in these exits ( If some has a point that we can fetch it in one of the exits-plz let me know)</b>
Now I've used the exit : EXIT_SAPLMEREQ_003 of enhancement : MEREQ001
to put data from screen field( added ) into a structure 'IM_ITEM' of nature mereq_item by using methods of interface IF_PURCHASE_REQUISITION_ITEM.
Below is the code i used in the include of above exit:
*& Include ZXM02U03
tables ZTMMP0_PMASTER.
data im_item type mereq_item.
CALL METHOD im_req_item->get_data
receiving
re_data = im_item.
im_item-zpurpose = ZTMMP0_PMASTER-PURPOSE.
CALL METHOD im_req_item->set_data
EXPORTING
im_data = im_item .
Now i found a BADI ->ME_REQ_POSTED which gets triggered at the time of posting the PR.if u r clear about my above code thru methods<i><b> i am tryin to throw data of screen input from my function exit and catch the same in BADI - where PR no is visible and i wud push both from BADI-method into my ztable.</b></i>
Issue is that the data of my new field which i passed thru my exit as shown above is not visible in BADI method and i cant use the get_data method
eagerly waiting for help,
Sachin Soni
Message was edited by:
Sachin SoniHello Sachin,
You are trying to bring data from an Exit to a BADI , but the BADI cannot recieve the DATA as far as i understood since the parameters are restricted,
An option coming to me right now is to :
<b> Use import <--> EXPOT memory</b>
Export from the Exit and Import from the BADI using ABAP export/import statements
EXPORT (OBJ_TAB) to memory ID 'ABCD''.
IMPORT (OBJ_TAB) FROM MEMORY ID 'ABCD'.
OR
IMPORT A = A B = B_PROG C = C_PROG FROM MEMORY ID 'ABCD'.
and
FREE MEMORY ID 'ABCD'
Please check for correct syntaxes
Reward if helpful and pls update if problem is solved
Regards
Byju -
Urgent Help needed - BADI's in Infospoke
Hi,
My Scenario:
I am pulling data from master data using infospoke into Application server. I need some kind of easy transformations during this stage.
I got ZSTATE field in my data and I need to restrict my output to only certain states(Ex: NJ,CA, TX , MNetc). Since I can't give those selection conditions in infospoke I need to try BADI. I created a BADI and have target and source structure. Can anyone write me small code for this to eliminate other states and allow NJ , CA, MN, TX etc.
Source structure: /BIC/CYZZTEST
target Structure: /BIC/CZZZTEST
infospoke: ZZTEST
Field: Zstate
Class:ZCL_IM_ZZTEST
Method:IF_EX_OPENHUB_TRANSFORM~TRANSFORM
Full points to helpful answer!!
Anil.The problem is cross user too - I have two user files on the machine and the same thing happens regardless of which user file I'm working in.
That points to s 'system-wide' issue.
Try resetting your SMC.
Resetting the System Management Controller >>
Also, you could try booting from your install DVD and see if it does it there. If it does not, it's more than likely a software issue and an Archive and Install should fix it.
Mac OS X: About the Archive and Install feature >>
-Bmer
Mac Owners Support Group - Join us @ MacOSG.com
Mac611 Mobile Mac Support - about.Mac611.com
iTunes:MacOSG Podcast | YouTube.MacOSG.com
An Apple User Group
Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.' -
Workflow not triggered for BP when start condition's field is set by BADI
Hi guys,
I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
Can someone please help me in this or let me know where I can find its cause in system.
Any help would be really appreciated.
Regards,
ShailiIf this is just one field, create your own custom event and code launching it when saving BP with your field changed.
Maybe event Changed is executed only for changes in GUI.
If you program your own one you will have 100% control of it.
Regards
Radek -
URGENT - SET TASK (SYSTEM STATUS) TO COMPLETE - IW22
Hi,
Can anybody suggest a FM and its parameters (necessary) to set the system status of a task in IW22 transaction?
I tried using STATUS_CHANGE_INTERN by calling it in my report with OBJNR and STAT. it didn't gimme any error but the status didn't get reflected in IW22.
All quick inputs in this regard will be highly valuable and appreciated.
Thanks in Advance,
Bharathi.Hi.
After calling FM STATUS_CHANGE_INTERN need run some procedure:
CALL FUNCTION 'STATUS_UPDATE_ON_COMMIT'.
COMMIT WORK.
Good luck. -
Urgent: Setting character limit for JTextArea
Hi, I am newbie to java swing and I have a question.
I need to set a limit of 2000 characters that can be typed in a text box(JTextArea). How do I do that?
Thanks for the help.Here is the sample code to do this using KeyListener. This is crude way but is an easy way for newbie's. Using documents is more sophisticated way.
<code>
public class LimitedCharsTest extends JFrame {
private JTextArea limitedCharTextArea = new JTextArea();
public static final int MAX_CHARS = 10;
public LimitedCharsTest() {
JScrollPane scrollPane = new JScrollPane(limitedCharTextArea);
this.getContentPane().add(scrollPane);
this.setSize(200,200);
limitedCharTextArea.addKeyListener(new TextAreaKeyListener());
this.setVisible(true);
public static void main(String[] args) {
LimitedCharsTest limitedCharsTest1 = new LimitedCharsTest();
private class TextAreaKeyListener extends KeyAdapter {
public void keyTyped(KeyEvent ke) {
String taContent = limitedCharTextArea.getText();
if(taContent != null && taContent.length() >= MAX_CHARS)
ke.consume();
</code> -
URGENt : Set Path .OLB
Hi,
I'm working on OS Linux with 9iAS R2.
I have this situation.
A directory where I put my file .olb and others three or four where I put different .fmb.
When I compile the .fmb the compiler doesn't found the file .olb.
In my file 'default.env' I set the path of the .olb in the 'FORMS90_PATH'.
Where is the problem ?? Why the compiler works fine only the .olb be in the same directory of the file .fmb ???
When I work on OS Windows I have all separate directory.
Regards
GiordanoThe default.env is a runtime file it's not used during compile time - Set your forms path in the environment using set or setenv depending on your shell
-
[URGENT] : Setting View Of JScrollPane
Hi all,
I have developed a application in which i am using a JTextArea to display some messages. This text area is added in a JScrollPane.
I want to set the position always at the bottom of text area.
Please provide solution for this.
Thanks,
AbhishekI tried setting the JScrollBar to max but it kept missing the last line and jerked a lot. But the problem is solved by setting the caret position in JDocument to its length
-
Total Compensation Statement - BADIs Question
Question:
The total compensation statement is programmed to read off the payroll cluster for the wage types identified in the pay category in configuration.
I noticed there are set of BADIs available for country specific enhancement. Could someone explain the purposes of it? Since wage type could be configured as country specific already, what is the purpose of these country specific BADIs?
Also. If information is NOT stored in the payroll cluster but via a custom infotype, would utilizing these BADI be able to read the information from it? Or would that required a separated program and the BADI functionality won't be able to do them?
These are the BADI delivered...
Read Data on Subcategory Defined by SAP (Pay)
Read Data on Customer-Defined Subcategory (Pay)
Read Data on Subcategory Defined by SAP (Other Compensation)
Read Data on Customer-Defined Subcategory (Other Compensation)
Read Data on Subcategory Defined by SAP (Personnel Development)
Read Data on Customer-Defined Subcategory (Personnel Development)
Read Data on Subcategory Defined by SAP (Benefits)
Read Data on Customer-Defined Subcategory (Benefits)
Read Data on Customer-Defined Category
Thanks,
KNFYI for anyone interested...
Yes you could use these BADI to redirect it from looking at the payroll clusters to a custom table or infotype. Within the BADI you would need to use the IMPORT values to do lookup and export out the tab values needed. Including what you would like to see on the screen, etc.
I'll create a blog on how to do this when i get a chance www.saphelpbykevin.com -
Setting up Guitar Rig in Mainstage
I have a Tascam 1641 and I've tried hooking it up to mainstage and plugging my guitar into one of the inputs and assigning that input to the mainstage program channel but I get nothing out of the guitar when it happens. How do I set this bad boy up I want to try it out.
Have you set up the Tascam as your input/output device in Mainstage preferences? If not, make sure the TAscam is connected to your computer, click on the Mainstage menu, select preferences/audio and your interface should appear in the drop down list for input and output devices. Select it for both, and click on Apply.
Maybe you are looking for
-
I have just started having a problem with my N91 where, when I turn it on, it freezes on the opening screen, and the hard-drive works. However, the hard drive appears to be making a louder noise than usual, a clicking noise. The only way out of this
-
How to run a search query for a particular folder in KM related to portal
Hi, Can any one tell me the steps for : how to run a search query for a particular folder in knowledge management related to portal. Answers will be rewarded. Thanks in advance. KN Edited by: KN on Mar 18, 2008 6:33 AM
-
hi: i am setting an imac g5 for a friend. i migrated data from an imac g4 via firewire target disk mode and now on output sound the only option is digital sound. i get no sound other than the boot sound. any ideas? it is currently os 10.3.9 thanks in
-
Setting timeline for Anamorphic footage shot 24fps
I have footage I shot with a Panasonic DVX100a. I shot 24p with the Anamorphic lens. When I import into the FCP timeline the settings give me a choice of 24fps..or Anamorphic. There does not seem to be an option that includes both. I need to cut this
-
HT4623 How can I download iOs on my iPad?
How can I download iOs on my iPad?