Checking Table Conditions

Hi,
I want to know how to check the table conditions in ABAP for cancelled and returned orders.
Thanks in advance,
Kannishka

hello, friend.
for sales returns, one of the tables you can use is VBAK.  look for field AUART for the sales document type (RE for returns).
for cancelled orders, you can use VBAP and look for field ABGRU reason for rejection (an entry cancels the line item in the order).  you can also use VBUK (header) or VBUP (item) to check order status (rejection).
regards.

Similar Messages

  • Maintenance View & Viewcluster & Check Table

    Hi all,
    I created a Viewcluster which includes three Maintenance Views. As you know after running the Viewcluster and when you enter a value to a field, the program checks the value according to the check table.
    In my example for REVUS field check table is USR02. So whenever I enter a value to REVUS, it checks USR02 table, and it gives an error if I enter incorrect value. The question is if enter just space (blank), it accepts is - it doesn't give error. What is the situation here? How can I prevent to enter blank value to REVUS.
    Thanks in advance.

    Narendran,
    Yes, this solves the problem. When I did like that it gives this error : Message no. 00 055 (Make an entry in all required fields).
    I found another solution too. I'd like to share with you.
    In the Maintenance View, we can define a Selection Condition  for REVUS field. It should be like that Operator: NE Comparative Value: <blank>. So when we do this the Clusterview doesn't allow to enter blank value and gives this error: Message no. SV 033 (Specify the key within the work area)
    It seems that second solution is better because if I choose the first solution when I need to change or modify the maintenance dialog I think I will need to change the screen again.
    Thanks,

  • How to check 2 condition types (kschl)

    Hi,
    READ TABLE i_komv WITH KEY kposn = ekPo-ebelp kschl EQ 'JEC1' OR
                                                  KSCHL EQ 'JMO1'.
    how to write this above stmt? I have to check 2 condition types with a single read stmt?
    regards,
    Star Shankar

    I guess Kishan wants to refer as:
    READ TABLE i_komv WITH KEY kposn = ekPo-ebelp .
    if <b>i_komv-</b>kschl EQ 'JEC1' OR
    <b>i_komv-</b>KSCHL EQ 'JMO1'.
    ....<code>
    endif.
    As KSCHL is part of internal table I_KOMV.
    or
    READ TABLE i_komv WITH KEY kposn = ekPo-ebelp .
    check i_komv-kschl EQ 'JEC1' OR i_komv-KSCHL EQ 'JMO1'.
    ....<code>
    Kishan,
    Correct me if i am wrong.
    Regards
    Eswar

  • Check Table with Constant Field

    I created table ZTEST with fields MANDT and MATNR, and also created check table MARA for field  ZTEST-MATNR, so the current check logic is:
    ZTEST-MANDT = MARA-MANDT and
    ZTEST-MATNR = MARA-MATNR.
    But I just wonder whether I can put one more creteria to only check a specified material type (MARA-MTART) such as 'ZAWA', and there is NO such a field MTART in ZTEST. That is, I want to put one more field from MARA for foreign key check, the new logic is:
    ZTEST-MANDT = MARA-MANDT and
    ZTEST-MATNR = MARA-MATNR and
    MARA-MTART = 'ZAWA'.
    Thanks in advance

    Hi,
    Create a database view in the DDIC..With the conditions as MARA-MTART = 'ZAWA' in the selection conditions tab..
    Then use the view as the check table for the matnr field in your ztable..
    Thanks,
    Naren

  • Values from check table to Dropdown

    Hi Experts,
                    I have a requirement like, i want to show the values from a check table in dropdown list. i have two transparent table of which i made a foreign key relation with the second one with some value restrictions. That all working fine.  
        I tried creating an input box with reference to the field in the first table.then the search help is comming correctly with the valus from check table. But when i tried to attach the same to dropdown its not displaying the value.
    please suggest a solution to display the values in drop down.
    Regards
    Sarath
    Message was edited by:
            sarath satheesan

    hi sarath.........
              consider you want to have some 10 purchase order numbers in your drop down.
              you will be assigning a node to your drop down.
              in its supply function, write the codings to fill your node by using a select query.
               just like filling a table.
               in this case, your drop down gets filled automatically.
    --regards,
      alex b justin

  • Check table TFBEFU_CR: entry 10   does not exist

    Dear all
    When i am doing GR for Order (T.Code : MB31),the system displays the following message.
    Check table TFBEFU_CR: entry 10   does not exist
    plz give me the solution as early as possible,bcaz it is very urgent to me.
    Thanks in advance.
    Regards
    Basava sreenu

    Dear Mr.Basava,
    I'm not sure,but try with this.
    For the particular material which you are using in MB31 for Good's receipt for
    Order,check whether the storage location is present in  T code MMSC-Extend
    material storage location.If not add and save,then try in MB31.
    If useful reward points.
    Regards
    Mangal

  • How can we restrict the f4 help from check table in the pop up form.

    Hi,
    I am trying to control the F4 help values from check table coming in the form of pop up.

    When a user uses SM30 to add an entry into table, you often need to add more checks. If you were to add code inside, there is a big chance that it would be overwritten.
    The solution: go to table maintenance generator ( se56) => Enviroment => add event.
    [To add event in table main.|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc]

  • Inserting records into Table with check table logic in place

    I want to insert records into a table, and have the check table to not allow invalid entries.  Is there a function out there that will allow this?  I am currently using the insert statement and it is working except that it is not giving an error when the value does not exist in the check table for the particular fields.
    INSERT INTO ZSD_XREF VALUES WA_XREF.
    That is the basic statement I'm using ZSD_XREF has several fields one being the material number field tied to the check table which happens to be MAKT file.  The insert statement is not validating the material numbers using the check table, or at least it is not giving an error.  Any ideas?

    Paul,
    Unfortunately, open SQL statements such as INSERT, UPDATE do not go through the check table logic as they directly hit the database layer. Check table checks are performed only if you go through application layer that is when you enter the same data through a screen.
    You have to do the checks yourself.
    Happy checking!!!
    Srinivas

  • Files moving to NFS error folder - Could not insert message into duplicate check table

    Hi Friends
    Have anyone faced this error, could suggest me why.
    The CSV Files failed on Sender Channel and moves to NFS error path  and in the log it says as below.
    Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not insert message  into duplicate check table. Reason: com.ibm.db2.jcc.am.SqlTransactionRollbackException: DB2 SQL Error

    Hi Uma - is that a duplicate file? have you enabled duplicate file check in sender channel?
    please check if the below note is applicable
    1979353 - Recurring TxRollbackException with MODE_STORE_ON_ERROR stage configuration

  • Error While Doing GR "Check table YMSEG:"

    I am getting following error while doing GR for sales set  article 303387.
    Check table YMSEG: entry 303384 0001  does not exist
    Sales set header 303387
    sales set Component 303384 & 303386.
    can't find any issue with the article (material) setup

    YMSEG is a standard internal table used in import and export of function modules.
    if you search SAP notes on YMSEG then you get about 230 hits.
    Unfortunately the info given is by far not enough to tell you the reason for this error.
    The number from the error explains just that it is one of the sales set Components
    But you need to describe the process and what changes you eventually did compared to standard process. Only then we might be able to help you further.

  • Error Updating table condition table 372 in J1IIN

    Hello all,
    I am facing the problem while working in ECC 6.0 environment in the transaction code J1IIN.
    I have maintained the condition type JEXP ( A/R BED %) as 14% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like error updating the table condition table 372
    I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
    I tried to maintain a different access sequence for the condition type JEXP i.e a new Access sequence(ZJEX) and also a new condition tpe (ZJEP). We don't have other Excise condition type in our Pricing procedure.
    In the access sequence except condition table 372, I have maintained all other condition tables.
    Still the error is persisiting. Can anyone put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Also while debugging it gives a message "An exception (CX_BADI_INITIAL_REFERENCE) occured".
    Does this help in anyways.
    Gurus plz give u r suggestions.
    Thanks in advance,
    Regards,
    Karthik.

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Error updating the table condition table 372 in J1IIN

    Hello all,
    I am facing the problem in the transaction code J1IIN (In CIN).
    I have maintained the condition type JEXP ( A/R BED %) as 16% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like Error updating the table condition table 372
    I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
    I tried to maintain a different access sequence for the condition type JEXP i.e In the access sequence except condition table 372, I have maintained all other condition tables.
    Still the error is persisiting. Can anyone put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Gurus plz give ur suggestions.
    Thanks
    Srinivas

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Error "Check Table TFBEFU_CR : entry 10 does not exist" getting

    Hi All ,
    While doing Goods Receipt for Prodn Order , error "Check Table TFBEFU_CR : entry 10 does not exist" getting Prompted.
    Could u pls help me to solve it
    Regards
    Sandeep

    you need to apply the OSS  note 107588. it is excatly for the same problem yoy mentioned here.
    check the note

  • Problem in assigning check table to a table field

    Hi Champs,
    I have a requirement where I need to assign a check table to POSID field(same as of table PRPS) of my Custom Table. I know there is as such no check table for this field but is there any way to put check for the value entered in this field.
    Regards,
    Nishant

    Hi,
    If you only want to validate the field values then try to use Value Table.
    use that table in the domain (PS_POSID) of this perticuler field.
    Hope this will solve your problem.
    Regards,
    Raj Gupta

  • Error during Goods Receipt:Check table XMCHB: Entry 'Material no.', 'Plant

    Dear All,
    I am trying to post Goods Receipt for a Stock Transport Order.
    The error message appears as " Check table XMCHB: entry 'material no.' 'plant', '____' , 'batch no.' does not exist. (message no. M7001)
    The Supplying plant stock from which Goods Issue is done,  is a Normal storage location Unrestricted stock.
    The receipt has to be taken into Vendor stock (Goods Receipt movement type 101 O )
    Inputs will be appreciated.

    technically spoken.
    table MCHB is the storage location segment of a batch record.
    System tries to create an entry in MCHB without a storage location, which does not make sense.
    Vendor stock does not go to MCHB, instead it is recorded in table MKOL.
    If you do STOs then you may transfer vendor consignment stock, but you cannote issue own stock and receive into vendor consignment stock.

Maybe you are looking for

  • HP1102W can't print with wireless

    Greetings, I wanted to report a problem i have with my printer (HP1102W). 1. When I first bought the printer. It worked fine and both laptops that I had in my home could easily send files and print, 2.  after a while, one of the laptops began to have

  • Help finding files saved using an iphone app

    Morning all, i am really struggling to find a file which was generated using an app on my iphone. i have been capturing my expenses using an iphone app, and then the report is extracted it saves it at the following location: /var/mobile/Applications/

  • Blob to Java class that has changed problem

    I wasn't sure how to title this problem, but here's an explanation. It is slightly hypothetical but is likely to become an issue soon. I am storing my java objects into a database as a Blob, retrieving them and then regenerating them as java objects.

  • Basic doubt of FDM

    Hi all, coming to the ETLs used . i want to know what is the importance of FDM .cant i do with anyother ETL .anyideas are appreciated Praveen

  • Install 11gR2 client on Windows 7 in the Program Files (x86) folder

    Hi, We have a requirement to install the 11g R2 client 32bit on Windows 7 into the Program Files (x86) folder. We already have the 10g client installed into this location, and wish to keep the Oracle software in the same ORACLE_BASE location. The ins