How to make means of transport field as a mandatory field  in MV45AFZZ

Hi All,
I am new to User-Exits.
In Sales Order creation I have got a requirement In such a way that based on Sold to and Shipto Party Combination of sales order
I have to make Means of Transport Field as a Mandatory Field.
I have gone through the Program MV45AFZZ.
Please let me know how to do it .
Regards.
Rohit.

Hi ,
Write code in Save_Document_prepare In program MV45AFZZ.
Constant :c_flag type c .
if c_flag  eq space.
IF VBAK-VSBED EQ '01' AND VBKD-TRATY IS INITIAL.
  MESSAGE E0001(SABAPDOCU) WITH 'Enter means of transport'.
endif.
c_flag   = 'X'.
endif.
Regards.
Eshwar.

Similar Messages

  • How to make table have transportable entries

    Hi Experts,
    how to make table ZFUSTXFACTOR have transportable entries?
    Regards,
    Saleem

    HI,
    In The se11 menu Utilities-->table maintenance generator-->if u already created table maintenance generator then in the tab DIALOG DATA TRANSFER DETAILS check the radio button STANDARD RECORDING ROUTINE.
    Then when ever u save the data in the table it will pop up a screen to create a Transport request.
    Thanks,CSR.
    ***please reward if helpful.

  • How to make External Reference number and Ref Date Mandatory in Complaints

    Dear Experts,
    Greetings!!!.
    How to make External Reference number (EXT_REF_NUMBER ) and Ref Date ( EXT_REF_DATE ) Mandatory in Complaints.
    Regards,
    Sany

    HI,
    You can use Incompleteness Procedure to make those fields mandatory in complaint transaction.
    Regards,
    PP

  • How to  make adding attachments in the oaf page mandatory  to the user.

    Dear Friends
    I did a attachment section with item style as attachment table,entity map,primary  key concept in my details page
    But  I want to   make this section (adding attachments in the oaf page)  mandatory  to the user.
    Without adding the attchment user should not click SUBMIT.
    [ Just like we give  REQUIRED  property to ant text input fileds  to make entering them mandatory , Is there any property to set ]
    Please share ur ideas .Please help.
    Thanks
    Aravinda

    Gyan's Oracle Application Framework Blog: OAF - Making mandatory Attachement Mandatory
    iWiDi - This is how to make attachments mandatory in iExpense.
    --Sushant

  • How to make the warp stabilizer analyze interlaced (upper + lower field) instead of progressive?

    I am having a little problem since I am new to Premiere pro.
    Until now I always used the warp stabilizer in After Effects for single shots in need of that. But this time, I was handed a project that requires a whole lot of stabilization. My plan is to drop the whole timeline (FCP 7/ProRes422 HQ Interlaced) via XML into Premiere Pro and apply the effect there to multiple clips.
    PROBLEM: When I do this, the warp stabilizer always (no matter how I interpret the footage or set the sequence) analyzes the footage progressively. At least that is what the effect preferences tab says during analysis.
    In After Effects I always see which field is beeing analyzed (it is indicated by a L and an U behind the frame count). Not so in Premiere Pro. Here it always seems to analyze full frames.
    I made a test and compared the results from After Effects and Premiere Pro: The file generated in Premiere Pro is much softer then the one out of After Effects even though I export both with the same output settings.
    Any help would be greatly appreciated !
    Regards, franse

    I just verified and the Description for Products (and possibly other objects too) are stored in table COMM_PRSHTEXT.
    The relevant Data element is COMT_PRSHTEXTX which has the domain PRSHTEXT40.
    If you look at this domain you have a parameter "lowercase" which is available as a flag option.
    <u><b>The explanation about this Flag is the following:</b></u>
    Lowercase letters allowed/not allowed
    If this flag is set, upper case and lower case are distinguished when you enter values with screen masks.
    Otherwise all the letters entered will be converted to upper case when you enter values with a screen mask.
    This mechansim is in effect for all the fields referring to this domain.
    <b>Solution would be</b> to verify if for this data-element the same Domain is used.
    If yes, you can flag this option in the domain.
    this should solve your problem.
    kind regards
    davy pelssers
    please reward if helpful.

  • Re:How can we save the data without enter the mandatory fields

    Hi all,
    I am using Jdev11.1.2.3.0
    Suppose you have a form that consists of inputTexts and some of them are required (required = true). These come from a data control
    What my customer wants is two buttons: one submit button, and one save button.
    The submit button behaves normally: when a required field is not entered, a validation error is shown.
    The save button on the other hand, will perform a model update without complaining, even though some required fields could be empty. This would be the Save operation . the values that the user entered are saved in draf mode., but the process does not continue. It's like saving a draft version of the fields you entered, so you can continue filling in the form for example the next day.
    How can i start this scenario.
    How can I achieve this? can anyone help me out please.
    Thanks,
    G.Shilpa

    Duplicate of  https://forums.oracle.com/thread/2596520
    Please don't post question multiple times!
    Timo

  • How to set a DFF Field as a mandatory field dynamically (Forms 4.5)

    For example i need to set one field (in DFF) as mandatory for some order types in the standard order entry screen.
    I tried
    set_item_property('ORDER.ATTRIBUTE1',REQUIRED,PROPERTY_TRUE);
    but i a mgetting error as " can not set ORDER.ATTRIBUTE1 of NULL canvas item.
    Please help .
    Thanks ,
    Shivaji.
    Edited by: Shivaji M on Dec 30, 2009 10:55 PM

    Hello,
    Your item has no associated canvas, so it is not displayed, then you have no reason at all to set its required property, because the end user would never be able to enter it.
    Francois

  • Plant field validation and mandatory field in CC master

    Can we have a validation of a field e.g. Plant in WBS level and substitution at the same time.
    In projects Plant gets substituted during saving project from Cost center master data. At the same time can I maintain a validation that if this field is not updated it would would not allow save project.
    Which one Validation or Substition is prioritized first during project saving?

    Hi,
    I think it is possible to have substitution and validation at the same time. SAP document says " If you have defined a substitution that contradicts a validation condition, the system informs you of this by displaying a message. We can therefore say that validation has priority, or is u201Cstrongeru201D than substitution."
    Warm regards,
    Srinivas Potluri
    Edited by: Potluri Srinivas on Aug 2, 2011 7:07 PM

  • Setup time in means of transport ignored by TP/VS Optimizer

    Hello Gurus,
    I have a requirement of having a break for vehicle resource after each trip to carry out certain routine activities. I have modeled setup time of 2:00 Hrs in means of transport  for this. However when I run the TP/VS optimizer, it plans two consecutive shipments without considering any setup time.
    Any idea on how to achive this requirement?
    Regards
    Sandeep Patil

    Hi Sandeep.
    In the transaportation lane, in the means of transport settings, there is one field u201CAddnl Retentn Per.u201D
    Additional Stop Duration for a Transportation Lane (hhh:mm)
    Did you think to use this ?
    Additional Stop Duration for a Transportation Lane (hhh:mm)
    The stop duration indicates the time that a means of transport is not in motion between two locations. It thus represents an addition to the duration of actual transportation. The duration of transportation represents the pure travelling time (working time, net transportation time), whereas the stop duration is defined as a gross time (that is, it relates to both the working time and the non-working time of the means of transport).
    Regards
    Datta

  • How to make dynamic search items in a report?

    Hi all,
    I have two questions.
    1. How to make dynamic search (i.e without GO button) field above report to provide dynamic search by words in one field of report query?
    2. How to make similar multiply dynamic search fields on report to provide individual search by selected fields of report with refine capability (i.e any search conditions in different fields must work together as complex WHERE clause)
    Thanks in advance

    hey yuri--
    if i'm understanding your questions correctly, the easiest way to achieve the functionality you're after is to have your query criteria fields submit the page when values are entered/selected. the page should then branch back to itself using the submitted criteria in the query. because you're asking about dynamically adding in your where clause predicates, you should consider using a report region of type "SQL Query (Pl/sql Function Body Returning SQL Query)". that way you can use pl/sql to piece together your query based on the provided criteria.
    so the part of your question i'm not sure of is when your page should submit itself ("without a GO button" as you said). for your first question, it seems to be a simple matter of javascript. you want users to be able to enter search criteria into a field and have that criteria be using in the report. to facilitate that we have a few self-submitting item types such as "SelectList with Submit" and "Text Field (always submits page when Enter pressed)". for your second question, it seems that you should have a Go button for the user to indicate he's done entering in his query criteria. anyhow, that's up to you, i suppose. hopefully this response will give you the concepts you need to implement this as you'd like.
    regards,
    raj
    ps-after re-reading your post, i now realize there's a chance that you wanted users to not have to submit the page at all when filtering their result sets. if that's the case, you'd have to use javascript for that cumbersome feat. google would be a good place to go for that code.

  • Means of transport change update to SNC5.1

    If we change the Means of trasport in r/3 sales order, then this update should be send to SNC5.1 Is this mapping is done thru ORDERCH ?
    We have done ORDERSP mappings for order confirmation. Now issue is that when we do the change in r/3 sales order in means of transport that should be updated in SNC.
    Thx

    Hi Vaibhav
    Means of transport is the basic master data and in general it is created in SNC system manually even though the data is available in SAP ERP
    The behavior can be changed so that the SNC does not create means of transport  from SNC master data and the data should be picked from IDOC with the help of coding.
    Now question is how many different means of transport does this customer have? I could imagine many resources, but means of transport is mostly just  a few
    Upon which basis does the planner decide which means of transport should be taken???
    Best Regards
    Vinod

  • How to skip a selection screen mandatory field in debugging mode with out changing the code?

    Hi Team,
    In my report there is two fields on selection screen, one is obligatory field , but i just want to execute the report(for testing per pus) with out entering  the data for the mandatory field with out changing the code. could u let me know which event and how to debug the report. or else  in debugging mode how can i change that field as non mandatory field.
    Regards,
    Venkat.

    If the value is not of importance how come it became obligatory in your program?
    Any how you can do one thing...Put some value in your obligatory field, put a debugger point where you are interested in  and use the pencil tool to change the value of the field while debugging. 
    Regards,
    Philip.

  • How to skip the mandatory field validation for clearing the screen fields

    Hi Friends,
      I have created a module pool screen, and made some fields mandatory. after entering some fields, if i try to clear the fields, am unable to clear. Its throwing the error "Enter all required fields"., since some mandatory fields are there. But i could able to navigate through other screen. Both the "CLEAR" and "NEXT" command are given in the at-exit command only. Next is working but clear is not working.
    Please  provide me the solution.
    Thanks
    Karthikeyan.L

    Hi,
    To avoid automatic input checks you have to assing function type - E to appropriate screen field, which is not to be checked.
    These function codes don't trigger PAI processing, instead they go directly to
    MODULE mod AT EXIT-COMMAND.
    ..placed in PAI of the screen. In this way you can ommit automatic checks performed by system on mandatory fields. Please ensure you have assing E type to next and clear functions in GUI status.
    Regards
    Marcin

  • Mandatory Field for Master Data Creation

    Dear Experts,
    How can I make "Street 2" Field as a Mandatory Field when I create Customer Master data (XD01) ?
    Thanks in advance for your kind support.
    Best Regards.
    Ripon

    Hi
    KIndly go to the belwo path and choose  Create customer centrally  and make the street field mandatory
    SPROFinancial accounting-Accounts receivable and accounts payable -Customer accounts-Mastr data---Define screen layout  per activity (customers)
    By doing above system will show mandatory for all account group when creating customer master thjrough XD01
    If you want to do mandatory for account groupo the n go to t code OBD2
    Regards
    Damu

  • Logical System field in BD10/BD14 need as a Mandatory Field

    Hi All,
    Good Day,
    We have Logical System field in BD10 or BD14 etc.. TCodes and I would like to make this field as a Mandatory field. The reason for this is, while sending the Materials using BD10, and If I haven't enter any value for this field, IDOCs are getting generated and sending to all the logical systems say Dev, Quality and Production too. I want to avoid this.
    So Is there anyway where we can make the filed "Logical System" as a mandatory field.
    Thanks in Advance.
    Param.

    HI Param,
    try  BAPI_IDOC_INPUT1and check it in WE57 tcode.
    hope this helps
    regards
    Aakash Banga

Maybe you are looking for

  • How to add buttons to a standart program

    Hi experts, It is easy to add a button in a call screen. But i want to add a button in a standart program which doesnt call a screen. For example an alv report. But i want the button near the exit, back buttons. not in the alv. I searched standart pr

  • No inbound interface available in interface determination.

    Hi Guys, I am doing File to web service scenario. I have completed all the steps required in Integration Repository. But in Integration directory while doing interface determination, I am not able to locate my inbound interface. It is showing message

  • Rfc to idoc...... how to create order

    hi, i worked on rfc to idoc scenario...... using matmas idoc to create material from r/3 system to IDES system through (rfcxiidoc) scenario Now i want to do it to create an order using rfc to idoc I am not sure which IDOC structure i will use and whi

  • Upload .doc, .xml files in ABAP

    Hi everybody, I want to save some files in my database, but I don't have a clue, where to start... Anybody knows how to upload files? Maybe you know functions or something like that? And what's the datatype I need in my database to save files in ther

  • Can not download Dreamweaver CC 2014 through Creative Cloud, takes me through Signed Out

    Hello, I can not able to download Dreamweaver CC through "Creative Cloud", it is always saying "You have been signed out" , how to resolve this error? Even if I was trying to signed in through different email address , but no luck Please feel free to