Default value for a field in Purchase order
I want that while creating purchase order system should suggest one value for the field ' prior vendor ' in retail tab. I don't want to use user exit. Can anybody help?
Hi,
if that button is clicked then give the values in the work area of table control and then append it to the table control
in pai of the screen.
if r_rad eq 'X'.
fs_tab = ur value.
append fs_tab to it_tab.
endif.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 13, 2008 3:39 PM
Similar Messages
-
How to set a default value for particular field in SRM PO Portal
Dear Gurus,
Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
Thanks in advance...
Regards,
SathishDear Laurent,
Thanks for your response,
But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
Kinly guide me how to get the particular node of field in the Purchase order screen.
Thanks you in advance,
Sorry for the inconvenience if any
Regards,
sathish -
Need to set default values for the fields plant and location in ME21N
Hi All,
i need to set default values for the fields plant and location in ME21N tcode.
In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
How to resolve this?
Thanks in Advancehi .
i needed to set default strorage location and plant in personal setting in me21n.
i solve it with this way.
go to program SAPLMEPERS in se38.
create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
in this module write:
if MEPOITEM_PROP-WERKS is INITIAL and MEPOITEM_PROP-LGORT is INITIAL.
MEPOITEM_PROP-WERKS = '1000'.
MEPOITEM_PROP-LGORT = '0032'.
endif.
this is the solution.
best regards.
maryam -
Set default value for parameter fields
Good day!
Situation:
1. I have 2 parameter fields in reports (dateFrom and dateTo)
2. Before running report in ASP.NET I change value this fields (dateTo = today, dateFrom = today - 3 days)
3.I use for this source:
foreach (ParameterField crParam in CrystalReportSource1.ReportDocument.ParameterFields)
CrystalDecisions.Web.Parameter crParametr = new CrystalDecisions.Web.Parameter();
string ParametrName = crParam.Name;
crParametr.Name = ParametrName;
crParametr.DefaultValue = ActionReportParameter.GetParametrValue(ReportName, ParametrName);
CrystalReportSource1.Report.Parameters.Add(crParametr);
4. And repurt run without request value parameter fields.
5. BUT!!! now I need request value parameter fields before report start running - I want set default values for filelds and offer user change its before report start run.
How do this?
ThanksI believe you need to create your own parameter promt screen. Capture what the user entered and pass that to the report(?).
slv -
Default values for a field in itab
Hello everyone!
In the declaration below,
DATA: BEGIN OF itab OCCURS 0,
belnr LIKE bkpf-belnr,
myField,
END OF itab.
The belnr field will be filled by using SELECT statement but myField will have a default value, for example, "1,000".
Is it possible to do without looping around the itab?
Thanks!> HI,
> We can not set a Default value for a Internal table
> field, after selecting all the records in to the
> Internal table, Loop the internal and pass the
> constant value to that field and modify field
>
>
> Regards
> sudheer
I see.. Is it really necessary to loop? I would like to avoid looping because it takes so much time... -
Implementation Of Badi ME_GUI_PO_CUST for adding fields in Purchase Order
Hi All
I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order.
The implementation of the BADI ie the Subscreen of the fields to be added appears in transaction ME23N but it does not appear in the transaction ME22N and ME21N.
Can anyone help me on this.
Thanx.
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Jul 10, 2009 12:10 PMcheck the answer
[New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N;
bye -
Displaying default value for a field in ALV table
Hai all,
I am having an ALV table in which I want to display Requisition number by default using a value which i generated randomly and it is stored in a variable.
While displaying ALV table my req number field should display that value by default when ever user is inserting a row( all the coloumns n my alv are editable.
Is it possible??
Kindly give some suggestions.
Thanks in Advance,
Nalla.BHai Kris,
I took help from ur link and i declared a global attribute request_number.
and i created an event handler ON_ALV_INSERT and did the follwing coding for giving default value wen ever am inserting new row.
FIELD-SYMBOLS: <wa_row> LIKE LINE OF r_param->t_inserted_rows.
DATA bill_details TYPE REF TO zdom_bill_detail.
LOOP AT r_param->t_inserted_rows ASSIGNING <wa_row>.
bill_details ?= <wa_row>-r_value.
IF bill_details->REQ_NUMBER IS INITIAL.
DATA lo_nd_bill_detail TYPE REF TO if_wd_context_node.
DATA lo_el_bill_detail TYPE REF TO if_wd_context_element.
DATA ls_bill_detail TYPE wd_this->Element_bill_detail.
navigate from <CONTEXT> to <BILL_DETAIL> via lead selection
lo_nd_bill_detail = wd_context->get_child_node( name = wd_this->wdctx_bill_detail ).
lo_el_bill_detail = lo_nd_bill_detail->get_element( index = <wa_row>-index ).
lo_el_bill_detail->set_attribute(
EXPORTING
name = 'REQ_NUMBER'
value = wd_comp_controller->request_number
Wen am setting the value of wd_comp_controller->request_number to my context attribute am getting NULL object ref error.
lo_el_bill_detail->set_attribute(
name = `REQ_NUMBER`
value = wd_comp_controller->request_number ).
Pls give some suggestions,
Thanks in Advance,
Nalla.B -
Setting default value for form field assoc with a table column
On a "Create Record" situation I was trying to set the default values of some form fields using a page level "Process". These form fields have Source Type = Database Column. It wasn't working, I could only set non-db assoc form field values no matter when the "Process" was set to exec. From some other posts it seems that this is by design, ie. not being able to programatically set the initial values of form fields that are sourced to db columns. I was hoping to have just one "Process" that would exec to set these initial values in one place rather than scattered about for each field that needed a default value. These particular default values come from ref tables and may be different for each user.
So, it looks like I have to use a "Default Value" plsql chunk for each field on the form itself or else set their value on the calling form's Redirect in the "Set these Items" area.
Is this correct?You could define a database function which accepts the name of the item and the user ID of the user running the application. Based on the item name and the user ID have the function return the appropriate initial value. Invoke this function in a "Default Value" PL/SQL block.
Does that help in centralizing your initial values? You could have one function per page or one function per application. I would do one function per application. -
Table for tax fields in Purchase order
HI
I want to know in which table the taxes will go and store in purchase order .
In purchase order invoice tab there is Tax code field will be there say for example it is M1 . and if i click on the taxes adjacent to that i will get a new page or table where all the taxes is maintained for that particular M1 . Now i want to know in which table that will be stored
Regards
N.M.Pradeep kumarHI
use
KONV
KONP
KOMV
T007*
Excise Duty - Table J_1IMATEXP ,J_1IMTCHID
for Tax - Table BSET
Tax table
regards
kunal
award if helpful -
Characteristic values for a stock transfer Purchase Order
Hi Experts,
We are using material variant concept. I created stock transfer purchase order for a variant material. There i'm able to give characteristic values. How to extract that characteristic values into a report.
We are getting the characteristic values from Production order and sales order based on configuration object. I'm passing that configuration object through functional module, i'm getting the values.
Functional module : VC_I_GET_CONFIGURATION_IBASE
I tried with that functional module with configuration object value for stock transfer purchase order. I'm not getting the values. How to extract the characteristic values.
Please help me.
Thanks in advance.
NarenHi,
Assign document type of stock transport order to supplying plant and receiving plant in the path:
SPRO-> MM-> Purchasing->Purchase Order-->Setup Stock Transport Order -
> Assign Document Type, One-Step Procedure, Underdelivery Tolerance
Here assign STO document type to your supplying plant and receiving plant & save.
Now try doing PGI.
For more check the link:
http://www.scribd.com/doc/8985938/STO-Configuration-in-ERP-SAP-ECC-6-
Regards,
Biju K -
Data source for tax field in purchase order
hi,
can anybody tell me whats the datasource of the tax details that appear in the invoice tab of tcode ME23N.Hi Mani,
Try for table KONP-Conditions (Item) with respect to KNUMH(Condition record number) & KOPOS (Sequential number of the condition) numbers you get from the PO.
Or you can go for KONV-Conditions (Transaction Data) table also.
Check it.
-Maharshi
Edited by: Maharshi Vyas on Dec 16, 2008 1:42 PM -
Hello there - Before I explain my issue, I would like to point out that I have reviewed some other discussions on selecting default values for multiple selection listbox. But my issue is specific and different, and not answered by any of the discussions
I visited.
I have a multiple selection list box (say for example all countries in the world as values), and I would like to pre-select or setup multiple default values (say five countries) based on some criteria that I query from MS SQL database table.
I know we can go to Data | Default Values option to setup one or many default values for multiple selection list box. When I enter the default values manually this works. I also right click the field under the Multiple-Selection List Box group, then select
Add another Value Below and set the Default Value for this field to setup multiple default values.
However, if I reference a field (either an infopath field or a field from SQL database) I am not able to setup multiple default values. Infopath automatically selects the last field I selected for all instances and in the end I am able to see only one
default value selected instead of many. How to fix this problem? Why would infopath allow multiple default values when we enter it manually but not when we reference some fields?
Please let me know if you need more info. Appreciate your help.
Thanks!Hi redhotc,
According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
was fine.Please have a try as the below link:
http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Want to affix a default value to a field in PO creation
Hi all,
I want to set the default value for the field 'Account assignment category ' when a certain type of Purchase order is created in all the screens pertaining to Purchase order.
Please suggest
regards
kanishakDear Laurent,
Thanks for your response,
But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
Kinly guide me how to get the particular node of field in the Purchase order screen.
Thanks you in advance,
Sorry for the inconvenience if any
Regards,
sathish -
ERS field in Purchase Order Line detail (Invoice Tab)
Hi ... I was trying to figure out the priorities for ERS field in Purchase order ...
What i could simulate is ...
Case 1
In case Vendor master has ERS = YES but in info record ( for vendor and material) NO ERS is defined.
Then ERS field will get appeared in PO LINE detail with value NO (not set)
Case 2
In case Vendor master has ERS = No but in info record (for vendor and material) ERS is set.( NO ERS = not set)
Then ERS field will not get appeared in PO LINE detail
Case 3
In case Vendor master has ERS = YES and in info record (for vendor and material) ERS is set.( NO ERS = not set)
Then ERS field will get appeared in PO LINE detail with ERS = YES
Here I am doubtful about case 2 .... I believe info record should always have priority over vendor , but system is not behaving as per expectation.
Could u pls tell me the exact conditions when ERS field will not appeared and if appeared from where it will pick the default values in PO LINE details
Regards
SANDEEPthe info record has precedence.
The bad thing is, that this field is , contrary to other field that appear in vendor and info record, has a negative meaning.
ERS field name in vendor is auto eval GR settlement,
while in info record it is : No ERS.
lets do an example:
V=vendor
I = Info record
P = purchase order
X = box selected
N = box not selected
so we can have this 4 cases:
VIP
XNX
XXN
NXN
NNN
The 3rd case NXN does not really make any sense. -
HOW TO SET A DEAFULT VALUE FOR A FIELD?
hi friends
i have doubt..how to set a default value for a field..say like in local printer field i always want lp01 to be displayed defaultly..when i click F1 in that field i get the parameter id ..i know there is something dealt with that parameter id..how can i set that default value ..in the case of the default printer value i made in own data settings as lp01 but how to do it normally for other field which has parameter id ??????
thanks and regards
princeHi Prince,
u can set the default value in abap as given below
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP 1.
PARAMETERS : S_BUKRS TYPE BSID-BUKRS OBLIGATORY DEFAULT '1000'.
PARAMETERS : S_BELNR TYPE BELNR_D OBLIGATORY DEFAULT '1600000070'.
PARAMETERS : S_GJAHR TYPE GJAHR OBLIGATORY DEFAULT '2008'.
PARAMETERS : ASON TYPE BUDAT OBLIGATORY DEFAULT SY-DATUM.
PARAMETERS : S_KUNNR TYPE KUNNR MODIF ID GP1.
PARAMETERS : S_LIFNR TYPE LIFNR MODIF ID GP2.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN : END OF BLOCK B1.
or
u can give the default value in INITIALIZATION also.
vlue = '1000'.
Maybe you are looking for
-
HT5610 how do I deauthorize a pc that is not working
how do I deauthorize a pc that is not working
-
Bank says Java not Unix compatible
Hey all St George, a major Australian bank has an internet banking site that uses Java. Unfortunately, it only works with, and supports (Windows NT, 98, ME, 2000, XP) MacOS (9.2, 10.1, 10.2) In Mozilla-firefox in Linux the applet is grey except for a
-
Will a Product Key work for Mac or PC?
Thinking about going with a Mac but wondered if I would have to buy another product key if I do since I now work on a PC. Thanks for any advice! Ken
-
IPhoto 6.0.5 can't import from Canon PowerShot A540
iPhoto 6.0.5 has a problem importing photos from a Canon PowerShot A540. The Import display comes up, then disappears then reappears, etc.. This error message appears every time on the console: PTPCamera(271,0xa000cfc0) malloc: * Deallocation of a po
-
PDF Export reducing dpi on jpeg images
Using Pages to create a book manuscript to submit to createspace.com which I have successfully done in the past. However createspace's automated reviewer indicates that the first 2 jpegs in the pdf have been reduced to 144 dpi, although the images ar