Sales order status (credit blocked) using APO tables

Hello All,
I need to check if a sales order has a credit blocked status using APO tables.
Which table and field can I use for this issue?
Thank you in advance.
Bests regards.
Januario Faria

When using the API, are you trying to create the order as booked using the booked flag or the book action?  I would recommend using the action if you are not. To troubleshoot, I would try the API without booking and then use the following article to determine the issue:
Unable To Setup A Credit Card Bank Account For The Customer. CC Information On The Order Is Not Valid (Doc ID 1450936.1)

Similar Messages

  • 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

  • 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

  • Do ordering your child block using other tables wihout using views

    Hi all,
    Just need to play with this : Query Data Source Name property for data block
    Benefit : you can do order by child block with other tables without using View
    I have used two tables in this property !!
    and it is working fine.
    e.g. Dept is master block
    and clild block is Emp nad combination with emp_category.
    so now I can order emp block by emp category.
    master block : dept
    Query datasource name : dept
    child block : emp
    Query datasource name : emp a , emp_category b
    From
    Chirag Patel

    Ok, I'd probably go with the two insert method, but as an alternative, here is a method of doing it in a single insert:
    create table emp_info as
    select 1 empno, 'a' empname, 101 deptid, 'aaa' deptname from dual union all
    select 2, 'b' empname, 201 deptid, 'bbb' deptname from dual union all
    select 3, 'c' empname, 101 deptid, 'aaa' deptname from dual union all
    select 4, 'd' empname, 101 deptid, 'aaa' deptname from dual union all
    select 5, 'e' empname, 301 deptid, 'ccc' deptname from dual;
    create table emp (empno number primary key, empname varchar2(3), deptid number);
    create table dept (deptid number primary key, deptname varchar2(3));
    insert all
      WHEN rn = 1 THEN
           into dept (deptid, deptname)
           values (deptid, deptname)
      WHEN rn > 0 THEN
           into emp (empno, empname, deptid)
           values (empno, empname, deptid)
    select empno, empname, deptid, deptname, rn
    from   (select empno,
                   empname,
                   deptid,
                   deptname,
                   row_number() over (partition by deptid order by empno) rn
            from   emp_info);
      8 rows inserted
    commit;
    select * from emp;
         EMPNO EMP     DEPTID
             1 a          101
             3 c          101
             4 d          101
             2 b          201
             5 e          301
    select * from dept;
        DEPTID DEP
           101 aaa
           201 bbb
           301 cccYou should test both methods to see which one is more performant.

  • 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.

  • Creating Sales Order with credit card using Process Order API

    Hi All,
    When trying to create sales order with payment type as Credit card using Order data storing into staging tables and then calling Order Import Concurrent Program. The order is being created in ENTERED state.
    While trying to passing the same details to Process Order API to create Sales Order, we are getting following error:
    Unable to set up a Credit Card Bank Account for the Customer.
    Credit Card information on the order is not valid.
    Why getting this error while using Process Order API.
    Regards,
    KANN.

    When using the API, are you trying to create the order as booked using the booked flag or the book action?  I would recommend using the action if you are not. To troubleshoot, I would try the API without booking and then use the following article to determine the issue:
    Unable To Setup A Credit Card Bank Account For The Customer. CC Information On The Order Is Not Valid (Doc ID 1450936.1)

  • 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

  • Duplicate production order due to sales order on credit block

    Dear Experts !
    Need feedback on the following scenario:
    - Sales order is entered for material which is produced in-house specific to the sales order (ie customer's logo is on product).
    - Schedule line in sales order creates a production order specific to the sales order.
    - Customer runs into credit check a few days later and consequently the schedule line in the sales order is removed due to credit block, however the linked production order still remains and is produced by factory.
    - Sales order is released from credit check and a new schedule line is created resulting in another production order being released.
    Any ideas on how to prevent duplication of production order?
    Thanks in advance!
       -Alvin

    Hello,
    Apologies for the confusion, let me explain it a bit more.
    - Sales order is entered for material with planning strategy group of make-to-order, the schedule line initiates new production order for make-to-order material.
    - A few days later - the customer goes over credit limit or has overdue invoices, etc..
    - During background rescheduling (or any sales order change) the sales order gets a credit block due to static check.
    - Sales order block deleted schedule line in sales order, however the production order remains active.
    - Once the sales order is released from credit block, a new schedule line is created which initiates a new production order.
    - Duplicate production order is now being made in shop floor.
    I hope the above explains my scnario a little clearer.
    Thanks and regards,
    Alvin

  • Release sales order credit block using VA02

    Dear experts,
    By any chance can we release the sales order from credit block using VA02 instead of VKM3?
    I could see an example wherein the change log shows that the Overall Credit Status has been changed to Approved using VA02.
    Could you please assist me with all the available methods of releasing the sales order from credit block.
    KR,
    Tawsif Chogle

    Hi Tawsif,
    I dont thing that is possible, once you released the order from VKM3, it suppose to show VKM3.
    But if you say that your order shows in VA02 for credit release then might be somebody change the price in order, so the order price comes lower the credit limit and order got released.
    Hope it helps.
    Regards,
    MT

  • 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

  • Report for released orders from credit block

    Dear Friends,
    Can you tell me any report which can give us the list of released sales orders from credit block with user ID (who released) and date (when released).  If no standard report is availble then please give me the table where this data gets stored, so that I can create a query.
    Thanks in Advance,
    Sreehari.

    Dear Krishnan,
    Thank you very much for your immediate response...................
    With VBUK-CMGST (D) we can get the list of orders which were released from credit block, but I require the ID and Date (who released and when relaesed).
    I hope my requirement is clear.
    Thanks & Regards,
    Sreehari.

  • 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 Header Credit status showing as Approved

    Hi all,
    My User created a Sales order with 200 tones with around 5700 USD but while saving it did not block sales order for credit but the customer was over their credit limit.in FD32 it already exceed 152 % Further orders have blocked with other customer is was blocking
    i check in FD32 it showing Cred.limited used 152%
    and the sales order header status showing as - Approved
    when the sales order status shows as approved
    can any one guide me what could be problem
    Thanks
    Rajesh

    Hi
    CHeck with the order, see who has changed it
    salesorder- goto - environment- click changes and check it for that.
    Check on - how it is released
    who has changed
    take the log and time
    if all the congi
    config
    fine...then check the change log
    or go to table CDHDR
    Revert if you have further queries.

  • 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,

  • I Need Sales Order Status Reports using ALV

    Hi I Need Sales Order Status Reports using ALV.

    HI!
    For alv use REUSE_ALV_GRID_DSPLAY function module.
    For the given report fetch data from the tables:
    VBAK - sales order header
    VBAP - sales order details
    VBUK - sales order header status
    VBUP - sales order items status
    Regards
    Tamá

Maybe you are looking for

  • Smb to mount a folder on a windows SAN with spaces in name

    i am trying to write a smb mount statement , but the 3rd nested folder has a space in it. what is the syntax to go directly to those folder contents. ex. smb://server/share$/folder with a space/another folder should get me directly to the contents wi

  • Confused Which External Hard Drive?

    I'm a new to mac, I just brought a new imac with a Time Capsule and looking at adding a WD external drive. Looking at two version of WD hard drives: http://www.amazon.co.uk/gp/product/B00APSQCVS/ref=s9_simh_gw_p147_d0_i1?pf_rd_m= A3P5ROKL5A1OLE&pf_rd

  • Recording crackle with Line6 POD HD

    Running iMAC (late 2009) with 16 gig, USB interface with a line6 pod hd. OSX is Mountain Lion. Up to date on all latest drivers and maintenance. Consistently getting crackle(s) when recording using Logic Pro.  Any guidenced to troubleshoot or fix wou

  • Font downloaded to the Library in MAC cannot be found in my Illustrator CS5 fonts. PLease HELP!

    I have added my fonts to the library in mac MAC. That was easy, but the funny or not so funny thing is, I cant find them in Illustrator. Thanks in advance

  • RE // MS Internet Explore issue

    Try this in Internet Explorer: >> English Menu Tools / Internet Option / Security / Thrusts sites / Sites ... / Add ... Add in box: http://sdc.shockwave.com http://sdc.flashplayer.com http://www.adobe.com/shockwave/download/triggerpages_mmcom/default