How to set Default valuation type c3 & c2 in creation of refrubishmentorder
Dear friends
Please let me know How we can make inthe order type refurbishment the valuation types as c3 to c2 only
User should not have any option of entering the valuation types
when we are creating order it will make default as c3 from & c2 to the control on user should not be there
please guide me if you can
I have tried with t code OMWC but it is not working
Regards
chandrashekhar Ingole
chandrashekhar Ingole,
I do not have any sample ABAP code...
If you have no experience in ABAP programming, then I would recommend you pass the requirement on to your ABAP team.
PeteA
Similar Messages
-
How to set default file type for Open dialog
Dear my friends,
I am using "At selection-screen ON VALUE-REQUEST FOR filepath" to display open dialog and i want to set default file type for open dialog = *.txt.
Thank your times !Hello,
U can make use of this code:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR SP_FILE.
PERFORM SAVE_DIALOG CHANGING SP_FILE G_F_RC.
FORM SAVE_DIALOG CHANGING PO_FILE PO_RC.
DATA: L_VA_BOXTITLE TYPE STRING,
L_VA_DEFAULTFILE TYPE STRING,
L_VA_DEFAULTNAME TYPE STRING,
L_VA_DEFAULTPATH TYPE STRING,
L_VA_DEFAULTFULL TYPE STRING,
L_VA_FILTERTEXT TYPE STRING,
L_VA_CODE TYPE I.
CLEAR: PO_RC, G_F_CONF.
L_VA_BOXTITLE = TEXT-B01.
L_VA_FILTERTEXT = TEXT-B02.
IF PO_FILE IS INITIAL.
CLEAR L_VA_DEFAULTFILE.
ELSE.
L_VA_DEFAULTFILE = PO_FILE.
ENDIF.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
EXPORTING
WINDOW_TITLE = L_VA_BOXTITLE
DEFAULT_EXTENSION = 'TXT'
DEFAULT_FILE_NAME = L_VA_DEFAULTFILE
FILE_FILTER = L_VA_FILTERTEXT
INITIAL_DIRECTORY = 'C:SAPWorkdir'
CHANGING
FILENAME = L_VA_DEFAULTNAME
PATH = L_VA_DEFAULTPATH
FULLPATH = L_VA_DEFAULTFULL
USER_ACTION = L_VA_CODE
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
PERFORM CHECK_ERRORTYPE(Z48M_MATDATA_UP) CHANGING SY-MSGTY.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
CLEAR PO_FILE.
EXIT.
ENDIF.
IF L_VA_CODE NE 0.
MESSAGE S818(3F) WITH TEXT-011.
CLEAR: PO_FILE, PO_RC.
EXIT.
ELSE.
WRITE L_VA_DEFAULTFULL TO PO_FILE.
G_F_CONF = G_C_XFELD.
ENDIF.
ENDFORM. " save_dialog
If useful reward.
Vasanth -
How to set default file type for screen capture?
I want to change the default from .jpg2 to .jpg when doing a screen selection
capture (cmd-shft-4). Where is the place to do this?
Thank you,
toddTodd,
OnyX has 10 screen shot options available in Parameters>General>Screen Capture format:
;~) -
Document Set default content type
When defining a document set, you can define what content types can be used in a document set. If, after uploading a document, the user cancels the properties page, the default content type for the library is assigned to the document (even though the
document set does not permit the content type). This is obviously a bug. There have been several posts on this and it appears 2013 has the bug as well as 2010.
We are seeking a work around to this bug.
Is it possible in in the client object model by placing a CEWP in the editform.aspx to force a content type on the item when the form is loaded?
The other option is to modifiy the url that opens EditForm.aspx to force the content type. Unfortunately the link that opens the EditForm.aspx page cannot be modified in the document library.Hi Clem_FRB,
I did a test in my environment and I reproduce this issue.
As a workaround, I suggest you change the content type or return an error in ItemAdded Event Receiver for document library.
Here is a similar thread for you reference:
http://sharepoint.stackexchange.com/questions/21986/document-sets-dont-enforce-allowed-content-types-when-multiple-doc-set-ct-are-a
More information for your reference:
http://www.niteenbadgujar.com/2013/05/change-default-content-type.html
https://social.technet.microsoft.com/Forums/en-US/281fa281-7071-4beb-b275-e3179ce2cc08/how-to-set-default-content-type-in-document-library-using-client-object-model?forum=sharepointdevelopmentprevious
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Zhengyu Guo
TechNet Community Support -
How to set default value to date type attribute.
Hi,
How to set default value to date type attribute.
E.g I want to set u201C01/01/1999u201D to date attributes.
First i want to set value and then i want to fetch the same & want to check equals.
please suggest solution.
Regards,
SmitaHi,
In wdinit() method u can set the date
DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
Date today = Calendar.getInstance().getTime();
String reportDate = df.format(today);
wdContext.currentContextElement().setFromDate(reportDate);
Another way you have set the this formate like that
1. Create a Simple type under "Dictionaries->SimpleType" called DateFormat
2. Select the type as "date"
3. Go to the "Representation" tab and set the format as "dd/MM/yyyy" (or whatever u want, but month should be MM)
4.Bind the context attribute to the type created now.
Hope this helps u.
Best Regards
Vijay K -
Default valuation type in sale order
Hi,
We have some materials which are split valuated. We need to have default valuation type which will appear in the sale order when we create sale order for that material.
At present it looks that SAP does not have any provision to provide the valuation type defaults for sale order.
Does anybody know if we can set up default valuation types for sale order and how to do this?
Thank you for all your help.
Thanks,
-ShekharHi Shekhar
Please check wheteher split valuation is applicable for FG
Coz split valution is used in cases
Split valuation is necessary if, for example:
Stock from in-house production has a different valuation price than externally procured stock.
Stock obtained from one manufacturer is valuated at a different price than stock obtained from another manufacturer.
Different batch stocks of a material have different valuation prices.
Check whether the Valuation Class ,Catogory is assigned to the Valuation area.
Also Refer the Follwoing thread:
Split valuation not possible for FG
And the help Doc
http://help.sap.com/printdocu/core/print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
regards
Shailesh Meshram -
Default valuation type when issuing material or Creating Delivery
Hi,
We have some material manage with valuation type X, Y, Z while creating PO we are entering Valuation type in PO as per requiremtn but i want that whenever we issue the material with 201 or creating delivery of that material with VL01N or VL02N default valuation type should be 'Y' so how to set this as default.
regards,
zafarYou will need to create a stock determination strategy and stock determination rule and assign it to the material master.
use TCODE : OSPX. -
How to set default values for boolean columns
I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
I've tried to set default value at column level:
<Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
<Default>TRUE</Default>
</Field>
and at content type level:
<FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
But in any case, when i create a new item with this content type, default value is applied.
Can anyone tell how to set default values for boolean columns?
Thanks in advance,
Regards,
SergioIn the field definition you can set
<Default>1</Default>
or
<Default>0</Default>
How to set the default value Null? -
In Transaction code va41 how to set default sales contract start date
Hi ,
In Transaction code " VA41 " how to set default sales contract start date and end date.
Can any one tell me the correct user exit for the same.
Thanks
Basuhi,
u have to use user exits or badis.
use sutable exits mentioned below.
SDTRM001 Reschedule schedule lines without a new ATP check
SDVFX006 User exit: Tax line (transfer to accounting)
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Edited by: katigiri linganna on Apr 28, 2009 12:19 PM -
How to set default values in dialog programming
hi gurus
can anyone suggest me
how to set default values in dialog programming
thanks®ards
kals.it's a bit dirty but I usually just place it in the PBO with a flag for control. It's simple and not too costly i think.
MODULE preRender OUTPUT.
DATA first_time TYPE flag VALUE 'X'.
IF first_time EQ 'X'.
* put your initialization code here
CLEAR first_time.
ENDIF.
ENDMODULE.
-MiR -
How to set default selection in html:radio
hai
how to set default selection in <html:radio>.No it won't help.
You can't set a value into an <input type="file"> control at all. The user has to put values in themselves.
The reason behind this is security. If the programmer could put any value they liked in there, you could upload any file at all from a users computer without their intervention. eg C:\windows\system32\passwords.txt
Bottom line: you can't put a default value into the input type="file" control.
And a good thing too ;-) -
Plsss help me: how to set default values in html:file and html:radio
Hai,
To set default value to text box i use the following code. It works well.
<html:text property="modifyserverdesc" value="<%= serverDesc%>" styleClass="text" size="38"/>But for file i use the code
<html:file styleClass="file" property="modifyserverimgfile" value="<%= serverImage%>" size="40"/>It doesn't display value. What is problem here?
how to set default selection in <html:radio>.No it won't help.
You can't set a value into an <input type="file"> control at all. The user has to put values in themselves.
The reason behind this is security. If the programmer could put any value they liked in there, you could upload any file at all from a users computer without their intervention. eg C:\windows\system32\passwords.txt
Bottom line: you can't put a default value into the input type="file" control.
And a good thing too ;-) -
How to set default date value to a field on screen
How to set default date value to a field on screen and allow users to modify it ....
Hello,
In the PAI module, you need to save the changes to the database using the command MODIFY.
Follow an example:
Create or change a message in database table T100. If there is no message with the number 100 in the MYMSGCLASS message class in English, it will be created. Otherwise only the text is changed.
DATA message_wa TYPE t100.
message_wa-sprsl = 'EN'.
message_wa-arbgb = 'MYMSGCLASS'.
message_wa-msgnr = '100'.
message_wa-text = 'Some new message ...'.
MODIFY t100 FROM message_wa.
Regards. -
How to set default programs???
How to set default programs?
An example: when I click on a .doc it opens in TextEdit, but I want it to open with NeoOffice (to make that happen now requires right-click>open with>NeoOffice)
How can I set NeoOffice as the default program for .doc, .xls, .ppt?
And set default programs for other files?
Thanks.redaple
Select a .doc and go File -> Get Info
In the resulting window you'll see a pane called Open With... Select your preference from the Drop Down. To make the new app default for all these types, click 'Change All...'
Regards
TD -
Default Valuation type in REM backflush.
Hi,
In the configuration for split valuation (OMWC), for valuation category H (HALB), a batch HM has been defined as - Default: valuation type "in-house production" (DVT InhPr).
This means, for inhouse manufacture, system proposes this valuation type as default.
When, I create a production order for a material with this valuation type, system proposes valuation type HM for the given plant.
Where as, while doing REM backflushing for a material with this valuation type, system does not propose valuataion type automatically.
Why is it so?
Is there any other setting?
Is there any note for this?
Thank You,
-Madhavi.Hi,
Apply following BADI
Goods Movements in Backflushing (Repetitive Manufacturing) BAdI RM_BFLUSH_GOODSMVT
Regards,
Sanjay
Maybe you are looking for
-
hi experts, i have tried to subtotal in blocked alv. i used the coding for sorting in grid display. its working in FM reuse_alv_grid_display. but its not working in blocked alv, i.e., in FM reuse_alv_block_list_append . so what to do ? kind regards,
-
Ringtones gone how do I re download them?
My ringtones were lost when I had to restore my iphone. It says there are 4 tones but I do not see them in itunes. I checked for available purchases and they still dont download.
-
NullPointerException at oracle.jdbc.driver.T4C8Oall.getNumRows
Hi, Any help is appreciated here. tried these drivers but didn't work: 10.2.0.5.0,10.2.0.1.0,10.1.0.5.0, am using 1.5.0_22 & oracle 10g xe on win7-64 Keep on getting this when trying to fill the jasper manager: 19:36:38,907 ERROR [STDERR] java.lang.N
-
I Can not update it wants me to sign in and verify information. The problem is I have a new credit card number different than the one on file. How do I resolve this issue?
-
I tried to run the sample code (I only find one example for one product here)for "XML Class Generator For Java"(technet.oracle.com/tech/xml/infor/htdocs/otnwp/about_oracle_xml_products.htm) and I used the employee.dtd as the input file. I hardcoded t