T.Code based on Language
HI all
my requirement is
I have to create a t.code based on language, I mean when ever a user logged in with language EN i have to change the t.code appearance.
Please shoot back your suggestions
Thanks
Srikanth.n
Hi Arman,
Time to raise such concerns with SAP support .
There is many ways, indirect one to do so, for eg, when a user locks, and hits a code ZMB5B not MB5B which should be locked or not be assigned to users, then the code check the permit time table and user list. This code will we for a new screen(eg screen Zee), which will then permit to displays MB5B program to the user if he passes Zee screen.
Regards,
Similar Messages
-
Creation of Ship tp party code based on Address in BAPI_SALESORDER_CREATEFR
Hi Experts,
Scenario is read external file as input to create SO in ECC .
I am using the BAPI_SALESORDER_CREATEFROMDAT2 for creating sales order. In VA01, Ship to party and sold to party needs to be passed in header level . But the problem is that I am unable to send the Ship to party Code , but i can send only the address of ship to party .
1. How can get the Ship to party code based on the address ?
2. Which BAPI filed to update the Ship to party address ?
Kindly help me out.
Thanks.,
V.RangarajanHi Vijay
I think if you mean Address as ADRNR, then what you can do is
1. Go to KNA1 and from ADRNR no get the Ship-to-party number.
2. When you get the Number Call your mentioned bapi and in Tables parameter 'ORDER_PARTNERS' pass the values of ship-to-party and sold-to-party in field 'PARTN_NUMB', update the field PARTN_ROLE with assigned Partner Function. -
UDF For Retrieving the Tax Code based on PO
Hi all,
Mine is a file to Idoc scenario.
I wrote a FM to retrieve the Tax Code based on PO .
Created the udf which directly gets the Taxcode from the r/3 with out importing in to the imported objects,is this correct i never tried this before.
Find the UDF for the Same.
final String CHANNEL_NAME = "GeneratedReceiverChannel_RFC",
VALNOTFOUND = "VALUE_NOT_FOUND",
SAPRFCNS = "urn:sap-com:document:sap:rfc:functions",
TAG_FM = "Z_P_INT012_RFC_LOOKUP",
TAG_TAX_CODE = "T_TAX_CODE",
TAG_TAX_CODE_P = "TAX_CODE";
AbstractTrace trace = container.getTrace();
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = null;
factory.setNamespaceAware(false);
factory.setValidating(false);
try {
builder = factory.newDocumentBuilder();
} catch (Exception e) {
trace.addWarning("Error creating DocumentBuilder - " + e.getMessage());
Document docReq = null;
try {
// Building up RFC Request Document
docReq = builder.newDocument();
Node root = docReq.appendChild(docReq.createElementNS(SAPRFCNS, TAG_FM));
Node nodeTbOpt = root.appendChild(docReq.createElement(TAG_TAX_CODE));
for (int i = 0; i < pernr.length; i++) {
Node nodeTbOptItem = nodeTbOpt.appendChild(docReq.createElement("item"));
nodeTbOptItem.appendChild(docReq.createElement(TAG_TAX_CODE_P)).appendChild(docReq.createTextNode(TAX_CODE<i>));
} catch (Exception e) {
trace.addWarning("Error while building RFC Request - " + e);
trace.addInfo("RFC Request XML: " + docReq.toString());
//trace.addWarning("RFC Request XML: " + docReq.toString());
// Lookup
Payload load = null;
try {
Channel channel = LookupService.getChannel(receiver[0], CHANNEL_NAME);
RfcAccessor accessor = LookupService.getRfcAccessor(channel);
InputStream is = new ByteArrayInputStream(docReq.toString().getBytes());
XmlPayload payload = LookupService.getXmlPayload(is);
load = accessor.call(payload);
} catch (LookupException e) {
trace.addWarning("Error during lookup - " + e);
// Parsing RFC Response Document
Document docRsp = null;
try {
docRsp = builder.parse(load.getContent());
} catch (Exception e) {
trace.addWarning("Error when parsing RFC Response - " + e.getMessage());
trace.addInfo("RFC Response XML: " + docRsp.toString());
//trace.addWarning("RFC Response XML: " + docRsp.toString());
try {
NodeList res = docRsp.getElementsByTagName("item");
for(int i=0;i<res.getLength();i++){
NodeList itemNodes = res.item(i).getChildNodes();
Map itemMap = new HashMap();
for(int j=0;j<itemNodes.getLength();j++){
itemMap.put(itemNodes.item(j).getNodeName(), itemNodes.item(j).getFirstChild().getNodeValue());
rows.add(itemMap);
catch (Exception e) {
trace.addWarning("Result value not found in DOM - " + e);
result.addValue("true");
Error:
16:24:08 Start of test
Source code has syntax error: /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:598: 'class' or 'interface' expected public void TaxValues$(String[] a,String[] b,ResultList result,Container container){ ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:618: 'class' or 'interface' expected } ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:619: 'class' or 'interface' expected ^ 3 errors Source code has syntax error: /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:598: 'class' or 'interface' expected public void TaxValues$(String[] a,String[] b,ResultList result,Container container){ ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:618: 'class' or 'interface' expected } ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:619: 'class' or 'interface' expected ^ 3 errors
16:24:11 End of test.Hi Potharaju,
Why don't you try this, that really works:
If you are using PI 7.1:
http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm
If you are using XI 3.0, PI 7.0
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
Try with these.
Regards,
Juan -
How to get vendor and company code based on logistic invoice document
how to get vendor and company code based on logistic invoice document in abap/4?
Hello Kumar
When you call BAPI_INCOMINGINVOICE_GETDETAIL using
INVOICENUMBER = <number of invoice>
FISCALYEAR = <fiscal year>
the returned HEADERDATA contains what you are looking for:
HEADERDATA-COMP_CODE
HEADERDATA-DIFF_INF
Regards
Uwe -
Code page to language assignment
Hello everyone
I have the following problem:
I generate email attachement in pdf format converting the smartform.
As input parameters for smartform FM I pass language.
smartform engine choose specific code page depending on language I passed?
The problem is that when I have french characters and polish characters at the same time
one of them are ## dependind on language?
Is it possible for me to have both of them displayed correctly?
Maybe it is a question of assignement code page to language but I dont know where to set this.
Thanks for every help
WojtekTry to solve the problem with your basis person.
The basis person should check if fonts install correct.
Also, when you send pdf in email check in transaction scot
see in menu:
setting->device types for format conversion
if the pdf device type define ok.
Eliram. -
I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.The Acrobat SDK might be a starting point.
From there, perhaps a plug-in (built with C+).
Perhaps with a licensed release of a PDF Library (this could be $$).
The viable and cost effective alternative is use the tried and true.
Authoring in an appropriate authoring application with appropriate tag management.
Example: Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
This way you place "Alternative Text" when mastering content in the authoring file.
Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
Regardless, here you have a sub-forum for discussions on Acrobat usage.
Consequently discussions on/of 3rd party software is rather out of scope eh.
Be well... -
Hi All,
I have created a ALV report, in the sel.screen I have 2 radiobuttons with text English and Arabic.
Now if I excecute the report with English, the O/P should be in English and if I excute the report with Arabic, I want the O/p to be displayed in ARABIC..
note : User's Logon lang wil be always "English"
plz let me know how to do it.
With Regards,
S.BharaniHi,
Well in that case, while retrieving the data pick up based on Language.
Select * from makt
into it_makt
where matnr in s_matnr
and SPRAS = r_lang.
Best regards,
Prashant -
Key shortcut, issue, typing something in editing code and changing language going directly to snippets.
So the problem is that I have to click in the editing code again to write in different language, which it didn't happened before.
Just in case of shortcut keys collision I completly removed the shortcut of snippets from shift+F9, nothing changed. I really can't understand why when I press Alt+Shift to change language it goes straight to the snippets.
If anyone can help would save me from nervous breakdown!
Thanks,
GKDSince this appears to be a "just started happening" issue, have you tried clearing the program cache?
Deleting a corrupted cache file
That tends to catch a lot of weird behaviors and straighten them out. -
Change company code based on profit center at line item level in FB50
Hi All,
Following is my requirement, would be thankful if anyone can provide inputs on the same.
When posting documents through FB50, In line item table control company code column gets un-editable ones correct entries are entered for that line. But after this if we want to change the profit center which belongs to different company code system throws error and makes company code column un-editable. In this situation there is no option left for user to correct the values unless he deletes the current line and creates a new one.
Here can we make the company code field always editable?
If not can we update the company code based on the profit center entered on that line item?
I looked for exits but couldn't find any, validation and substitution are also not working because error message thrown by SAP is getting triggered before the substitution or validation code is executed.
Please drop in your comments/inputs.
Thanks in advance.
Lucky.Transaction Code - FB50 G/L Acct Pstg: Single Screen Trans.
Exit Name Description
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
No of Exits: 14
USER EXIT
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.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Can somebody tell me what is g-code in abap language
hi,
please help me about g-code in abap language.
thank u,
subhasis,.I think,
g-code means custom code.
Custom one's will be started with Z, however Z is pronounced as "Zee".
So, this seems to be relevant to customs.
You may post this issue in ABAP group to get appropriate answer.
warm regards
sairam akundi -
T-code based iviews in HTML format
Hi,
Please do let me know how to dispaly the t-code based iviews in HTML format through portal.Actually we need to dispaly some ABAP reports through portal in SRM.Should the reports be first converted to HTML format.
Also,we need to create the PO field as hyperlink which should take the supplier to a particulatr PO as and when he clicks on it.Can this(hyperlink) be done in portal.
Thanks in Advance,
ManuHi Manu,
In order to display the iviews in HTML format you need to enable the ITS services from your SAP System first of all.
You can do so by following these steps:
Step 1.
1.Configure the Rz10 profile parameters for the host name and the port no.
2.Check that parameters appearing in the SE80 settings and ITS Server settings.
After activating ITS Services these steps more needs to be done to make them usable.
1. Go to SE80-Edit ITS Service SYSTEM-> Publish it completely.
2. Go to SE80-Edit ITS Service SHUFFLER-> Publish it completely.
3. Go to SE80-Edit ITS Service WEBGUI-> Publish it completely.
4. Go to SE38-Run the Program W3_PUBLISH_SERVICES and publish all the webservices.
From transaction SICF now you need to enable the services.
1.Go to sap/bc/gui activate the complete node.
2.Go to sap/bc/icf activate the complete node.
3.Go to sap/bc/ping activate the complete node.
4.Go to sap/public/bc activate the complete node.
Now give the ITS parameters in the system you created and create a SAP Transaction Iview. inside its property editor choose the option SAPGUI for HTML.
Hope I am able to answer your question.
Regards,
Atul Shrivastava
PS:Award points for helpful answer. -
Where to find the error code in your language.
For the DBA whose native language is not English, sometimes read the error code in your language can be helpful.
I give you to know this website where you can find the oracle error codes in 15 languages: Spanish, French, German, Portuguese, Swedish, Norwegian, Danish, Turkish, Italian...
Some examples:
http://ora-01722.ora-code.net/ - ora-01722: invalid number
http://ora-00936.ora-code.net/ - ora-00936: missing expression
http://ora-12154.ora-code.net/ - ora-12154: TNS:could not resolve the connect identifier specified
http://ora-12704.ora-code.net/ - ora-12704: character set mismatch
http://ora-29532.ora-code.net/ - ora-29532: Java call terminated by uncaught Java exception: %s
http://ora-00955.ora-code.net/ - ora-00955: name is already used by an existing object
http://ora-00372.ora-code.net/ - ora-00372: file %s cannot be modified at this time
http://ora-00600.ora-code.net/ - ora-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
http://ora-04063.ora-code.net/ - ora-04063: %s has errorsIt wasn't a question.
-
Hi,
I"m new in LabView and I have a general Question.
Can I design a VI and generate C-Code based on this VI?
My aim is to generate C-Code and implement it on a MicroControler.
Which NI Tools do I have to use?
LabView / LabWindows / LabView Embedded Module?
Thanks a lot,
ThomasSure you can generate C code based on a VI....
Just not automatically...
LabVIEW code is compiled code. You can't translate it into C automatically. You will need to rewrite the code yourself in C.
Of course, the question to ask is: why do you need to generate C code from the LabVIEW code? If it works in LabVIEW, what's to gain? -
Switch to "Source Code-Based" mode in class builder
hi,
while doing the tutorial
http://help.sap.com/saphelp_nwpi71/helpdata/en/67/6b5bbb681e4f10b44bc2d6c4167b02/content.htm
i came across the step,
... Switch to Source Code-Based mode , in the class builder,
but in my workbench it is not available.
i searched on sdn, and saw the link
[Settings of the Class Builder|http://help.sap.com/saphelp_nwpi71/helpdata/en/67/6b5bbb681e4f10b44bc2d6c4167b02/content.htm]
it shows there must be an option for
Source Code-Based Class Builder - If you choose this option, the system opens the Source Code-Based Class Builder by default.
but in my system, i can see all other options in the Utilities->Settings-Classbuider page, except the option of Source Code-Based Class Builder
could this be related to my permissions or our version of sap system.
madhu_1980[ABAP documentation indicates it is available as of 7.0 ehp 2|http://help.sap.com/abapdocu_70/en/ABENNEWS-710-TOOLS.htm#!ABAP_MODIFICATION_2@2@]
-
Transport of code based security
Hello,
we have WAS 6.40 and we have a lot of differents views in the key storage services, and also a lot of entries in everyone. We granted the domains to every different view and entry, so we have a lot of rules of code based security with differents domains-views-entries.
The problem is that we want to transport that configuration of code security of the WAS 6.40 from our development enviroment to production enviroment and we don't want to recreate by hand all the code based security, because is a lot of work. Anybody knows how to transport the assigned code domains of every view to the production system? When we save the view, the code domains isn't saved in the file.
Thanks a lot,
Daniel SutilYes, your main security is based on Enterprise groups. This way if something changes on SAP end, group disapears etc.. Your BO security is intact.
As sub members of Enterprise group SAP group/role will inherit all the parent security.
On deleting the groups, I think you have to unmap them from SAP page in Authentication..... Haven't played with that part much, sorry.
Maybe you are looking for
-
SWIM Jobs show failed but all images are in flash
I performed a software distribution on two different 3750 switch stacks using LMS 4.2.3 over a WAN link. The Job Report shows this: Copying c3750-ipbaselmk9-tar.122-55.SE4.tar from Software Repository to tftp-specific directory. Copied successfully t
-
How can I upgrade my CPU in my DV4-1428DX?
I recently had the unfamous overheating GPU issue. I purchased a new CPU because I figured if the machine was opened I might as well try to upgrade. I put the new CPU in power my machine on and I continue to get the blinking caps lock and num lock. I
-
Windows 10 Preview fails to install on Windows 8.1 64-bit Azure VM...
Hello, I have created a Windows 8.1 64-bit on an Azure VM and downloaded the Preview ISO. I created an E: drive and copied the ISO over to the E: drive. From there I ran the setup.exe. The setup runs just fine until it comes to a restart. There the V
-
Table maintenance - auto-populate description field based on other field
Hello, I have a custom table with 2 fields in it. Customer and Name. For customer field, I am using a standard customer search help. My requirement is when I search for a customer and select a customer, how can the name field be auto populated with c
-
Windows 8.0 taskbar properties navigation tab not displayed in windows 8.0
When I click on taskbar properties it does not display a navigation tab in my windows 8.0 notebook like it does in my desktop 8.1 system. How do I get Windows 8.0 to display the taskbar properties navigation tab?