About data for blocked sales order

hi friends,
i have one requirement . i.e i want to create the BLOCKED SALES ORDER , whate are the fields require for the creation.
if there is any BAPI for this please tell me.
help me
naresh

Hello Naresh.
You can Show your blocked Sales order Using table MVKE(Sales Data for Material) and TVMS(Materials: Status in Sales and Distribution).
Logic is :1. Check Field MVKE-VMSTA.
             2. find corresponding entries of  MVKE-VMSTA in Table TVMS.
                 by matching  MVKE-VMSTA = TVMS-VMSTA.
             3. For Above same Entries see the Blocked check in Field TVMS-SPVBC.
                IF  TVMS-SPVBC = 'B' means this sales order is blocked.
and check all matnr of MVKE according to this logic.
In case any Problem,you can let me know so that i can help you in better ways.
Have a Nice Day,
Regards,
Sujeet.

Similar Messages

  • Table names for blocked sales order item in GTS system

    Hi all.
    I want to get the blocked sales order line item, reason for blocking, product number & product description from GTS system, based on the sales order number from ECC system.
    I am thinking to create and RFC FM in GTS system and call that in ECC.
    Could you please tell me the table name in GTS system where I can see above mentioned data?
    Regards,
    Prajwala K.

    Hi Manish,
    Thanks for the valuable reply
    I have checked the table which you have mentioned in your earlier replay, am not able to see product number, reason for blocking  etc.
    My requirement is to create a trade report in ECC. I will be fetching data like sales order, ship to party, sold to party from system ECC using VBAK, VBAP & related tables.
    Now I have to get that blocked sales order line item, reason for blocking, product number & product description from GTS system.  My idea is to pass the sales order number from ECC to GTS using RFC and get the data.
    Issue is am not sure about the tables, I want know which tables contains the data from blocked sales order in GTS system and how to connect those tables.
    Regards,
    Prajwala

  • Release log for blocked sales order as credit limit

    Hi gurus,
    Any body kindly explain for me about how can I look over Release log for credit limit block sales order, Transaction code or report?
    thanks.

    Hi,
    u r trying all these in IDES system or in real time system.
    if u r trying to release it in IDES system then go to VKM2 & do the changes.
    in real time system only a authorized person can release the block by  using the same T.code vkm2.
    hope it helps u
    regards
    dibya

  • Standard report for BLOCKED SALES ORDERS

    Hey friends,
              Do any one of you know whether there is any standard report that shows the Blocked sales orders..??
    thanks in advance,
    Regards,
    Anvita.

    anvitha,
    You have the following transaction available in SAP for showing the sales documents blocked due to different reasons.
    V.14  Sales Orders Blocked for Delivery  
    V23   Sales Documents Blocked for Billing
    VA14L Sales Documents Blocked for Delivery
    VE31  Blocked SD Documents (Export related)               
    VKM1  Blocked SD Documents (Credit Blocked)               
    Check which one will satisfy your requirement.
    Thanks
    Giridhar

  • Bapi For Blocked sales orders & Bapi for Releasing those orders

    Hi All,
        Can anybody help me regarding <b>Bapi</b> for getting <b>Blocked sales orders</b> and bapi for <b>releasing</b> those sales orders..
    Any help will be rewarded...
    Thanks..
    Regards,
    Srinivas.

    Use bapi:
    BAPI_SALESORDER_GETLIST to get the list of all sales orders based on Parameters
    CUSTOMER_NUMBER
    SALES_ORGANIZATION
    MATERIAL
    DOCUMENT_DATE
    DOCUMENT_DATE_TO
    PURCHASE_ORDER
    Then,
    loop at the internal table
    and use the bapi BAPI_SALESORDER_GETSTATUS to get the status of each sales order.
    choose only which are blocked.
    Regards,
    ravi

  • Extracting material classification data for given sales order

    Hi Experts,
    Requirement is I Need to display a report with material and its characteristics values for given sales order. Please let me know if there is any FM/standard tables involved to display the below fields.
    Sales order number, Sales order line item number , Material number , Characteristic Name(ATNAM),Characteristic description(ATBEZ),Characteristic Value(ATWRT),Characteristic value description(ATWTB).
    Thanks & Regards,
    Pavee.
    Moderator message: "spec dumping", please work yourself first on your requirement.
    Edited by: Thomas Zloch on Oct 14, 2011 1:30 PM

    Hi Keshav,
    Thanks for spending your precious time in replying to my thread.
    I did a search before posting, I got an FM which is we cannot use due to performance issue.
    Thanks for letting me know that sales order  has material and material has characteristics,
    But For each characteristics that material has we will have several values, you will be selecting whichever is appropriate based on the requirement.
    If you know the answer pleases post. I have enough patience to wait for answers from other experts.
    Thanks
    Pavee.

  • Report For Blocked Sales Orders

    hi,
    i need some help to print blocked salesorders.........

    You have the following transaction available in SAP :
    V.14 Sales Orders Blocked for Delivery
    V23 Sales Documents Blocked for Billing
    VA14L Sales Documents Blocked for Delivery
    VE31 Blocked SD Documents (Export related)
    VKM1 Blocked SD Documents (Credit Blocked)
    cheers
    Aveek

  • Workflow for blocked sales orders

    HI all,
    I have a requirement in sales in service order .
    when a credit check is done for a customer ,sales order will get blocked  and
    in the service order for the corresponding sales order will get a status with Not OK. To release the block on this we need to manualy change the status in VKM3 and subsequently in service order (IW32).
    My requirement is to do automatic change in the service order status when ever we do release the flag in VKM3.
    I think with work flow we can achieve this.
    Any standard functionality is supported using workflow for this requirement?
    Please help me how to proceed.
    Thank you all..

    Hi Ravi,
    Yes this is possible using workflow!
    I just simulated your scenario and there are no events when you release the sales order but the other good news is that there is a change doucment that is written. The field CMGST in the table VBUK gets updated with the value D which is "released by credit representative". Using this you can configure your own event.
    However to do this following are the steps you would have to follow:
    1. Copy the business object BUS2032 to ZBUS2032 through transaction SWO1.
    2. Add an event called as "Released" to this.
    3. Generate this new copied version of the BO
    4. Delegate the copied Business Object to BUS2032. You can do this in the initial screen of SWO1 by going to the menu "Settings->Delegate". This is the inverse of inheritance through which you will be adding the properties of the subtype(ZBUS2032) to the main type(BUS2032) at runtime
    5. Use transaction SWED and SWEC to configure your own event and raise it when the change document is written. Do remember that you will have to put an entry in the "Field restrictions" table in the transaction SWEC to trigger your own event when the Sales Order is released.
    6. In transaction SWEC you can put in the change document object as "VERKBELEG" derived from CDHDR table. The business object as BUS2032 and the new event you created in the subtype. Since you have delegated the same it will be available for use for the main type.
    7. In the field restrictions put in the table as VBUK and the field CMGST and the old value is * and the new value as D.
    8. Once you do this the event will be raised once you release the sales order.
    9. You can check the same through the event trace SWEL(Remember to swtich on the event trace through SWELS if it is off)
    10. Now you will have to write a function module to change the status of the service order using the OBJNR of the service order and table JEST or use the standard function module STATUS_CHANGE_EXTERN. <b><b>Please remember that you can change a User status because system statuses are changed by the system. However you can change the system status by updating the table but I guess that is not like how the system changes it. When the system itself changes the status then there might be certain follow on documents that are created.</b></b>
    12. Now you will have to encaspulate this FM in a method of the business object.
    13. You will have to use the ZBUS2032 to add your own method which calls this function module. Hope you have the reference to the service order from the sales order.
    14. Now have a task or a workflow which has a single step which inturn calls this method and trigger the workflow or the task using the event.
    That might solve the problem you have
    Best regards,
    Sudhi

  • GTS Stop delivery creation for blocked sales orders

    We implemented Note 579357 to stop the creation of deliveries when sales orders are blocked and everything works correctly except for rush orders (order type SO).
    After the note was applied, deliveries are not automatically created for rush orders even though the orders have gone thru screening in GTS and have been released.  Any solution to this problem???

    Dear GTS experts,
    I'm facing exactly the same problem with rush orders that Sammy Chan describes in his original post.
    I checked all replies but I have still no idea to solve this issue. The problem is that when creating the delivery during a rush order creation at the time the system reaches the copy condition with the implemented coding there is no order number available to check against in GTS.
    As the whole thread is marked as answered I hope someone can help me.
    Best regards,
    Ulrich

  • Who to get Actual Shipment Date for the Sales Order

    Dear All,
         How to Get Actual Shipment Date for the given sales order.
    REgards
    sudheer

    Hai,
    If you want the actual shipment date of an order call the function module RV_ORDER_FLOW_INFORMATION and pass the order number as vbeln in the structure COMWA.select the values from the return table which corresponds to 'J' type which are delivery and get thedate.
    THis will give the actual delivery date (if created).
    Oher way is to look for vbeln in table LIPS using VGBEL = order number as the selection criteria.
    Cheers,
    Sandeep

  • Get OTF data for a sales order document

    I have a problem in getting the information of the created sales order document number  as OTF data. I need this OTF data so to convert into PDF format using function module 'CONVERT_OTF_2_PDF'. My situation is i am keeping a parameter for sales order document number . when i execute the report after giving a sales order document number, i should get the OTF data .

    Hi!
    Firstly you have to define what technique is used for creation of sales order as printed document - smartform or sapscript. Then proceed as follows.
    In case of smartform:
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZFORMNAME'
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    i_otf[] = w_return-otfdata[].
    In case of sapscript:
      options-tdgetotf = 'X'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    options = options
      CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
       TABLES
         otfdata                        = i_otf
       EXCEPTIONS
         unopened                       = 1
         bad_pageformat_for_print       = 2
         send_error                     = 3
         spool_error                    = 4
         OTHERS                         = 5.
    i_otf -
    Regards,
    Maxim.

  • Release reason for blocked sales orders (VKM1 & 3)

    We have a business requirement for a mandatory reason when sales orders are released in credit management in the same way that rejected orders have a reason code linked to them.
    Has anybody else done anything similar?

    We have a business requirement for a mandatory reason when sales orders are released in credit management in the same way that rejected orders have a reason code linked to them.
    Has anybody else done anything similar?

  • Block description data in Blocked sales order

    Hi!
      Can any one tell me the blocked description data i.e. the tables that hold the blocked FAFSK field description.
    Thanks
    Imran.

    Hi
    It is the FAKSP field for block
    See the tables <b>TVFS and TVFST</b>
    following are the different reasons for blocking
    01    Calculation missing
    02    Compl Confirm Missng
    03    Prices incomplete
    04    Check terms of paymt
    05    Check delivery terms
    08    Check credit memo
    09    Check debit memo
    41    not yet completed
    42    no price agreement
    43    new price as of....
    50    Authorisation Req
    51    Rejected
    Reward points if useful
    Regards
    Anji

  • How to block Sales order for any overdue balance.

    There is a need to change SAP setting for blocked Sales Order for due balance. Current SAP setting : block is valid only for "over due
    more than 30 days".
    The requirement is to block order based on any overdue amount say For example : if we have due balance for 1 day, than system should block the SO.
    In current credit management settings applied, there is Static check ( C ) and Oldest open item (C ) with Days oldest item =30 days. Kindly suggest as what changes should be made to reflect the desired changes. Also , help in confirming the thought that Static check itself considers the OPEN ITEMS, so if i am activating static check and REMOVES THE OLDEST OPEN ITEm, will it take any overdue amount automatically and block subsequently. To add to it kindly explain, what is the use of this additional check of Oldest Open Item ( with days = X days ) for creit mngt. can't we maintain it by Static check.
    Kindly guide as what to change in OVA8 to have this. All feeedbacks are highly appreciated.

    The user want to  block SO for 2 types below. System must block SO if the credit limit is exceeded and/or the payment is overdue
    Currently Two credit checks in OVA8
    1- Static check
    2- Payment Overdue check by Oldest Open Item ( 30 Days limit is set)
    But, now for SO block due to payment overdue need to be changed from 30 days overdue to any day overdue.
    How to acheive the above , Also kindly confirm that Static check contains OPEN ITEMS so Won't static check only carry the functionality to block SO for ANY DAY OVERDUE.
    Any feedback is highly appreciable.

  • Is it posible to find out the billing date of any sales order..?

    Hi all,
    Is it posible to find out the billing date of any sales order..?
    If it is posible tell  me how to do.
    Thanks

    Hi ,
    Can you explain more on this.
    I think you want to know billing date for the sales order. Here the billing is already done.
    If so , go to vbfa table and then give the sales order number in VBELV field. You will get many records. But VBTYP_N give as M ( Invoice ) and find out the document number and then pass it in billing table VBRK and get the date of creation.
    If it is like proposed date while creating the sales order ,
    then i am not sure about it.
    Regards,
    Venkatesh

Maybe you are looking for

  • Multiple consumers for AQ-Adpater

    Hi, I want to use a generic queue that will be used by multiple BPEL process. Is there was to specify the channel rule OR AQ-adapter rule so that a content based routing can be done to specific BPEL processes. What are the different options that Adap

  • Email Notification issue

    Hi, Just wondering if someone could help with the email configuration in Planning? All the fields/properties have been populated (SMTP server details / email address) and these have been tested using telnet at the command line. However, when I expect

  • How much space does a blob use?

    How much space does a BLOB use? Does it use allocated anyspace if its empty?

  • Cannot get to store authorize computer

    When I click Itunes>store> after that there is no menu items for store>authorize this computer anywhere. Help! The only menu on the top is: Home>Music>Movies>TV>app store>books>podcasts>ItunesU.and Ping. If I click anywhere that says store, like on t

  • Interval Literal in PLSQL Parameter

    Are there special requirements with Interval Literal in PLSQL? I have a procedure accepting interval parameters: SQL> CREATE OR REPLACE PROCEDURE inttest( p_int INTERVAL DAY TO SECOND) 2 IS 3 v_ts TIMESTAMP; 4 5 BEGIN 6 v_ts:=SYSTIMESTAMP+p_int; 7 DB