BADI y functions - Urgent
I have the BADI CMAC_BADI_DDS and 3 functions:
FKK_DEFREV_0010, FKK_DEFREV_0030 and FKK_DEFREV_1119.
How do I do to put these 3 function inside the BADI ?
I need this really urgent !!!
Hi Cesar,
The 3 methods in the BADI are active once the BADI is implemented.
If you are looking to see which one is most applicable, do a where used list on each of the methods to dermine where they are used.
Then within the relevant method, add your code.
Set a breakpoint in your code and run the process just to check your code is processed ok.
Does this help ? I think the transaction SE19 can be used to display the BADI methods then double click on the method to go into the code.
Kind regards
Colin
Similar Messages
-
BADI or function module for updating open purchase orders
Hi all,
Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
All helpful answers are highly appreciated!
Regards,
MV1 ) execute this program in se38 .enter the input as transaction code for which you want list of User
Exit.
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP® User Exits exists.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
2) Second way is to go to transaction code SE93 .enter transaction code click on display.
There you will see the package. Copy that package name.
Go to transaction code se84
Enhancements -customer exits-enhancementsu2014enter package there and execute.
You will get list of exits.
3) BAPI for PO change is
BAPI_PO_CHANGE -
Report Service core dumps - log refers to bad strrchr function in libc.so.6
Using Oracle 10g 9.0.4 on Suse 9.3 x86
When I start my midtier (using opmnctl startall), my stand-alone report server does not start and dumps a core file. The log file refers to /lib/tls/libc.so.6. If I try to start it manually from the command line using rwserver.sh, it also fails to start and dumps a core file - the log file refers to /lib/i786/libc.so.6. Other than the different libraries, the rest of the log file is the same - referring to a bad strrchr function - see example below. Any thoughts on why this might be and how to correct?
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x400A1173
Function=strrchr+0xA3
Library=/lib/tls/libc.so.6
Current Java thread:
at oracle.reports.engine.EngineImpl.CInitEngine(Native Method)
at oracle.reports.engine.EngineImpl.init(EngineImpl.java:151)
at oracle.reports.engine.RWEngine.init(RWEngine.java:230)
at oracle.reports.engine.RWEngine.main(RWEngine.java:55)I'm using the orarun package provided by Suse for 9.x and logging in as oracle to run all the application server processes including Report Services. Orarun creates a profile called/etc/profile.d/oracle that includes the following lines:
if [ $HW = "x86_64" ]; then
# Set LD_ASSUME_KERNEL (Required for Oracle 9iR2)
test -f /lib64/libc.so.6 && export LD_ASSUME_KERNEL=2.4.21
else
# For x86/9iR2, unset for Oracle 10gR1
# Add package "gcc_old" gcc 2.95.3 to path - FIRST
if test -x /opt/gcc295/bin/gcc; then
export PATH=/opt/gcc295/bin:$PATH
fi
# If /lib/i686 exists, set LD_ASSUME_KERNEL to not use the
# floating stack version. If you set this without this directory,
# nothing will work anymore.
test -d /lib/i686 && export LD_ASSUME_KERNEL=2.4.21
# If /usr/lib/libInternalSymbols.so exist, set LD_PRELOAD
# This is needed for Oracle 9iR2 Installer.
test -f /usr/lib/libInternalSymbols.so && export LD_PRELOAD=/usr/lib/lib
InternalSymbols.so
fi
Since both /lib/i686 and /usr/lib/libInternalSymbols.so exist,
LD_ASSUME_KERNEL is set to 2.4.21 and
LD_PRELOAD is set to /usr/lib/lib/InternalSymbols.so
Would either of those cause the problem? Even though the comment says it is required for the Oracle 9iR2 installer, the Oracle Application Server 10g (9.0.4) installation documentation says to ensure that these profiles are to be disabled prior to installation and does not explain if they should be re-enabled post-installation or not.
If either of these two variables are the culprit, can you explain a little more about what these two variables do both for the installation of Oracle products and the runtime?
Thanks! -
Hi,
Anyone know of any BADI or function module for amending Account Assignment in Purchasing Document (PR, PO)?Go to se18,
Check both BADI names:
ME_PROCESS_PO_CUST and
ME_PROCESS_PO_CUST.
If you want to use it at save: you can select the method: Post,
if you want to code after save( after completion of transaction) then go for method: CLOSE.
Reward point if helpful,
Rgs,
Ashok -
BADI /BAPI /Function Module in PP
PP Experts,
I need help to identify the BADI /BAPI /Function Module in PP for
BOM Explosion multilevel (TXn CS11)
Planned Order Create and Change (Txn MD11/MD12)
Production Order Create and Change (CO01/CO02)
Simulation Order (Co01S/Co02S)
Appreciate your valuable inputs.
Thanks and Regards,
PradeepHi,
Following Enhancements available for the said T-Codes
Transaction Code - CS11 Display BOM Level by Level
Enhancement
PCSD0014 Wissensbasierte AuftragsStl:Status setzen beim fixieren
PCSD0013 Customer-specific processing of an explosion for BOM browse
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0009 Order/WBS BOM, determine URL page
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
Business Add-in
BOM_EXIT BOM User Exit
BOM_IPPE iPPE Checks Within BOM Maintenance
BOM_UPDATE Maintain BOMS
CEWB_BOM_CUS_FIELDS EWB: Customer Fields with BOM Header (Screen Enhancement)
CEWB_BOM_UPDATE Check Bill of Material on Saving
CEWB_ITM_CUS_FIELDS EWB: Customer Fields with BOM Item (Screen Enhancement)
Transaction Code - MD11/MD12 Create Planned Order
Enhancement
LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg
LMDZU001 User exits in additional planning
Transaction Code - CO01/CO02/CO01S/CO02s Create production order
Enhancement
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
PPCO0009 Enhancement in goods movements for prod. process order
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
Business Add-in
SIDAT_UPDATE Change date of price simulation
CAUFVD_CHANGE BAdI: Overall Network Scheduling with Selection Option
AFABD_CHANGE Change Relationship
PPPI_SEL_ORD_EXT_REL
Regards
Ahsan -
Search for Top GTS BADIs/BAPIs/Function Modules
Hi All,
Reaching out to collect list of the most common BADIs/BAPIs/Function Modules in GTS.
Been searching the web and I can find lists for other SAP areas, but not ours.
Thanks, Jeffhttps://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879
RH_GET_MANAGER_ASSIGNMENT -
Satellite 4030cdt: After installation of CMOS battrie: bad time function
I brought some new cmos battries, ever since I installed them I keep getting a message come up: bad time function.
Can anyone help please?
There is no operating system installed yet as it wont boot from floppy or cd drive.
thank youHi
After CMOS battery changing all BIOS settings are deleted.
I would recommend to enter the BIOS and there you can find the option for system date and time.
Try to set a right date/time and save your changes. -
Compatability Issue: Need Help Disabling Additional Functions - URGENT!
I am experiencing a problem with running Pro Tools 8.0.4 LE on my HP Pavilion dv7, which is encountered as a DAE error -6006 when loading Pro Tools. Research indicates that this error relates somehow to the firewire connection, and I am able to use Pro Tools on this system with a different interface (one that only has two microphone inputs) that allows me to connect via USB.
Also, when I do run Pro Tools via USB it seems that I can't use the Quick Punch feature without a minimum 10 second (usually a lot longer) delayed response after pressing the playback or record button!
I have been emailing Pro Tools support back and forth daily for 10 days now, and in the most recent email, they have said:
"This might be an incompatibility issue. HP Pavilion dv7 laptop is not tested by our US headquarter testing team
and not officially supported.
As you have found by yourself, each PC manufacture pre- installs their own features (as TV tuner) and the program into
Windows OS , the motherboard and BIOS. They work differently to Pro Tools and sometimes conflict. That is why we cannot support those PCs we have not tested.
Please turn off all the additional function by HP from BIOS. Please ask HP support how to do."
Therefore, I am requesting assistance with disabling all unnecessary services and processes on my HP laptop. I am assuming that the TV tuner is not a necessary service, but I have no idea about most of the others, and obviously I don't want to disable something that is necessary.
If you could help me ASAP I would really appreciate it, as I need to get on with recording urgently! Thank you.
This question was solved.
View Solution.UPDATE:
I have also been advised by Pro Tools support that if I add a supported FireWire card with Texas Instrument FireWire chip onto my computer, it may solve the problem. When I asked them how to go about doing this, they responded:
"If your PC has Express Card slot,
http://avid.custkb.com/avid/app/selfservice/search.jsp?DocId=352647
SIIG FireWire 2-Port ExpressCard
is tested and supported FireWire card.
Please ask HP about the spec of your computer." -
Appraisals - BAdi calcuation display (urgent)
Hello Experts,
I have created a new BAdi for final result for Value determination. I have assigned it at Criteria group level but even after the completion, the value is not displayed. However, it is calculating properly at the backend and pushing to the relevant column. I have put a breakpoint and it is triggering..so I am able to view the calculation.
Please let me know if there is any linkage/I have to do change any configuration in the front end so that it is displayed.
Its very urgent..Please help on this.
Thanks in advance!
SwethaDear Swetha,
I suppose you have assigned standard BAdI name for your BAdI. Try to change the name of the implentation of the BAdI. That should do the job.
Do reward points if the answer is helpful.
Regards,
AXE -
Badi for Function partners in PO
Hi all,
there are a badi or user exit (or anything else) to check the number of function partener in a PO?
regards
enzoCheck all User Exits for ME21N
Transaction Code - ME21N Create Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inboun
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
Rewards if useful..................
Minal -
Need for Exit or Badi...urgent
Hi Friends,
Is there any badi or user exits for VL10 or VL10* transaction.i cant find any badi or exit by that badi or exit finding program and also by se24 tcode.
my requirement is,when ever a delivery is created i need to have a real time call to legacy system and depending on SAP Batch no.(charg) field i need to populate some datas from legacy system.
where i can code all my requirements...plz help me in solving this...can u give me badi or exit or includes...
useful answers will be rewarded...Hi
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
The naming standard of function modules for functionmodule exits is:
EXIT_<program name><3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION <3 digit suffix>
To find a Exit.
Goto Transaction -- Find The Package
SMOD >f4>Use the Package here to Find the Exits In the Package.
Else if you Want to search by Application Area wise ,
There is one more tab to find the Exits in the Respective Application Area.
Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
Now Run ur Transaction to Check if it Triggers.
Thats it..
Suppose you need to find out all the user exits related to a tcode.
1. Execute the Tcode.
2. Open the SAP program.
3. Get the Development Class.
4. Execute Tcode SE84.
5. Open the Node 'Envir. -> Exit Techniques -> 'Customer Exits -> Enhancements'
6. Enter the Development class and execute.
Check out this thread..
The specified item was not found.
1. Type the transaction : system->status-> <PROG. NAME>
2 open SE37 , type EXIT<PROG NAME> and press F4 to get the list of function exits available.
3. Open CMOD utilities->SAP enhancements
EDIT->All selections
4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.
5. The displayed list contains the enhancements names for the transaction You were looking for.
6. Create a project in CMOD and the code in default include->activate.
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.planetsap.com/userexit_main_page.htm
User-Exits
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/ab038.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.sap-basis-abap.com/sapab013.htm
http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
These links will help you to learn more on user exits.
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.allsaplinks.com/user_exit.html
www.sap-img.com/abap/what-is-user-exits.htm
Also please check these threads for more details about user exits.
Re: Screen exit
user exit and customer exit
user exit
1. Document on UserExits in FI/CO
http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
2. Finding User Exits...
http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
3. List of all User Exits...
http://www.planetsap.com/userexit_main_page.htm
with regards,
Hema SUndara. -
Hi,
We have implemented a new BADI to do several calculations and we want to integrate a calculation like LOOKUP in this BADI. The purpose is the following: we input quantites and we need to look up the unit price of the service (dimension SERVICE) in order to calculate the amount (quantites * unit price). I imagine that it is a common need in BADI developments. So have you some examples to implementer a "LOOKUP like" function in a BADI.
regards,
RomualdOh, sorry. I was thinking that you needed to get a property value for a certain member of your dimension, in which case reading master data would help you do that. If you need to read a different slice of transaction data, you can use this code.
This code example is presented as a reusable method. The method signature is listed in the beginning as commented code.
* methods read_transaction_data
* importing
* !i_appset_id type uj_appset_id
* !i_appl_id type uj_appl_id
* !it_sel type uj0_t_sel optional
* !it_dimlist type uja_t_dim_list optional
* returning
* value(rt_data) type ref to data .
method read_transaction_data.
data: lt_sel type uj0_t_sel.
data: lo_dataref type ref to data.
data: lo_model type ref to if_uj_model.
data: lo_appl type ref to if_uja_application_data.
data: lt_dim_list type uja_t_dim_list.
field-symbols: <lt_data> type standard table.
* create returning internal table
try.
lo_model = cl_uj_model=>get_model( i_appset_id ).
lo_model->create_tx_data_ref(
exporting i_appl_name = i_appl_id
i_type = if_uj_model=>gc_type_table
it_dim_name = it_dimlist
importing er_data = lo_dataref ).
assign lo_dataref->* to <lt_data>.
catch cx_uj_static_check .
endtry.
try.
* Get dimensions list if not supplied.
if it_dimlist is intial.
lo_appl = lo_model->get_appl_data( i_application_id = i_appl_id ).
lo_appl->get_dim_list( importing et_dim_name = lt_dim_list ).
else.
lt_dimlist = it_dimlist.
endif.
* Clean up selection table
lt_sel = it_sel.
delete lt_sel where low is initial
and high is initial.
* Call read API
call function 'UJQ_RUN_RSDRI_QUERY'
exporting
i_appset_id = i_appset_id
i_appl_id = i_appl_id
it_dim_name = lt_dimlist
it_sel = lt_sel
if_check_security = space
importing
et_data = <lt_data>.
catch cx_ujq_exception.
endtry.
* Pass data to returning data object
get reference of <lt_data> into rt_data.
endmethod.
Cheers,
Rich Heilman -
BADI(very very urgent)
Hi all,
i got the badi for post goods issue but in which TRANSACTION, i have to use this badi.i am new to badi.plz tell me , how can i use the LE_SHP_GOODSMOVEMENT.
plz tell me the procedure to follow?
it is very very urgent.i will reward the point.
Regards
pabitraHi gudia,
Thanks very much.i am really sorry because i have not replied u till now.i am very busy with other issue.so i forgot to open this mail.
anyway, my mail id is [email protected]
my gmail id is [email protected] will be always online in gmail messenger.plz give me some message to my gmail messenger so that i will give u instant reply if i will be in office.
plz describe me clearly so that i can solve that issue using BADI.
i have set some 20 break points in that program while pressing the post goods issue button in delivery(VL02n).but control is not going to that program.plz suggest me details.
Thanks very much for ur help.waiting for ur reply.
Regards
pabitra -
BADI for XK01 (Urgent)
Hi all,
There is a need of the business to copy the withholding tax code field whenever a particular vendor is created by copying from other company codes (Copy of withholding tax code field when copying the vendor in other company codes. . ). Vendor master can be created in one company code based on the reference from the other vendor master from other company codes.
For this i found the BADI called VENDOR_ADD_DATA in that interface is PRESET_VALUES_CCODE this will trigger exactly when ever i want but my problem is there is no fileds for reference data in that interface there is a importing parameter I_LFA1 and E_LFB1 is the exporting parameter but i want to fectch the data ( or copy the data ) based on reference vendor number and company code. how to recognize the reference vendor number and company code for that.
Note : There is no user exit for this requirment all are trigger when the user click on save button only but i want to copy the data initially with out clicking the save button.
I will definetly reward for useful answer.
Mahi.Hi Mahi,
There is a USEREXIT for your requirement and the
Enhancement is SAPMF02K and the
Function module is :EXIT_SAPMF02K_001 : Vendors: User Exit for Checks prior to saving.
Hope you find the solution to your issue.
Thanks & Regards
Abdul Samee -
hai all,
this is the query from robinson .....
I am trying to use decode function as below in PL/SQl..
DECODE(column1,a1,1,a2,2,a3,3,......a150,150,null)
i got a error as
---unhandled exception---
If this decode function is restricted to 120 values i get the
answer.
so i would like to know whether there is any restriction for the
number of arguments to be passed to the decode function.
I will be glad and grateful to receive a answer...for this query.
thanks in advance...
robinsonI'm not sure what is the limit for the decode function
arguments, but it certainly seems that you've reached it.
So, I'd recommend that you write a stored function that you will
call in your select. It should be like the following:
create
function f_decode (p in your_data_type) return your_ret_type
is
begin
if p=expr1 then
return value1;
elsif p=expr2 then
return value2;
elsif p=exprn then
return exprn;
else
return def_value;
end if;
Or, another way to handle it, even more graciously when the
number of possible values will vary pretty often may be to have
a table that you would join.
That's what I do when a have to deal with more than 10-20 values.
end;
Maybe you are looking for
-
Deploying a WAR file on WebLogic 9.2 - Issues
Hi all, I tried deploying a sample WAR file on the admin console of the Weblogic 9.2. This was done under the deployments tab on the admin console. When i tried to deploy i get the following exception and the log on the admin console is as follows: <
-
Radeon HD 7800 (catalyst) + Intel HD graphics (intel-dri) seg fault
Hello, Arch community! I'm using two monitors setup: one is connected to the Radeon HD 7800 other is connected to the motherboard D-SUB socket. Symptoms: - X starts if to use opensource radeon driver. - X starts if to use only one screen inside Serve
-
Cannot create a new StockTransfer object in SDK DI
I'm having a problem using the V6.7 DI SDK with VB 6. My code loops through a collection, creating stock transfer entries in SAP BO. The User requirement is to add detail lines to the stock transfer until the from warehouse code changes after which a
-
Problem while execution of WS10000031
Hi experts, I need your help, We are running the 2-Step approval workflow WS10000031 and this is what is happening when the first authorizer gets the workitem : the authorizer rejects at least one position, then the applicant receives notification of
-
Last week when the automated upgrade came I said yes and then stopped it midway as it was not a good time to reboot my laptop. Since then, when I try to open it says cannot read configuration file - even when I uninstall and reinstall - still cannot