Sales order item assignemnt block ,if we click edit extra blank line on items level i want remove that line how to do it?

Hi Team,
Sales order item assignemnt block ,if we click edit ,Item assignment block extra blank line on items level is showing , i want remove that line how to do it?
Thanks&regards
Kalpana

Hi Ravi,
With the help of Dharmakasi Thotakura...
As suggested to do changes in DO_INITCONTEXT and GET_I_T_TABLE methods ....i have implemented these two methods...Now problem only one column ITEM_NO will be disabled  remaining cloumns not disabled...i want to disable entire column including ACTION column also..Action Column contains INSERT and DELETE buttons.how to do it?
METHOD
do_init_context.
CALL METHOD SUPER->DO_INIT_CONTEXT.
DATA : lr_ent TYPE REF TO cl_crm_bol_entity,
lr_btadminh TYPE REF TO cl_crm_bol_entity,
lv_object_id TYPE string,
lo_context TYPE REF TO /RCRM/15IT__ITEMS_CN00.
* gv_flag TYPE crmt_boolean.
lr_ent ?= me->typed_context->btitems->collection_wrapper->get_current( ).
lr_btadminh ?= lr_ent->get_parent( ).
lv_object_id = lr_btadminh->get_property_as_string( iv_attr_name = 'OBJECT_ID' ).
lo_context ?= me->typed_context->btadmini.
clear lo_context->gv_flag.
IF lv_object_id IS NOT initial.
lo_context->gv_flag = abap_true.
ELSE.
CLEAR lo_context->gv_flag.
ENDIF.
ENDMETHod
METHOD
get_i_t_table.
CALL METHOD super->get_i_t_table
EXPORTING
index = index
component = component
RECEIVING
rv_disabled = rv_disabled.
DATA: lv_component TYPE name_komp,
lo_entity TYPE REF TO cl_crm_bol_entity,
lo_property TYPE REF TO cl_crm_bol_entity,
lv_string TYPE string.
IF rv_disabled = 'FALSE'.
lv_component = component.
lo_property ?= collection_wrapper->find( iv_index = index ).
lo_entity ?= lo_property.
lv_string = lo_entity->get_property_as_string( iv_attr_name = lv_component ).
IF lv_string IS INITIAL or lv_string = '0000000000'.
IF gv_flag IS NOT INITIAL.
rv_disabled = 'TRUE'.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
Thanks
Kalpana

Similar Messages

  • Standard T Code to release list of sales orders in 'Delivery Block'

    Dear All,
    Is there any standard transaction code in SAP which provides the facility to release list of sales orders in 'Delivery Block'. (Additional information - List of sales orders in 'Delivery block' is available in V.14,however it does not have release facility).
    For example, VKM3 gives the list of sales orders in 'Credit block' with release facility.On the same lines, is there any standard T code or any other facility in standard SAP which provides the facility to release list of sales orders in 'Delivery Block'.
    Thanks and Regards,
    Zahid

    As already suggested, if you execute VA14L you can see all sale orders that are blocked at
    -  header level
    -  item level
    -  credit check
    Wherever you see "X" under the tab Header level, double click on the respective sale order, so that system will take you to sale order in change mode.  You can remove the header level delivery block and save.
    thanks
    G. Lakshmipathi

  • Sales order should be blocked based on amount and days

    Hello Gurus,
    We have a requirement -The sales order should be blocked based on credit amount and number of days  maintained for particular customer
    But where do we maintain validity period for that amount for a particular customer
    EX  : Credit limit  amount is: 10000
           Valid time period : 2 months
    This amount  should be valid for 2 monthsonly   now my doubt is where can we maintain validity period for that particular and customer , if he does't use it  , then amount get lapsed and new  amount will be maintained again
    Thanks and regards
    Venkat

    Hii Venkat,
    Credit check: Static check
    Indicates whether the system carries out a static credit check.
    Use u2013
    The customer's credit exposure may not exceed the established credit limit. The credit exposure is the total combined value of the following:
    Open sales documents, Open delivery documents, Open billing documents, Open items (accounts receivable).
    You can specify in the adjacent fields whether the system takes into account all open orders and all open deliveries.
    Note u2013
    The open order value is the value of the order items which have not yet been delivered.
    The open delivery value is the value of the delivery items which have yet been invoiced.
    The open invoice value is the value of the billing document items which have not yet been forwarded to accounting.
    The open items represent documents that have been forwarded to accounting but are not yet settled by the customer.
    Credit check: dynamic check
    Indicates that the system carries out a dynamic credit limit check within a specified credit horizon.
    Use u2013
    The customer's credit exposure is split into a static part - open items, open billing, and delivery values - and a dynamic part, the open order value. The open order value includes all not yet or only partially delivered orders. The value is calculated based on the shipping date and the credit horizon you specify in the adjacent field. For the purposes of evaluating credit, you want the system to ignore all open orders that are due for delivery after the horizon date. The sum of the static and dynamic parts of the check may not exceed the credit limit.
    Thanks and Regards,
    Santanu

  • Prevent Outbound delivery creation in sales orders with delivery block

    Hi gurus
         We are facing the following issue:
         Some sales orders have delivery block header and once they are saved an outbound delivery document is created; we want SAP system creates outbound deliveries only in those cases were sales orders have not a delivery block in header, is there any option or configuration we can use in order to prevent the creation of these documents?
    Regards,
    Edgar.

    Well Edgar,
    let's see then in spro
    Logistics Execution->Shipping->Deliveries->Define Reasons for Blocking in Shipping
    Check out the configuration of your delivery block reason and pay special attention to this instruction:
    "In sales documents, you can either enter delivery blocks manually at header level (business data in the sales document header) or they can be proposed automatically by the system. In the latter case, the delivery block must be entered in the respective sales document type (see chapter
    "Define sales document types"). In addition, the delivery block in the sales document header is only effective if the delivery block has been assigned to the respective delivery type."
    It must be something in the configuration of the delivery block reason you're using.
    Regards,
    Edgar

  • How to list Sales Order with credit block

    Hi, Gurus,
    I really don't know how to list sales orders with credit block?
    Is there any way for end user to do it?
    If so, is it possible to list SO with credit block for certain period of time such as one month?
    Any help would be appreciated.

    HI
    Check T-Code VKM2 (Released documents)
    You need to check VKM1 (Blocked Documents)
    Sorry before i gave wrong information , myself i corrected VKM2 for released not for blocked list (Due to non Availability of SAP access )
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 7, 2012 7:12 AM

  • Sales order should get block if XYZ payment terms is used

    Dear Expert,
    The requirement is like,
    If user add payment term XYZ  manually in salse order then that sales order should get block for review purpose.
    Note:
    if user add that payment term in sales order client want that order should block no matter what reason ,  here client not concern about credit limit and any outstanding from customer side ,
    Thanks in advance
    hanumant

    Hi,
    You need to block orders with payment terms XYZ, or only when user changes from ABC to XYZ??
    If first one is your requirment, you can do with userexit - USEREXIT_SAVE_DOCUMENT, and you need to create status profile for sales document type and assign to order type, in status profile put status AUTO - automatically approved, LOCK - when XYZ is payments terms it wil not and not create delivery & REJC- Rejected, when approver dont want to approve he can reject.
    In sales order userexit you need write logic when paytemnt terms is XYZ then put status as LOCK.
    New repor need to create to approve LOCKed orders so that user execute and approves or rejects.
    If only user change to XYZ, then you need to write logic in prepare userexit, but it will be tricy, need to store values in tempapory memory, ceck with abaper,

  • Check if the Sales Order is credit block.

    Hello Everyone,
    I have a requirement related to third party sales order and delivery. In the first system, a sales is created and then the PO gets created. Upon the creation of the PO a IDOC gets generated. The inbound IDOC in the other system triggers and a sales order gets created. The requirement is that if sales order in the first system is on credit block then automatically the sales order in the second system should go on delivery block.
    The solution that I have thought is that when the IDOC gets created after PO generation there itself add a flag to IDOC in case of credit block in sales order. BUT HOW TO CHECK CREDIT BLOCK of the SALES ORDER IN THE CUSTOMER EXIT?
    Any help is appreciable.

    Hi Rahul,
    Need some more clarification on why sales order is created in the second system, if it is a third party process ?
    are you creating delivery from the corresponding sales order of second system to replenish sales order of first system ?
    are you using standard IDOC type for creating Sales order from PO ?, if so check the Corresponding Function module which may have user exists
    check Function module : IDOC_OUTPUT_ORDRSP
    At first system, if the sales order is credit block you can restrict creation of PR-->PO in the first system itself, this is a standard Functionality
    This would be easier than looking for user and coding in IDOC function module
    try and revert
    thanks
    santosh

  • Sales Order Credit Status Block with Schedule Line ATP Confirmed Quantity

    I would like to keep the Credit Status Block on a Sales Order when it is created and over the credit limit and at the same time be able to Confirm the Order Quantity (if inventory is available) on the Schedule Line.  Has anyone done this?  I'm using ECC 5.0
    In the IMG --> Sales and Distribution --> Basis Functions --> Credit Management/Risk Management --> Credit Management --> Define Automatic Credit Control --> If I remove the Status/Block indicator the schedule line does confirm the sales order quantity but the sales order is not blocked and a delivery can be created.
    Thanks.
    Donna

    Hello Donna,
    I think I solved your problem.
    There are two ways to block the sales order - one is to not confirm the Schedule line i.e. block delivery... block further action that can be taken. The second is to not let the person save the sales order.
    Another option is to get Just a warning message, that the credit limit has been exceeded, but able to save the sales order with a confirmed schedule line.
    The setting will be in OVA8.
    For the Document Value you make the setting C or A. and make sure the block is not set.
    Don't worry about the Open order or open delivery unless you want the system to perform a credit check considering the orders that are already existent. Same with open delivery. It will take into account all the cost of the orders that are open for delivery.
    Now here some options:
    Either consider a 'warning' by the system good enough and still be able to confirm the schedule line.
    (ii) Put in a Delivery Block in the Sales Document Types, in the Shipping tab. That way, you will be able to save the sales doc. but not be able to deliver it.
    (iii) Put a Billing Block in the Sales Doc type, in the Billing tab. You will be able to deliver but not bill.
    (iv) Create a new routine (with the help of an ABAP guy) and place it in the auto credit check, 'Reaction' field where it will place a Delivery Block.
    Do let me know what your thoughts are and what you decided to do.
    Thanks
    Noel

  • Sales order stock to block stock - movement type?

    hi
    what is the movement type from sales order stock to block stock?
    thanks

    first a mvt 414 to move the stock from sales order stock to storage location, then a 344 to move it from unrestricted to blocked.

  • Sales order is being blocked for Credit due to Back order batch Jobs.

    Hi experts,
    While running Back order Batch jobs sytem is putting sales orders into credit block even though we releasing orders by VKM4. Our user is releasing orders but system is again putting back those orders in Credit block. Can anybody explain me what exactly Back orders does ? if Schedule line changes due to Back orders does system puts the order into Credit block ? please help me to solve this issue..
    Thanks
    Kesari sai
    Edited by: kesarisai ks on Sep 13, 2008 5:10 PM

    Hi,
    You don't need to use user exits for this purpose. What you need to do is to extend the validity of your credit checks in IMG.
    To do this, go to spro Sales and Distribution -> Basic Functions -> Credit Management and in config for automatic credit control, select the right risk category.
    In the config screen you will have a field called "no of days", here you define the validity of the credit release. For example if you it setup for 10 days, the system will pick up the release date and add 10 days for validity.
    If backorder batch runs within these 10 days, it will not re-block the documents. If however runs after the 10 days it will block them.
    Regards
    Silvia

  • Quotation to Sales order with QTY block

    Hi,
    I want, while creating Sales order from the quatation if the Qty in sales order is less than 25% of Qty in quatation. Order should not be able to process (Block) &  it will ask for creating another quotation.
    does it requrie baddi or  user exit & if yes which user exit should i use,
    Pls  reply.
    Thanks in adavance
    chetan

    Hi
    Prgram is SAPMV45A
    include MV45AFZZ
    You can find the description and use of these userexits in IMG-SD-System Modification-userexits- and select the required area. Click on the DOCUMENTATION icon.
    Thanks,
    Ravi

  • Prevent Third Party / Sales order stock for blocked vendors

    Hi Experts.
    We have scenarios for Third party processing and Sales order stock. We have a scenario of a fixed vendor for a material. The purchasing function frequently does block vendors for purchasing.
    However, we find that this does not prevent creation of a third party / sales order stock item in the sales order and a PR is generated. It is only found during the PR --> PO conversion that the vendor is blocked at which time someone has to manually reject the line items.
    Is there a way to prevent the system from being able to generate a PR for a blocked vendor ? I guess one possibility is to enhance the requirement routine for PR creation. Is there any other approach ?
    Appreciate your help
    Regards
    Rohit Zalani

    Hi
    In MK05, block vendor for all Purchasing org and Select Block Function = 03     Block quot. req., order, goods receipt
    If you do this setting then user will get error message that "Vendor is blocked" and "Purchase requisition could not be generated for component".

  • Sales order to be blocked based on customer payment terms and credit limit

    Hello Gurus,
    We have some requirement of credit management  : Client  want sales order to blocked based on payment terms  if customer doesn't pay  previous dues as per the payment terms mentioned customer master ,sales order ,  irrespective of customer credit limit credit
    (i.e Even in the case of credit limit is not exceded for that praticular customer)
    Looking for your inputs
    Thanks inadvance
    Regards
    Venkat

    Dear Venkata Chalapathi,
    Following is the logic for your requirement.
    If the check is on the basis of payment terms of pending billing documents alone, then
    check DYNAMIC with Reaction C/D and Status 'checked'
    Then maintain the same settings against OLDEST OPEN ITEM with Days oldestItem = 0
    Now, make a sales order and system will trigger the credit check message (assuming there are uncleared documents )
    Ask your abaper to find an Exit/Enhancement in this message spot and you can write a logic to check the
    billing documents in BSEG by fetching the document types with 'RV' (assuming we are considering only the billing documents)
    and in the VBRK get the billing date and we can get the payment term in vbrk-zterm and its corresponding date in T052-ZTAG1
    If the billing date + T052-ZTAG1 value is greater than SYSTEM date , then you have to trigger the credit check message in the sales order. Else allow the sales order.
    Check and revert back if there is any doubt/additional requirements.
    Thanks  & Regards,
    Hegal K Charles

  • Sales order - No Credit block - When credit limit = 0 & Exposure = 0

    Hello,
    I have a scenario where, i try to create a sales order for 1000 EUR. I have Credit management activated for the concerned BP. In the main segment, the limit defined is = 0 and credit exposure = 0.
    Now when I try to create a SO, it is not going for credit blocked. The 'Overall status of credit limit checks' directly getting to 'D' (=Approved) Status. Please help me to understand what went wrong. Any issue with Credit group or Risk category?
    BR,
    D'nesh

    I have Credit management activated for the concerned BP.
    Usually we assign the credit limit to Payer customer master.Please check once again.
    And please check all your required credit management settings once again.
    For example:
    1. Check whether credit group is assigned to the order type or not? (VOV8)
    2. Check whether credit active field is active or not in respective item category(VOV7)
    3. Check whether Subtotal field A is assigned or not in V/08 for the relevant pricing procedure
    4. Check whether you have assigned the Risk category is assigned or not in FD32 for the payer customer.
    thanks,
    Srinu.

  • Credit management: how to release all sales order after credit blocking

    Hi,
    Is there a way to release all sales orders that have been blocked (for credit limit or late open items) first and for which invoices have been then  paid.
    That can be done manually with transaction VKM1 but I would like to know if there is any way I could that for all my invoices in the same time and for all my customers?
    Thanks in advance for your help.
    Ronan

    Try using transaction code VKM4.
    Rgds,
    Nagaraj

Maybe you are looking for

  • IPod Nano 8G Not Turning On

    I have an iPod Nano 8G. I can't remember exactly what generation it is, but you can determine it from the information I will give throughout this post. Short information on the iPod. Name: iPod Capacity: n/a Software Version: 1.0.4 Serial Number: YM8

  • How does expert day work?

    how does this expert day work? 

  • I can't update OS5 on Ipad!

    I am trying to update IOS5 on my Ipad.. But every time I try to do so, it says "The Ipad software update server could not be contacted"... I am using Windows 7 and I have no idea how to fix this. I have tried using Apple Support, but that didn't work

  • Uploading excel

    HI all, I am trying to upload an excel sheet in jsp and read it in servlet.I am using apache commons file upload to upload and apache poi to read excel. This is my jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding=

  • Problemas con GoLIve

    Hola!! Alguien podría decirme porqué al seleccionar las propiedades de la página, al ponerle un color al fondo de la página, no lo muestra, no lo acepta. Esto me sucede en algunas máquinas y en otras no, trabajando el GoLive CS2