How to put vallidation check

Respected,
   I have created sales order then billing document of particular service and created an invoice for that order through CIC0 transaction code .customer enjoys the services if payment is due then i had to stop the services so how can I add a validation check  if payment is not cleared or not.
AVANISH GULATEE
Edited by: avanish gulatee on Oct 7, 2011 9:45 AM

Hi Kishan,
1. AUTHORITY-CHECK
   The above statement is required for authority checking.
    Just see help on it for syntax purpose.
2. Moreover,
   u will also have to know which authorisation object
   is necessary for your purpose.
   (or else new authorisation object may need tobe created)
Hope the above helps.
Regards,
Amit M.

Similar Messages

  • How to put a check mark in a PDF document, if using an iPad 2

    How to put an check mark in a PDF document, if using an iPad 2?

    You need to implement below logic:
    1. check if field_date = sy-datum. in this case do nothing.
    2. else . move sy-datum to field_date .
    3. modify your internal table with field_date .
    4. populate final table to database table .
    hope you get it.

  • How to put a check with the date

    Hi,
    I have created a ztable with 3 fields .
    clientcode(3),
    date,--date geneated
    version--- fileversion
    i need to update this table everytime i execute the data. Every time version shd get incremented when i execute the program.  When i excute the program next day version shd be updated by '1'.
    i wrote the code for version updated i'm not getting the logic how to put a check with the date.
      SELECT *
       FROM zfi_enetflver
       INTO TABLE gt_flver.
      SORT gt_flver DESCENDING.
      CLEAR: gv_dt, v_file.
      CONCATENATE sy-datum6(2) sy-datum4(2) INTO gv_dt.
      READ TABLE gt_flver WITH KEY client_code = gv_clcd.
      IF sy-subrc = 0.
        idx = sy-tabix.
        IF gt_flver-zdate = ' '.
          gt_flver-zdate = sy-datum.
        ENDIF.
        IF gt_flver-version = ' '.
          gt_flver-version = '001'.
          gv_filever = gt_flver-version.
          MODIFY gt_flver INDEX idx TRANSPORTING zdate version.
          MODIFY zfi_enetflver FROM TABLE gt_flver. "TRANSPORTING version.
          CONCATENATE 'E:\' 'ENET\' gv_clcd gv_dt '.' gt_flver-version INTO v_file.
        ELSE.
          gt_flver-version = gt_flver-version + 1.
          gv_filever = gt_flver-version.
          MODIFY gt_flver INDEX idx TRANSPORTING version.
          MODIFY zfi_enetflver FROM TABLE gt_flver .
          CONCATENATE 'E:\' 'ENET\' gv_clcd gv_dt '.' gt_flver-version INTO v_file.
        ENDIF.
      ENDIF.
    clientcode is the key field in ztable do i need to make date field key ??
    please help me with the logic

    You need to implement below logic:
    1. check if field_date = sy-datum. in this case do nothing.
    2. else . move sy-datum to field_date .
    3. modify your internal table with field_date .
    4. populate final table to database table .
    hope you get it.

  • How to put a check boc in alv grid

    hi gurus i  need to put a checkbox in alv grid output
    not a pop up window
    can anybody inform me
    thank you
    raghavendra

    Hi,
    check these threads
    How can I display a checkbox in ALV? http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Regards

  • How to put custom check box in a tableview column

    Hi,
    I would like to put a custom checkbox in a tableview column for each row of the table.
    Such that when the user selects the rows and among those rows if for fews rows this checkbox is active, i need to do some special processing. how can i add a custom check box to a tableview column.
    Can anyone help me in this regard?
    Thanks and Regards,
    Kumar

    Hi,
    You can use the checkbox code within your tableview column:
    <htmlb:tableView id = ".."
    >
    <htmlb:tableViewColumn id = " "
    type = "USER"
    >
    <htmlb:checkBox id = ".."
    selected = " "
    />
    </htmlb:tableViewColumn>
    </htmlb:tableView>
    I hope it helps.
    regards,
    Rohit

  • How to put Authorisation Check?

    Hi,
    I have built a Module Program. In this there is a Save Button where information in the screen is saved to a Z table.
    I need to put an Authorisation check to this save button. That is only users who have “Save” capability could save.
    Simply there should be an authorisation check before the Save where it will check if the User has the Save option.
    Please guide me on how to do this.
    Thanks,
    Kishan

    Hi Kishan,
    1. AUTHORITY-CHECK
       The above statement is required for authority checking.
        Just see help on it for syntax purpose.
    2. Moreover,
       u will also have to know which authorisation object
       is necessary for your purpose.
       (or else new authorisation object may need tobe created)
    Hope the above helps.
    Regards,
    Amit M.

  • How to put error checking on a code

    hi im creating a daily dairy prototype i have almost finished the code it works but there no error checking and i dont know how to write a code to help me validate my prototype here is the code:
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.Label;
    import java.awt.Panel;
    import java.awt.TextField;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.text.ParseException;
    import java.awt.List;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JTextField;
         public class DailyDairy extends Applet implements ActionListener {
              DailyDairy panel1, panel2, panel3, panel4;
              Component[][] rowData;
              private JComboBox[] jcboxShapeCombo = new JComboBox[7];     
              private String [] shapeName={"Meeting", "Lunch", "Holiday", "Sickness", "Preparing report", "Administrative work", "Emails", "Query"};
              public void init(){
                   setLayout(new BorderLayout());
                   setBounds (20, 30, 300, 180);
                   Panel headerPanel = new Panel();
                   headerPanel.setLayout(new GridLayout(1,4));
                   //JButton button1 = new JButton("SUBMIT");
                   //add(button1);
                   Label lblHeader = new Label("Start Time");
                   headerPanel.add(lblHeader);
                   lblHeader = new Label();
                   headerPanel.add(lblHeader);
                   add(headerPanel, BorderLayout.NORTH);
                   Label lblHeader1 = new Label("End Time");
                   headerPanel.add(lblHeader1);
                   lblHeader1 = new Label();
                   headerPanel.add(lblHeader1);
                   add(headerPanel, BorderLayout.NORTH);
                   Label lblHeader2 = new Label("Category of Task");
                   headerPanel.add(lblHeader2);
                   lblHeader2 = new Label();
                   headerPanel.add(lblHeader2);
                   add(headerPanel, BorderLayout.WEST);
                   Label lblHeader3 = new Label("Comment");
                   headerPanel.add(lblHeader3);
                   lblHeader3 = new Label();
                   headerPanel.add(lblHeader3);
                   add(headerPanel, BorderLayout.NORTH);
                   Label lblHeader4 = new Label("Total Time(Minutes)");
                   headerPanel.add(lblHeader4);
                   lblHeader4 = new Label();
                   headerPanel.add(lblHeader4);
                   add(headerPanel, BorderLayout.NORTH);
                   Panel data = new Panel();
                   data.setLayout(new GridLayout(7, 4));
                   rowData = new Component[ 7 ][];
                   // One row
                   for(int row = 0; row < 7; row++) {
                        rowData[ row ] = new Component[ 5 ];
                             rowData[ row ][ 0 ] = new TextField(10);
                             rowData[ row ][ 1 ] = new TextField(10);
                             ((TextField)rowData[ row ][ 1 ]).addActionListener(this);
                             rowData[ row ][ 2 ]= new JComboBox (shapeName);
                             ((JComboBox)rowData[ row ][ 2 ]).addActionListener(this);
                             //((TextField)rowData[ row ][ 2 ]).addActionListener(this);
                             rowData[ row ][ 3 ] = new TextField(10) ;
                             ((TextField)rowData[ row ][ 3 ]).addActionListener(this);
                             //JComboBox jcboxShapeCombo;
                             //System.out.println(rowData[row][2]);                    
                             //jcboxShapeCombo[2] = new JComboBox (shapeName);
                             //rowData[ row ][ 3 ] = new TextField(10);
                             rowData[ row ][ 4 ] = new TextField(10);
                             ((TextField)rowData[ row ][ 4 ]).addActionListener(this);
                             java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("h:mm");
                             ((TextField) rowData[ row ][ 0 ]).setText(sdf.format(new java.util.Date()));
                             data.add(rowData[ row ][ 0 ]);
                             data.add(rowData[ row ][ 1 ]);
                             data.add(rowData[ row ][ 2 ]);
                             data.add(rowData[ row ][ 3 ]);
                             data.add(rowData[ row ][ 4 ]);
                   add(data, BorderLayout.CENTER);
              public void actionPerformed(ActionEvent event) {
                   java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("h:mm");
                   java.util.Date start = new java.util.Date();
                   try {
                        start = sdf.parse(((TextField)rowData[ 0 ][ 0 ]).getText());
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   java.util.Date end = new java.util.Date();
                   try {
                        end = sdf.parse(((TextField)rowData[ 0 ][ 1 ]).getText());
                        //System.out.println("end" +end.getTime());
                        //System.out.println("start" +start.getTime());
                        if (end.getTime() > 0) {
                             long difference = (end.getTime() - start.getTime()) / 60000L;
                             ((TextField)rowData[ 0 ][ 4 ]).setText(Long.toString(difference));
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   //long difference = (end.getTime() - start.getTime()) / 60000;
                   //java.util.Date difference = new java.util.Date();
                   java.util.Date start1 = new java.util.Date();
                   try {
                        start1 = sdf.parse(((TextField)rowData[ 1 ][ 0 ]).getText());
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   java.util.Date end1 = new java.util.Date();
                   try {
                        end1 = sdf.parse(((TextField)rowData[ 1 ][ 1 ]).getText());
                        if (end1.getTime() > 0) {
                             long difference1 = (end1.getTime() - start1.getTime()) / 60000;
                             //java.util.Date difference = new java.util.Date();
                             ((TextField)rowData[ 1 ][ 4 ]).setText(Long.toString(difference1));
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   java.util.Date start2 = new java.util.Date();
                   try {
                        start2 = sdf.parse(((TextField)rowData[ 2 ][ 0 ]).getText());
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   java.util.Date end2 = new java.util.Date();
                   try {
                        end2 = sdf.parse(((TextField)rowData[ 2 ][ 1 ]).getText());
                        if (end2.getTime() > 0) {
                             long difference2 = (end2.getTime() - start2.getTime()) / 60000;
                             //java.util.Date difference = new java.util.Date();
                             ((TextField)rowData[ 2 ][ 4 ]).setText(Long.toString(difference2));
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   //long difference2 = (end2.getTime() - start2.getTime()) / 60000;
                   //java.util.Date difference = new java.util.Date();
                   //((TextField)rowData[ 2 ][ 4 ]).setText(Long.toString(difference2));
                   java.util.Date start3 = new java.util.Date();
                   try {
                        start3 = sdf.parse(((TextField)rowData[ 3 ][ 0 ]).getText());
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   java.util.Date end3 = new java.util.Date();
                   try {
                        end3 = sdf.parse(((TextField)rowData[ 3 ][ 1 ]).getText());
                        if (end3.getTime() > 0) {
                             long difference3 = (end3.getTime() - start3.getTime()) / 60000;
                             ((TextField)rowData[ 3 ][ 4 ]).setText(Long.toString(difference3));
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   //long difference3 = (end3.getTime() - start3.getTime()) / 60000;
                   //java.util.Date difference = new java.util.Date();
                   java.util.Date start4 = new java.util.Date();
                   try {
                        start4 = sdf.parse(((TextField)rowData[ 4 ][ 0 ]).getText());
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   java.util.Date end4 = new java.util.Date();
                   try {
                        end4 = sdf.parse(((TextField)rowData[ 4 ][ 1 ]).getText());
                        if (end4.getTime() > 0) {
                             long difference4 = (end4.getTime() - start4.getTime()) / 60000;
                             ((TextField)rowData[ 4 ][ 4 ]).setText(Long.toString(difference4));
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   //long difference4 = (end4.getTime() - start4.getTime()) / 60000;
                   //java.util.Date difference = new java.util.Date();
                   //JTextField aField= (JTextField)event.getSource();
                   //if (aField)== rowData[ 0 ][ 1 ])calc row(0, 4);
                   //if (aField)== rowData[ 1 ][ 1 ])calc row(1, 4);
    }

    edit your post to have [ c o d e ] tags around your code,
    then maybe someone will have a look.
    And try to better explain your goals and your problem. Let us know what you have tried, what did you expect and what have you got.
    What is a "prototype" and on what specs should it be validaded?

  • To put validatition check on date

    hi
    there is data being loaded from a flat file i want to input check on date format as yyyymmdd format only please suggest how to put this check
    regards
    arora

    If you want to understand - run the program in debug and watch what happens to the values.  Or add some more write statements like this.
    PARAMETERS: p_dat TYPE c LENGTH 8.
    DATA: test_date TYPE d,
          input_date TYPE d.
    input_date = p_dat.
    WRITE:/ 'Value of p_dat', p_dat DD/MM/YYYY.
    WRITE:/ 'Value of input_date', input_date DD/MM/YYYY.
    test_date = input_date - 1.
    WRITE:/ 'Subtracted one from input_date to give', test_date DD/MM/YYYY.
    ADD 1 TO test_date.
    WRITE:/ 'Added one to test_date to give', test_date DD/MM/YYYY.
    IF test_date = input_date.
      WRITE: / 'Test_date same as input_date, so the original date was valid'.
    ELSE.
      WRITE: / 'Test_date NOT the same as input_date, so the original date was invalid'.
    ENDIF.
    If p_dat contains an invalid date, then when you subtract one from input_date it gives you '00000000' - i.e. INITIAL for a type D.
    So you could rewrite the code:
    PARAMETERS: p_dat TYPE c LENGTH 8.
    DATA: input_date TYPE d.
    input_date = p_dat.
    SUBTRACT 1 FROM input_date.
    IF input_date IS NOT INITIAL.
      WRITE: / 'Subtraction from input date is not blank so the original date was valid'.
    ELSE.
      WRITE: / 'Subtraction from input date is blank so the original date was invalid'.
    ENDIF.
    matt

  • HT1451 How do I re-check all songs.  I somehow unchecked them and to manually re-check them all will take forever

    I accidentally un-checked all my songs in I-Tunes and re-checking them manually will take forever!  Anyone know how to put the check mark next to all the songs at the same time?

    CTRL+click on any empty check box will check all visible tracks.
    tt2

  • . How to put Check box in every row in Table

    Hi Friends,
    I have one doubt in Webdynpro with java. How to put Check box in every row in Table?
    For Exam My requirement is I am getting BAPI from ECC System. So I have to go given input details in first view and output details in SecondView. So in Second View I will taken Table that data will displayed in rows. I need each and every row first I need check box.
    Here Select Check Box of particular row then click GetData button.  That row data will be displayed in one popup window.
    In table suppose 6 rows available in table. Every Row first Check box available.
                             empid, name, sal  ,firstname, last Name
                             empid, name, sal  ,firstname, last Name
                             empid, name, sal  ,firstname, last Name 
    How to put Check box in every row in Table?  can you send any examples applications
    Regards
    Vijay

    Hi Friend,
    When we are getting BAPI From ECC System. that BAPI Have nodes and Attribues...in under node we can't create "CheckBox"
    attribute.
    So i am doing like this.I am create on Checbox attribue out side of Node. Check Box data type is boolean.
    next i am creating table ( that table having rows and columns) Right click on table-->Click on Insert GroupedColumn->again right click on nsert GroupedColumn---> Here Select Check Box.
    Okay...here i am getting one problem. i have got Check boxes .But i am select check box in  first row. that time all check boxes will be selected.
    i need select first row check box that only first row will be selected suppose i selected second row check box that only second will be selected.
    i need this can u help me....
    Regards
    Vijay

  • How do I put a check mark to all the songs in the library/

    somehow this morning after deleting voice memos from the iTunes library i noticed that all my songs became de-checked. Which means they won't play until i put a check mark in the check mark column. How do I check them all ?

    Thanks so much Meg I have almost 19,000 songs in my library and i'd be lost without being able to hear them.

  • How to put Check Boxes and Radio button in Smartforms

    Hi all,
    How to put check Box and radio button in Smartforms ............ from web properties there is an option to use. But How to use.     
    regards,
    Mohsin

    u can declare the checkboxes or radiobuttons whatever in driver program and pass the same to ur form...

  • I accidentally dropped my firewall, or openned it.  I checked it in system preferences and it is turned off but I can not find how to put it back up.  PLEASE HELP!

    I accidentally dropped my firewall, or openned it.  I checked it in system preferences and it is turned off but I can not find how to put it back up.  PLEASE HELP!  I obviously do not want to leave this open very long, if you get my drift.

    Did you "click the lock to make changes"

  • Urgent ! how to put check box in the smartform

    <b>can anyone tell me how to display a check box (unselected) in the smartform.....</b>

    Hi,
    Try this.
    Change the editor to 'PC Editor' and take the menu.
    Include -> Characters -> SAP Symbols
    Check this also.
    Re: How to create checkbox in smartforms??
    Message was edited by: Jayanthi Jayaraman

  • Pl sql Code To count how max checkboxes are checked In the Report Region

    I am developing a APEX report where I put check boxes to row row of the report result . So I checked Some of this check box. Now I need a code to count how many checkboxes are checked during the runtime

    there is a forum for APEX: Oracle Application Express (APEX)

Maybe you are looking for

  • I used to be able to view my Yahoo emails in Firefox. Now I can't. What do I need to do?

    I have a new computer with Windows 7 and I usually use Firefox as by browser. Recently, I found that when I checked my Yahoo emails in Firefox that I would get a blank screen with no email content showing. However, when I use Internet Explorer and op

  • Satellite Pro A300D-151 noisy fans

    Hi i have a year old Satellite Pro A300D-151 that make a lot of noise compared to other computers. When i bought the computer it had vista 32-bit but since then i have installed windows 7 64-bit on it. The noise sounds like a fan is running but the c

  • Iwork 09 password protection for pages & numbers files

    I created a numbers file (iWork 09) on iMac that is password protected.  I sent the file to my iPad 2 and the first time i opened the file via ipad 2, it prompted me for my password, but now every time thereafter when I open the file in my ipad 2, it

  • Can we join fact to fact?

    i am new to obiee i found this question in some bi sites. " If you have 3 facts and 4 dimension and you need to join would you recommend joining fact with fact? If no than what is the option? Why you won't join fact to fact? i found the answer like t

  • Photo app storage is 3.9gb used when I have no pics????

    why is my photo app using 3.9gb when I have no pictures? I had loads on and it said 4.6gb so I backed them up and deleted them. Also deleted them from recently deleted folder. THERE ARE NO PICS ON MY PHONE. after this action I now tells me I'm using