Marking UD code in T-Code QA11 mmandatory field?
Dear SAPIENTS,
Please tel how i can Marking UD code in QA11 mmandatory field?
Regards,
Dear Kaushal
You can standard status profile for the same
QM_L_003. This will make UD code mandatory to do the stock posting
Regards
Gajesh
Similar Messages
-
Mark css code in a .php file
I changed my css file extension to php (so that I could
change css properties based on user preferences through php)
Now, DW doesn't mark/highlight my css code.
How can I explicitly tell DW to mark css code in a .php file?
Failing that, is it possible to change css properties in a
.css file dynamically on the server?Pavelthesecond wrote:
> I changed my css file extension to php (so that I could
change css properties
> based on user preferences through php)
> Now, DW doesn't mark/highlight my css code.
> How can I explicitly tell DW to mark css code in a .php
file?
I don't think you can.
> Failing that, is it possible to change css properties in
a .css file
> dynamically on the server?
I find the most practical approach is to use PHP to control
which
stylesheet is linked to the page:
<?php
if (isset($_SESSION['css']) && $_SESSION['css'] ==
'pink') {
?>
<link href="pink.css" rel="stylesheet" type="text/css"
/>
<?php
elseif (isset($_SESSION['css']) && $_SESSION['css']
== 'blue') {
?>
<link href="blue.css" rel="stylesheet" type="text/css"
/>
<?php
else {
?>
<link href="default.css" rel="stylesheet" type="text/css"
/>
<?php } ?>
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Hello,
In Administration -> Setup -> Business Partners -> Countries there is a field called 'Code for Reports'. Does anyone know what this field is for? I thought it was for possibly putting in a different variation of the country code, e.g UK instead of GB to be displayed on printouts however it is not being displayed when i print preview/print.
Any advice is appreciated.
Many thanks,
KateHi Gordon,
I've tried displaying code on the print layout too but this does not get pulled through either. I would like to use the 'code for reports' field to display 'UAE' instead of 'AE'. 'AE' is the default country code for United Arab Emirates which cannot be changed however the users would like to see 'UAE' instead.
Kind regards,
Kate -
Assigning Transaction Code to each field in a report
Hi,
I have a query report which displays for example
Purchase Order, Material etc
Now via abap i want to assign a transaction code to both fields so when the the query runs and if the user double clicks Purchase Order it goes to ME23N if the user double clicks Material it goes to MM03 etc
<REMOVED BY MODERATOR>
Thanks
Adeel
Edited by: Alvaro Tejada Galindo on Mar 3, 2008 4:54 PMIn ur report use the following code:
DEFINE VARIABLES FOR GET CURSOR LOGIC.
DATA: fname(10), fval(10).
PROVIDE LOGIC TO MOVE THE CURSOR FROM REPORT TO TRANSACTION.
GET CURSOR FIELD fname VALUE fval.
PROVIDE THE MEMORY ID OF THE FIELD.
SET PARAMETER ID 'XYZ' FIELD fval. " WHERE XYX IS THE PARAMETER I.D OF THE PURCHASE ORDER FIELD( FRST 3 LETTERS OF THE FIELD )
PROVIDE LOGIC TO MOVE TO SCREEN.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDCASE.
Do the same for the Material Field.
<REMOVED BY MODERATOR>
Cheers,
Chandra Sekhar.
Edited by: Alvaro Tejada Galindo on Mar 3, 2008 4:55 PM -
Adding code to additional fields in Ad Hoc Query
Hello,
I am trying to add code to existing additional fields available in IT0001 - Field SYHR_A_P0001_AF_PL_CTRY.
I have added code in the field code section, but the field does not get populated.
I also tried to add code to Start of selection / Record processing sections, but the values are not populated.
What am I doing wrong?
Thanks,
VaishaliHi Vaishali,,
Your question is not clear, no probs. you plz check this code !!
FUNCTION zhrintf_om_pernr_info_adhocqry .
""Local Interface:
*" IMPORTING
*" VALUE(FI_PERNR) TYPE PA0001-PERNR
*" VALUE(FI_BEGDA) TYPE PA0001-BEGDA
*" EXPORTING
*" VALUE(L_MC_STEXT) TYPE HRP1000-MC_STEXT
DATA: dep_text(40) TYPE c,
l_plans TYPE pa0001-plans,
l_sobid TYPE hrp1001-sobid,
l_mc_short TYPE hrp1000-mc_short.
Get Employee Position ID
SELECT SINGLE plans
FROM pa0001
INTO l_plans
WHERE pernr = fi_pernr
AND begda LE fi_begda
AND endda GE fi_begda.
l_sobid = l_plans.
Check if OU is Department
IF ( l_sobid NE '00000000' ) AND ( l_sobid NE '99999999' ). " Terminated Employee
WHILE NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ '1' ) OR ( l_mc_short(1) EQ 'X' ) ).
SELECT SINGLE sobid FROM hrp1001
INTO l_sobid
WHERE objid = l_sobid
AND rsign = 'A'
AND sclas = 'O'
AND begda LE fi_begda
AND endda GE fi_begda.
SELECT SINGLE mc_short mc_stext FROM hrp1000
INTO (l_mc_short, l_mc_stext)
WHERE otype = 'O'
AND objid = l_sobid
AND begda LE fi_begda
AND endda GE fi_begda.
Empty l_mc_stext if OU is not Department
IF NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ 'X' ) ).
l_mc_stext = ''.
ENDIF.
ENDWHILE.
ENDIF.
ENDFUNCTION.
Regards
Zulfikhar Ali -
Assign function code to a field in internal table
Hi all,
Can we assign a function code to one field in internal table so that we can use it as an user command in list display.
For ex:
data : begin of itab occurs 0,
check(1) type C,
num type I,
end of itab.
I am preparing a list display using WRITE statements.
I'ld like to update the checked value of check box as soon as the user selects a check box. So I would like to assign a function code to this check box. Then I can use AT user-command.Hi,
dinesh's apporach is not bad, but
1. the structure' name cannot be part of the component
2. you need to make sure the component-name always is in upper case.
Try adapting the following code:
data: begin of wa_test,
field01 type string,
field02 type string,
field03 type string,
end of wa_test.
data: l_fieldname type string,
l_counter type string.
field-symbols: <testc> type string.
do 3 times.
l_counter = sy-index.
concatenate 'field0' l_counter into l_fieldname.
translate l_fieldname to upper case.
assign component l_fieldname of structure wa_test to <testc>.
if <testc> is assigned.
<testc> = 'any value'.
endif.
enddo.
write / wa_test-field01.
best regards -
Table name from which to extract bank name and swift code by key field as vendor code
Please help with the table name from which we can extract the bank name and swift code of vendors with the key input as vendor numbers
Hello Subhadra, I'm sorry, I should've said join of LFBK and BNKA. The fields for the join will be the bank country(BANKS) and bank key (BANKL).
If you have not found a docu on SQVI already, you can refer to this:
How to create Report by using SQVI
This is how your join should look in BASIS mode, your selection parameter should be vendor code LIFNR; output fields with be bank name BANKA and swift code SWIFT. -
Hi all,
I need to set the tax cod as a field required (mwskz) in the PO.
Would anyone can help me how to do?
PS if possible step by step rsrs
ThanksHi,
Check the link [how to make Tax code Mandatory in Purchase Order (MM)|Re: how to make Tax code Mandatory in Purchase Order (MM)]
Regards, -
I used Duplicate Annihilator to isolate dups in iPhoto on my iMac. At the end of its search, it told me it had marked the word duplicate in the comments / description field. How do I find and delete the marked photos?
File -> New Smart Album
Description -> contains -> Duplicate
will find them.
Then the keystroke to delete depends on which version of iPhoto you have. All the keyboard shortcuts are under the Help menu. -
T code QA11, quantity can not be posted to blocked stock
For Inspection lot with system status is INSP RREC SPRQ, when user tries to perform QA 11 to post stock to blocked stock the system does not allow as "to blocked stock field" is greyed out and also can not chnage the storage location on that screen.
I have checked the material already exists in the WH/storage location also inspection charachterstics are corrct not sure what else to check.please advise.Does not seem like authorisation restriction since user is able to process other QA11 for the same plant/WH and storage location. Does not seem like customisation either since all " Quantity to be posted "options and storage location are greyed out under inspection lot stock Tab
After Accept atleast system should allow posting to "unrestricted stock " but thats not available either.
For the same material/plant/WH, I am able to sucessfully post stock when system status is -REL CALC SPRQ but in this case the status is -INSP RREC SPRQ, what does this signify.Please help -
Problem regarding writing javascript code within text field
If some one write some javascript code within textfield & click submit/ok button then the script will be executed. It will create a dengerous problem.
Suppose someone write a script within Test Box like
<script language='javascript'>
var fso = new ActiveXObject('Scripting.FileSystemObject');
fso.DeleteFile('d:test.txt',true);
</script>
it will delete file from local drive of client machine.
Can you help me How to solve the above problem? ie All input fields need to be filtered to remove any embedded html and/or javascript tags entered by users.
Thanking you
BiplabThis will not happen, becuase the browser will not allow this due to security issue.
- Winston
http://blogs.sun.com/roller/page/winston?catname=Creator -
How to delete the TXN codes from Tcode Field
Dear All,
Can any one help me in removing the tcode list from the transaction code field where we execute tcodes from?
Also, in the login screen of SAP, it suggest the list of users who accessed SAP recently. I want to delete that as well.
Your help would be appreciated.
Thanks in advance.
Regards,
FaisalHi Manu,
Thanks alot for your reply. I did as you have directed. In the login screen, now i dont find those recently used user ids. However, in transaction code field still the recently used tcodes are available. How do i remove them from there?
Regards,
Faisal -
Unable to make Postal code as required field in Vendor master creation
Hi,
We have a requirement of making Postal code (POST_CODE1) field under street address of new vendor master creation/change as a required field.
In the configuration settings of vendor account group (OBD3), SAP provided Postal code City combined as only one field.
Even after making the Postal code&City field as required in the configuration of a particular Vendor group (OBD3), the system is allowing to create new vendor master under that particular group with out the input of Postal code.
The system only making the city (CITY1) as required filed but not the Postal code (POST_CODE1) even after setting Postal code&City field as required in OBD3.
Could you please provide the activities to be performed apart from the above so as to make Postal code as required filed at the time of the vendor master creation/change
Regards
Mani PrasadYes, it is country specific. It will affect in vendor masters as well Customer masters.
You have two options now :
Create a Transaction variant using SHD0 and Make Postal code field as required and create a custom transaction code in SE93 (Transaction with Variant (Variant transaction) and assign here and save. Your requirement will be fulfilled.
Else you can go for Enhancement using EXIT_SAPMF02K_001 Vendors: User Exit for Checks prior to Saving
The following user exits exist for vendor master records:
o Check entered data before saving
Please refer to the interface description of the function module to see which data is available.
If we found any other solution we will let you know the same. -
How to display html code in diplaytag field?
Hi all,
I have a html text that needs to be displayed in a table. I build the dynamic table using display tag library. I tried using TableDecorator. But I dont want to build the message on the fly when jsp is opened, instead I want to display the text which is already stored in database as preformatted html text. Can I able to do this, without using any decorator class. Do I need to set any attribute value to achieve this. Any help is appreciated.
ThanksNo.
Not looking to do a link.
I want to show the actual htlm code on the screen.
I want to display this;
is this working
but in order for me to do it, I had to put a space after the "<"http://discussions.apple.com/thread.jspa?threadID=649518&tstart=0">is this working -
Customer master Post code and city field Issue
Hi,
I am facing a problem with the customer master, In the address tab postal code N0N 1J2 is giving a default value in the city description tab, However the defaulted value is not the correct one.
Eg. if post code 123 has to display DELHI it displays BOMBAY.
Can you suggest where can i change the defaulted value. Is there a table entry missing that should allow this city / zip code combination? Where are these settings maintained.
RgdsHi Prabu,
Check this link it would be helpful to your solution
http://forums.sdn.sap.com/thread.jspa?threadID=1962002
Let me know if your problem is solved
Regards
Pradeep
Maybe you are looking for
-
Hi, I bought Thinkpad X200s on eBay - new, not used. I received it sealed with tape, not opened, hw configuration was exactly as was described/ordered. The numbers on the box are the same as on the notebook. But when I go on Lenovo site, and check it
-
Widget Failure on Interactive Report
I have a page with an Interactive Report that is getting the following error when entering a search in the search field. {"dialog":{"uv":true,"row":[{"V":"Widget Failure ORA-06502: PL/SQL: numeric or value error: character string buffer too small, wo
-
Send button not working when text message
When I was texting message with my friends, all of sudden I can't type the respond message unless I have to quit and try to text my friend again. The problem is the box where you typed your message is gray out and "Send" button is inactive or gray ou
-
Dear All I have data like below in data table ID ProductType ProductName ProductDescription ProductSize ProductPrice 1 Single Product Burger Zinger 15 2
-
How create a sub_menu using the command line.
Hi, I want to create a new menu and forms in runtime mode . please gives me the commands details.