Making condition type unmandatory for free item categories

Hi all,
I've created a form routine in RV64ANNN the requirement is when we create or change sales order....we have few item categories were in we need to make a concern condition type unmandtory if items with those item category is created...else if make the condition type mandatory.........example...............this is done for only one pricing procedure......in V/08 tcode and there i've assinged our routine number for that condition type which needs to be changed dynamically.
say we have Sales doc type ZXXX for this sales doc type lets say we have item category ZITE1 and ZITE2.......and lets say the Condition type is ZCOND(whether the condition type is required or not is done by checking in tcode V/08 and this is always checked).now when the user enters creates a item 1 with item category ZITE1 and leaves the amount field blank it will however ask to enter the amount.......now here is the problem............if user creates second line item with item category ZITE2 its againing asking to enter the amount for that condition type.............this is happing even after i've desinged the below code.............
DATA: l_kobli TYPE kobli.
IF komk-kalsm = 'ZINFAM'.
*Sale Doc ZORA
IF komk-auart = 'ZORA'.
IF komp-pstyv = 'ZTAN'.
l_kobli = 'X'.
ELSEIF komp-pstyv = 'ZZNN' OR
komp-pstyv = 'REN'.
l_kobli = ' '.
ENDIF.
*Sale Doc ZORB
ELSEIF komk-auart = 'ZORB'.
IF komp-pstyv = 'TAN'.
l_kobli = 'X'.
ELSEIF komp-pstyv = 'REN' OR
komp-pstyv = 'TANN'.
l_kobli = ' '.
ENDIF.
*Sale Doc ZRE
ELSEIF komk-auart = 'ZRE'.
IF komp-pstyv = 'REN' OR
komp-pstyv = 'RENN'.
l_kobli = ' '.
ENDIF.
*Sales Doc ZCOR
ELSEIF komk-auart = 'ZCOR'.
IF komp-pstyv = 'KRN' OR
komp-pstyv = 'RENN'.
l_kobli = ' '.
ENDIF.
*Sales Doc ZCI
ELSEIF komk-auart = 'ZCI'.
IF komp-pstyv = 'KEN'
l_kobli = 'X'.
ELSEIF komp-pstyv = 'TANN'.
l_kobli = ' '.
ENDIF.
ENDIF. "Sales Doc Check
READ TABLE xt683s WITH KEY kvewe = 'A'
kappl = 'V'
kalsm = 'ZINFAM'
kschl = 'ZPOR'.
IF sy-subrc = 0 .
xt683s-kobli = l_kobli.
MODIFY xt683s INDEX sy-tabix.
UPDATE t683s SET kobli = l_kobli WHERE
kvewe = 'A' AND
kappl = 'V' AND
kalsm = 'ZINFAM' AND
kschl = 'ZPOR'.
ENDIF.
ENDIF. "Pricing Procedure check
CLEAR: l_kobli.
The table which has this mandatory checked is T683S and the field is KOBLI........i've debugged it the routine come up well with item category ZITE1 and the table gets updated with KOBLI = 'X' but when i navigate the screen in VA02 or in VA01 to second item created with item category ZITE2...the table logic does'nt goes and updates the above table............Suggest me with some solution........
Thanks in Advance.....

I've resolved it by myself

Similar Messages

  • Making condition type mandatory for a particular po document type

    I have 2 po document type namely local po and international po. i want a particular condition type ZLCS to be picked automatically as soon as the user picks the po document type.

    Hi,
       You may check the condition technique through a new condition table with PO document type. You may proceed as below:
       You may append the standard MM condition structure to include the PO document type field (in structure KOMPAZ), with the help of abapers . Add the field to condition catalogue in the path: OLME - Conditions - Define Price Determination Process - Extend Field Catalog for Condition Tables.
        Now, you can create condition table with document type field in M/03. Maintain the condition table in the access sequence in M/07. Assign the access sequence to condition type in M/06. Include the condition type in pricing procedure. Maintain condition record for the condition type with required document type in MEK1.
        Check the procedure and revert back in case of any doubts.
    Regards,
    AKPT

  • Standard Condition type used for Manual freight at item level

    Hello Gurus
    Can you please tell me the standard condition type used for entering freight manually at header as well as item level.
    Warm Regards
    Prashant Joshi.

    Prashanth,
    The freight Conditions that we use in Sales are two types
    HD00 - Header Level, wherein we have no access sequence
    KF00 - Item level, Wherein we have access sequence  KF00 - Freight
    But you want the condition types to be maintained manually, then you need item details screen of the respective condition type HD00/KF00 using Tcode V/06.
    Inside that Manual entry as "C". Similarly you need to maintain or activate "Manual" Indicator in pricing procedure. Then you can enter the freight Manually.
    Note:
    The difference In applying at the header level and item level is if you enter freight value at the header level it is applicable to all items in the item level. But if you want to apply freight  we can give freight to each item or selective item.
    Regards
    Sathya

  • Excise capture in import po for free item

    Dear Friends
    I am having an issue.
    I have created an import po for free item.
    As the item is free of cost,system will hide the conditions tab item details tab.
    But we are paying the all the duties like CVD,Import Duty ,cess etc for the free item.
    The item detail tab is hidden, I cannot enter the planned delivery costs for the item
    Please advise me how can I capture Excise Invoice for the free itme in import PO
    Thnks

    The only way to do it is to assign a small notional value (like 0.01 USD) to the item, so that the conditions tab does not disappear.
    The only problem will be that the GR/IR clearing account will have an open entry, which can be cleared via MR11 with minimum accounting impact.
    Regards,
    Aroop

  • Same condition type on header and item level = printing problem

    Hi
    I have a customer using some condition types on both item level and header level in quotations, orders, invoices ...
    In the pricing procedures it is customized (V_T683S-DRUKZ) that the conditions must be printed on header level (that is at the bottom of the documents).
    My job is to make the Smartform to print the documents, and I want it of course to be as close to SAP standard as possible.
    SAP standard will print these conditions on header level even if the conditions are at item level, but my customer wants the conditions created on header level to be printed on header level and conditions created on item level to be printed on item level.
    I'm no pricing expert, so my question is:
    Will it be fair if I tell the customer that using the same condition types on header and item level is bad practices - or at least bad karma?
    Best regards
    Thomas Madsen Nielsen

    Hi Shiva Ram and Madhu
    I have no problem understanding header vs. item conditions, so I really don't see anything in oss note 876617, that is relevant in this case.
    Madhu - I do not agree that everything is fine. My issue is that I want to stick as closely to SAP standard customizing as possible. In SAP standard customizing of a condition type you can use the flag V_T683S-DRUKZ to determine if the condition should be printed on header OR item level - you can not choose both header AND item level.
    I have a SAP standard smartform using two functions modules for reading header and item conditions. RV_PRICE_PRINT_ITEM and RV_PRICE_PRINT_HEAD. These function modules are based on the DRUKZ customizing flag and a condition marked for printing on header level will be supplied by RV_PRICE_PRINT_HEAD even when the condition is on item level.
    My point is: SAP standard customizing does not support printing of same condition on both header and item level. I can of course write tons of code to work around this problem, but that would be bad practices

  • Condition type used for invoice list

    Hello Gurus,
            following condition type used for invoice list, why do they exit in invoice list:
             RL00    MW15.  LR00    RD01

    Hi,
    Please go through the below document
    When you work with invoice lists, you need to be familiar with the following concepts:
    Prerequisites for invoice lists
    Relationship to Pricing
    Structure of an Invoice List
    Changing header and item data
    Integration with financial accounting (FI)
    Prerequisites
    You can only process invoice lists if the following prerequisite data is defined by your system administrator in Customizing for Sales:
    Condition type RL00 (factoring discount) must be maintained and, if required, also the condition type MW15.
    An invoice list type must be assigned to each billing type that you want to process in invoice lists. The standard version of the SAP R/3 System includes two types of invoice lists: LR for invoices and debit memos, LG for credit memos.
    Copying requirements must be defined (for example, the payer, terms of payment and other fields that must be identical in the documents to be included in the invoice list)
    In addition, before you process an invoice list, you must maintain the following master data:
    A customer calendar must be defined, specifying the time intervals or dates on which invoice lists are to be processed.
    The customer calendar must be entered in the Billing Sales Area view of the customer master record.
    Pricing condition records for the condition type RL00 and, if necessary, (e.g. in Germany) the condition type MW15 must be maintained.
    Output condition records for condition types LR00 and RD01 must be created.
    Relationship to Pricing
    The system processes factoring discounts in invoice lists in exactly the same way as other kinds of pricing elements. The data for the factoring discount is stored in condition records. Controlling during document processing is carried out via condition types, pricing procedures and access sequences. This control data is defined in Customizing for Sales by your system administrator.
    For further information, see  Conditions and Pricing.
    Structure of an Invoice List
    An invoice list represents an individual billing document. It consists of a document header and document items. Each item represents a billing document that you have included in the invoice list. The header contains an overview of summary information, such as the net value of all documents in the invoice list, the value of the factoring discount, details of taxes, and so on. It also contains information on partners and output.
    Changing Header and Item Data
    You can change some of the header data - for example, the billing date - when you process the invoice list. You can change an item - either an individual or collective invoice - and display document details. However, you cannot change any data in individual billing documents once they are part of an invoice list.
    It is possible, however, to make certain global changes to output in all items in an invoice list.
    For further information on output, see  Communication in Sales and Distribution Processing.
    Integration With Financial Accounting (FI)
    The documents that you want to combine within an invoice list must already have been billed and forwarded to Financial Accounting. Here the billing documents intended for an invoice list are blocked for normal dunning transactions.
    The dunning block on FI documents is lifted as soon as you create an invoice list and transfer it to FI . The system then calculates the new dunning date for the invoice on the basis of the invoice list date.
    In addition, the system enters invoice list numbers in the FI documents as reference numbers. Invoice list numbers can then be entered for incoming payments.
    When you save the invoice list, the system automatically creates an accounting document for the factoring discount and possible taxes and posts it to the corresponding G/L account in FI.
    Regards,
    Murthy

  • We look now for a suitable condition type "deposit for loaned packaging"

    Hi,
            Following is my client reuirement,
        We buy a lot of raw materials in loaned packaging (drums or IBC). The
    vendors are invoicing the packaging as an extra item on their invoice.
    Weeks or months later when we return the packaging to them we get a
    credit note.
    We look now for a suitable condition type "deposit for loaned packaging"
    which refers to account 631010 and we can use in the purchase order.
    Can you create such a type ?
    Please any one tell me whether it is possible? If yes, then which way?
    Regards,

    Hi Ajinkya1788 ,
    you can use a condition like FRB1 with a provision account key for your 631010
    or set up a valuation class to determine that account.
    You might want to check empties management documentation in help.sap.com
    best regards,
    Edgar

  • Condition type used for scrap

    hi,
    what is the condition type used for scrap in Standard SAP.?Assured points
    Best regards,
    R.Srinivasan

    Dear Srinivasan
    Follow the below process:-
    1)  Go to V/06, either copy the standard or create a new by naming ZTCS and maintain the following:-
    -  Cond. class::::::::::A
    -  Calculat.type::::::::A
    -  Access seq.::::::::::K004
    -  Manual entries:::::::D
    -  Item Condition:::::::X
    -  Text DetPrc::::::::::04
    2)  Again in V/06, create one more condition type (say ZECT) for Edu.Cess on TCS for which the same values can be maintained as like ZTCS
    3)  Go to OV34, create an Account key for TCS, say ZTC and ZET for Edu.Cess
    4)  Go to VK11, input the condition type ZTCS and maintain the required TCS percentage (the combination which you can maintain is for Sales Org / Dis.Channel / Material or as per the requirement demands you).   Similarly, you have to maintain the required percentage for Edu.Cess also in VK11
    5)  Now go to V/08, create a new pricing procedure exclusively for scrap sales and maintain these two condition types there with respective Account Keys
    thanks
    G. Lakshmipathi

  • How get the condition type of PO's item

    Dear All,
    I want to get the condition type of PO's item.
    I have checked the EKPO, there is Purchasing Info Record but no Purchasing info record category(esokz) that is the key of in table A017.
    How can i get the Purchasing info record category(esokz) of PO's item?
    Thank you in advance.

    Hi,
    Purchase info records are stored in EINA and EINE table. The field you are looking for is in table EINE.
    Hope this helps.
    ashish

  • Calculation of sales tax for free item

    Dear SAP B1 Experts
    I have query regarding sales tax calculation for free item .
    For EG.  I have two item for sales (A = 1000,  B = 100)   Sales tax is VAT4%
    But when i am doing sales, i am selling B for free of cost with A for Rs 1000/- 
    here my tax calculation is (1000 *4%)  = 1040/-
    but as per the govt sales tax rule, we are liable to pay the tax for free item as well
    So I this case, In SAP B1 how we will calculate the tax 4% for free item  .
    Please help me.
    Thanks

    i have checked, its working okay, but
    in Invoice print out unit price and line total is showing for free item.  How i make the unite price 0 .
    Tax only calculation is based on the Line total and the line total is based on the unit price.
    in that case when i give the invoice to the customer.
    It should show like this
    Item A       100   * 10         1000
      "    B           0   * 1              00
                                             1000
    4% tax                               44
    Doc Total             =           1044
    thanks
    Regards

  • Delivery proposal for free item

    Dear All,
    While creating sales order with free item the delivery proposal deactivated, how we can make it editble in case free items (in schedule lines)
    regards
    murthy

    Hello Murthy,
    Please check the delivery proposal setting for free item Sales Area.
    go to -- IMG>S&D>BF>Availability Check & TOR>Availability Check>ATP>Define Default Setting Check for Sales Area.
    i hope it may help ful to you.
    Regards,
    Srinivasa Rao.

  • How do I opt-out of recieving email receipts for free items from the store?

    Hello,
    Currently, when I download free apps from the store I will eventually receive weekly receipts from e-mail. While useful on purchased items, I treat this as spam for free items.
    How do I opt-out of this for free items?

    I'm not aware of any setting to prevent the Apple's receipt to be sent.
    If you bought a mix of purchase item and free item, the will appears on the same receipt. Instead of considering them as spam, you can consider them as "a way to recall which apps you dowloaded in case something wrong happen".
    Personally, I have created a folder called "receipts" and simply send these mails to this folder.

  • Condition type table for mm

    hw to get a condition type table for mm?i
    i want to get the records from eban,ebkn,esll,esuh, and some more fields (service currency,service condition type,service price and service price unit) but the functional consultant people dnt know wr these 4 fields are? i have got records from eban , ebkn ,esll
    and esuh.but i dnt know hw to get the another four fields .i m doing report for mm module.these four fields are condition from condition table .

    Hai Safi,
       U compare Tables Ekbe-Knumv , Ekko-Knumv , From Table Konv-Knumv
    U will get all the condition types(Kschl) But Konv is a  Cluster Table U have to write Seprate Select query.
    Reward Points If Usefull,
    Thanks & Regrds.
    Shiva .

  • Find condition type (kschl) for a particular material document no (mblnr)

    hiiiiii
    How to find condition type (kschl) for a particular material document no (mblnr).

    Hello,
    <b>Check the table A017 and KONV.</b>
    Vasanth

  • Condition tab in ME22n vanish for free item

    In ME22N transaction in the item list if the free item check box is checked, then the conditions tab is vanished and the vise versa. The requirement is to make the conditions tab visible even if the free item check box is checked. Please advise.

    That is standard behavior in PO processing - non-relevant tabs do not appear.  Either raise a message with SAP (which won't get you very far) or enhance the screen (tab) display code.  By the way, simply posting a requirement does not get you very far on this forum - it indicates that you haven't tried to analyze or solve the problem yourself.

Maybe you are looking for

  • Using just the TV screen when using HDMI port?

    Hi, I have the Macbook Pro with retina display and I was wondering how I could use just the TV screen when using HDMI port. I don't want mirroring displays, just one on the TV.

  • The special characters are not loading. ?

    For some reason the special characters stopped appearing when I click "Special Characters" under the Edit tab. I don't understand, and unfortunately in my academic work practically a third of the characters I have to use are these. Is there another w

  • Calling a report program in another program.

    can we call on report program in another report program. If yes, please give me the right syntax. Thanks in Advance.

  • Third Party Cookies and Safari's handling thereof...

    So now that I'm having to use Safari, I'm getting all my regular sites set up, and when I attempt to access my credit union's "bill pay" feature, it won't work because I have the setting set to block cookies "From third parties and advertisers".  The

  • Within FM not possible AT SELECTION-SCREEN or PROCESS ON VALUE-REQUEST

    Hello ! Within a "User Help Exit" must be called the FM named C14F_LOV_WAID. How can I adress this FM for a field. The goal is if user klicks on F4 the this FM mist be called. please notice a user help exit is like a Function Modul. e.g. FUNCTION zus