User Exit in 10g - To get client info
Hi all
We have a user exit call in forms 4.5 which returns client info (OS version).
As we are going for 10g, the user exits will reside in AS.
Is there any way by which i can use the same user exit to get client info now ?
Thnx and Regards
Sriram
in the old days of forms 6i we created tons of java-applets for host-commands and so on.
with the first version of webutil all the applets we created ourself were gone, because all functions were in the webutil-toolset.
You can use it beginning with forms 9i. It's very good and easy to use. Look in OTN where the developer-downloads are
Gerd
Similar Messages
-
User exit is used to get incoterms from ship-to-party.
Hi Gurus,
my client needs to catch incoterms from ship-to-party,
please let me know which user exit is used to get incoterms from ship-to-party.
regards,
NarenIn our system we get the inco terms from the ship to party. We use user exit move_fields_to_vbkd in program mv45afzz. The code looks like this:
Inco terms
Added to get the values of Inco Terms from
Ship-To-Party instead of Sold-To-Party.
data: oldship like kuwev-kunnr value space.
if sy-ucomm <> 'UEBR' and "Ordre er ikke oprettet med reference
t180-trtyp <> 'A'. "Der er ikke Vis mode
import oldship from memory id 'ZSS'.
if *vbkd-inco1 is initial. "Første gang vi er i User-Exitet
if kuwev-kunnr <> kuagv-kunnr. "Varemodtager forskellig fra ordregiver
select single inco1
inco2
into (vbkd-inco1,
vbkd-inco2)
from knvv
where kunnr = kuwev-kunnr
and vkorg = vbak-vkorg
and spart = vbak-spart
and vtweg = vbak-vtweg.
endif.
elseif oldship <> kuwev-kunnr and
( *vbkd-inco1 <> vbkd-inco1 or
*vbkd-inco2 <> vbkd-inco2 ).
select single inco1
inco2
into (vbkd-inco1,
vbkd-inco2)
from knvv
where kunnr = kuwev-kunnr
and vkorg = vbak-vkorg
and spart = vbak-spart
and vtweg = vbak-vtweg.
endif.
endif.
Det skal ligge udenfor if-sætningen for at undgå at det overskrives
ved oprettelse med reference
move kuwev-kunnr to oldship.
export oldship to memory id 'ZSS'.
/Torben -
Hi All,
I need to migrate from forms 6i to forms 10g. A major part of the migration would involve migrating User Exits written in C. These User exits have a generous use of UNIX system calls (like fork, execvp) and standard input/output and reading/writing data/trace files. Can someone guide me on how to deploy these User Exits on 10g and Whether or not these User Exits will continue to work without any modification. If any code changes are needed, what would they relate to?
Any help on this would be highly appreciated.
Thanks,
MonikaHi,
Check the BADI's for QI02
Enhancement
QLIB0001 QM: Vendor evaluation
QLIB0002 Determination of complaint score for vendor evaluation
Business Add-in
QB_PLAN_SELECTION_P Plan Selection for Missing Plans in Procurement
QB_QM_SYSTEM_COMPARE Influence the Comparison of the QM Systems
QB_Q_INFO_RECORD Summarize Q-Info Records
Regards,
Srini. -
User exit for iw21 to get Equipment 'position'
Hi,
can any one give the user exit for IW21, to get 'Position' of equipment.
i.e. when i enter equipment in IW21 i am to save it's 'position ' automatically.Where do you want to to save the position in the notification?
Also see the link at the top of this forum for PM/CS User-Exits
PeteA -
User-Exit - MIGO How to get the Number of Material Document
Hi everyone!!
I'm looking for an user-exit after saving in MIGO transaction. I need the Number of Material Document (MKPF-MBLNR) to generate an IDOC.
Does anybody knows an user-exit to get this number?
Regards,
Rubens Kumori
Edited by: Rubens Kumori on Oct 20, 2008 3:26 PMIn BADI definition [MB_DOCUMENT_BADI|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badi&adv=false&sortby=cm_rnd_rankvalue], you may use interfaces [MB_DOCUMENT_BEFORE_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_BEFORE_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (before update task) and [MB_DOCUMENT_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (in update task)
Regards -
I have a problem, I'd like to gather client info and present that info as my forms application loads but unfortunatley I can't seem to get it to works. I can create a button and place code behind it and gather information that way so I'm confident that my set-up of webutil is ok.
any ideas?I think its going to be impossible to help you since you make no mention of any symptoms of how this is not working, no error messages, no sample code.
Try the webutil demo and see if that works - that has code for calling the client info webutil code.
Regards
Grant Ronald
Forms Product Management -
User Exit or BADI to get the Total Tax Amount in a New PO (ME21M)
Hi,
Can somebody tell me any user exit or BADI I can look at to get the total Tax amount of a new PO, after user press SAVE button and before data is written to tables (EKKO, EKPO etc).
Key requirement here is AFTER save button is pressed and before data is written to tables. I want to do some validation before data goes in the table.
Thanks in advance. Please help me.Dear MiniSap..
Maybe you can use function PRICING or CALCUALTE_TAX_ITEM .
Best regards,
Ale -
Find User Exit in MIR7 to validate Vendor info
When incoming invoice is being parked in transaction MIR7, I need to find user exit to add validation/warning if vendor has multiple PI partners in the vendor master. It has to happen when user types in PO number and hits enter key this is when vendor info is retrieved in top right corner of the screen.
Any suggestions/recommendations would be greatly appreciated.
G.B.It looks like function module MRM_HEADER_CHECK is called from fm MRM_INVOICE_CREATE during invoice creation. I tried to set break points there, but it does not seem to be executed when I need it.
I already know how to check for multiple PI partners ( table WYT3 ). What I need is to find a user exit in MIR7 with PO # available when user types in PO number and hits enter key and vendor info is retrieved in top right corner of the screen. I need something similar to routine USEREXIT_XKOMV_BEWERTEN_INIT in include RV61AFZB, but PO # is not available there. Any ideas?
Thanks in advance,
G.B. -
User Exit/BADI in HRBEN0001 Get Offer?
We need to be able to intercept the Benefits presented when HRBEN0001 is executed.
I debugged, but didn't see any user exits.
Anyone have luck with the before?
<REMOVED BY MODERATOR>
thanks,
robert
Edited by: Alvaro Tejada Galindo on Feb 26, 2008 5:57 PMOK, i'm unfamiliar with enhancement framework, so i did a little research...
let's say I want to enhance the FM HR_BEN_GET_OFFER which is called by HRBEN0001 (program RPUBENENROL).
I navigate to that FM and click EDIT -> Enhancement Options -> Show Implicit Enhancement Options.
The Editor jumps to the bottom of the FM and shows
""""""""""""$"$\SE:(2 ) Function Module HR_BEN_GET_OFFER, End
Does this mean that I can put an enhancement at that line? If so, will it require a key from SAP?
Am I on the right track?
thanks,
rp. -
How does the user exit of validation rules get triggered?
SPRO
FinancialAccounting> GL Accounting > Business Transaction > GL posting > Carry out doc settings > Validation in accounting docs
Here you can specify rules and call user exits also.
To add code into the user exit, we have to copy the standard program that contains this user exit and then create a z version?
If so, where do you tell to branch into the custom z program and not the standard program?Go to transation GGB0(Change Validation), Go to Application Area/Time -> Financial Accounting -> Line Item. Create a validation what ever you want and add the steps/rules for that. You have a provision to give Rules/Exits(User Exit).
-
Hi guys,
I am building a client server JSF web application.
How to retrieve details of client machine (e.g Lan ID) on the server side when client send a request to open a web page.
Thanks.Hi Raymond,
Thanks for the reply.
I've tried in a simple servlet as following.
req.getRemoteUser() returns null
req.getRemoteAddr() returns proxy ip address.
I still can't get the LAN ID of the client who send the request.
Please help.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Remote extends HttpServlet{
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException{
res.setContentType("text/html");
PrintWriter out = res.getWriter();
String rmtName = req.getRemoteUser();
String rmtAddr = req.getRemoteAddr();
out.println("<html>");
out.println("<head></head>");
out.println("<body>"+ rmtName + " ," + rmtAddr + "</body>");
out.println("</html>");
public void doPost (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException{
doGet(req,res);
} -
User Exit not getting Triggered in Quality Server
Hi,
In FM 'IDOC_INPUT_DESADV' Iam using an User Exit 'EXIT_SAPLEINM_006' ,
which is getting triggered in Development server.But when I moved it to Quality,
The User Exit is not getting triggered.Thou the Exit is assigned to Enhancement
and that in turn is assigned to Project, still the problem persists.
Can any one suggest me what could be the problem.
Regards,
Kiran B.Kiran,
Check the <b>Project</b> of that enhancement is active or not. not the enhancement.
<b><REMOVED BY MODERATOR></b>
Satish
Message was edited by:
Alvaro Tejada Galindo -
User exit not getting triggered while creating the vendor
Hi all,
I wanted to extend the idoc(crermas01) according to my reqiurement.
But when I am trying to create a vendor using the IDOC cremas01 the user exit EXIT_SAPLKD01_001 is not getting triggered.
Can anybody tell me the reason why it is happening so...........
Thanks and regards,
Vinil.Is your Idoc generated after the execution?
Where is you break-point, it is inside EXIT_SAPLKD01_001. Please note FM EXIT_SAPLKD01_001 will not be called unless it is implemented using project (CMOD) and project is active. -
User exit for update rule of info structure
Hi gurus,
Can anybody tell me how to implement a user exit of update rule for LIS info structure, for ex,S140.
Thanks
Eric xuThere is no user exit and we are not allowed to modify the update rules of the standard SAP info structures. However, you can create your own info structure with the same or similar configuration and then apply a formula or a requirement in the update definitions (MC25 transaction), as you please.
After that you can just turn off the update of S140 (in OMO1 transaction) and use your own info structure instead in MCSI transaction. -
Reg: How to get the trip activity values in user exit.
HI Experts,
I have scenario like I need calculate the trip advance amount for an employee.
Based on the employee travel days and employees activity type.
Activity types means: types of employee trips like
1. Domestic
2. International
Here my problem is not getting trip activity values into my user exit.
I am getting the all selection values in trip header except this TRIP ACTIVITY values.
Please give me idea how I can read this trip activity value in to my user exit.
I have written the below code for user exit.
CHECK SY-TCODE EQ 'PR01'.
MOVE TRIP_HEADER TO IT_PTRV_HEAD.
APPEND IT_PTRV_HEAD.
CHECK SY-TCODE EQ 'PR01'.
MOVE TRIP_HEADER TO IT_PTRV_HEAD.
APPEND IT_PTRV_HEAD.
Thanks & Regards
SameeraHi,
Try to use Enhancement FITR0003.
REWARD IF USEFUL
Maybe you are looking for
-
Process: Safari [465] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 6.1.1 (8537.73.11) Build Info: WebBrowser-7537073011000000~2 Code Type: X86-64 (Native) Parent
-
Best practice for partnership distributions
I am looking for some assistance on best practice. We currently have no process for Partnership Distributions within HFM. Our partnerships we have an equity pickup rule in HFM, and our source accounts are setup to be at a cost basis. The issue become
-
I lost my all contact and application when after update new vision
How to restore all application and contact number
-
Hi i have icon file which has 150*50 pixel and i have a button in my form which has size 150*50 pixel (i change the coordinate system in my form from point to pixel) when i added the icon to the button becomes a square shape and small and located in
-
SRM : Deadline monitoring
Hi, We are using SRM 5.0, Scenario 1: When SC is created and status awaiting approval, if approver1 doesnt approve the SC in 48 hrs, it should escalate to next level. is there any BADI to be implemented and workflow needs to be activated ? We need th