RFC/BAPI For Sales Order Credit Block Release like vkm3 (very urgent )!!

hi experts,
I need the RFC/BAPI For Sales Order Credit Block Release like vkm3 function ,please help
thanks
Godspeed

hi
can get the list of all the bapis..
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Reward if USeful
Thanx & regards.
Naren..

Similar Messages

  • To release the sales order credit block by Customer Group

    Hi,
    1. I want to release the sales order credit block based on the Customer Group.
    Normally we release the credit block using the t.code VKM3.
    2. When i am maintaining the credit using the FD32, under the status screen of Credit control area Tab, the field "Credit Horizon Date", when i am creating the credit limit on 17/05/08, the system will take this field by default ie 16/07/08. I have maintained as 12 months in horizon ie OVA8.
    If any one could let me know, how the system is taking this date.
    Regards
    Ravishankar M

    Hi Ravi
    Sap default horizon time is 2 month,thats why systym is taking  two months time,so if you want to change this as 12 month you can go to
    OMO1 and select S66 then change it as month you want.
    Reward if it helps you
    thanks
    Utpal

  • BAPI for Sales Orders items

    I'm looking for BAPI, which returns all items for sales order.
    Returned items must have included all information, which we can see in transaction va02 on card Item Overview
    I'll reward with points for good BAPI.
    BR Tomek

    In the i_bapi_view structure, populate which tables you would like to have returned by using a value of X.
    Use the sales documents table to pass which documents you want information on.
    So if you wanted item details:
    i_bapi_view-item       = 'X'.
    sales_documents-vbeln = '0000012345'.
    append sales_documents.
          call function 'BAPISDORDER_GETDETAILEDLIST'
               exporting
                    i_bapi_view         = i_bapi_view
               tables
                    sales_documents     = sales_documents
                    order_items_out     = order_items_out.

  • Regarding bapis for sales order creation and modification

    Hi,
    I am trying to create a syncbo for sales order creation, modification and display. The bapis that I am using are
    1.BAPI_SALESORDER_GETLIST
    2.BAPISDORDER_GETDETAILEDLIST
    3.BAPI_SALESORDER_CREATEFROMDATA1
    4. BAPI_SALESORDER_CHANGE
    Am I using the correct bapis. When I tried to create a syncbo it gave the following errors
    BAPISDORDER_GETDETAILEDLIST does not have RETURN parameter in export or tables parameter
    RETURN parameter in Create BAPI Wrapper should refer to structure BAPIRET2
    RETURN parameter in GetList BAPI Wrapper should refer to structure BAPIRET2
    GetDetail BAPI Wrapper does not have RETURN parameter in export or tables parameter
    No Export parameter referring to header structure exists in GetDetail BAPI Wrapper
    No Import parameter referring to header structure exists in Create BAPI Wrapper
    No Import parameter referring to header structure exists in Modify BAPI Wrapper
    No Import parameter referring to a field of header structure exists in GetDetail BAPI Wrapper
    No Export parameter referring to a field of header structure exists in Create BAPI Wrapper
    No Tables parameter referring to item structure exists in Create BAPI Wrapper
    No Tables parameter referring to item structure exists in Modify BAPI Wrapper
    I am informed that the above bapis are standard bapis.
    I am not sure as to why I am getting the errors.
    Does the syncbo require the  bapi's to be in a specific format.
    What would be the header and item structures for sales order bapis
    Regards
    Raja Sekhar

    Hi Raja,
      ya , for creating Sync BOs ,our BAPI wrappers must satisfy certain conditions..
    just go through this link.
    u can use the standard BAPIs of SALES Order in ur Custom BAPI Wrapper
      http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_bapi_wrapper.html
    the RETURN must be of type BAPIRET2..
                    Regards
                    Kishor Gopinathan

  • BAPI for Sales Order & Production Order

    Hi Experts,
    1)i need to Identify standard  BAPI's for Sales Order & Production Order.ie for one BAPI need both sales order and production order.
    2)i need to Identify standard BAPI to return delivery number and shipment number for a particular Sale Order. If any one give me answer thanks for advance. it's really helpful for my project.
    thanks and regards,
    bala.

    Hi Bala
    Kindly do not open duplicate threads for the same topic. Help to close one thread and continue with the other to avoid confusion.
    Kind Regards
    Eswar

  • Condition for sales order delivery block

    Hi All,
    I am new to Workflow,
    I have created work flow  for Sales order changes, its works fine.
    but my requirement is after that it will check whether sales is block for delivery or not.
    if it is block then only it should send mail.
    Regards,
    Arpit

    Hi Arpit,
    1. Go to t-code SWO1.
    2. Click Settings -> Delegate.
    3. Delegate the BO YBUS2032 to the BO BUS2032.
    In workflow perform the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name BUS2032 (not YBUS2032), in Event of object enter the BO event.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Use the attribute that you created and make the start condition. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    Hope this helps!
    Regards,
    Saumya

  • Output fax not getting triggered when sales order credit block is released

    Hi Experts,
    I am working on an issue.
    I have one sales Order which has credit block.
    when we release the credit block via vkm3, then the output fax gets triggered.
    I have another sales order which has credit block,
    when we release the credit blcok via vkm3 , the output fax is NOT getting triggered.
    If any of you has worked on this setting, request your input on where to find the settings/coding for the same.
    Any advice on this please.
    Regs,
    SuryaD.
    Edited by: SuryaD on Oct 21, 2010 9:34 PM

    Hi Brad,
    Thanks for your response.
    Order 1: Issues output fax(ZFAX) correctly when block is released.(i see output zfax in te output screen)
    Order 2: Fails to issue output fax(ZFAX) even when the block is released.( i dont see any output in the output screen)
    I went to Go to -Determine analysis for both orders 1 and order 2.
    in both the analysis i am able to see the output ZFAX.
    *Analysis Output*
    *Order 1                                                                    Order 2*
    1. ZFAX                                                                   1.   ZFAX
        10(Z010)                                                                 10(Z010)
           0000122426                                                              0000122427
    2.  ZFAX                                                                   2.   ZFAX
    When i click, D.Click on the output type ZFAX on both the order Analysis output screen, i see similarities.
    There in just 2 differences as below.
    In the above screen,
    1.Order 1 ==> has some value 0000122426
    2.For Order 1==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    Diagnosis
    Output ZFAX has already been issued. Multiple issue for this output type is forbidden in Customizing.
    In the above screen
    1.Order 2 ==> has some value 0000122427
    2.For Order 2==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    No more information is available.
    Please guide as to how to initiate the debug for output processing ?
    Which screen where to switch on debugger.
    where to look further?
    Regards,
    SuryaD.
    Edited by: SuryaD on Oct 22, 2010 11:41 AM

  • 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

  • Blocked sales order is not released from VKM3

    Hi
    We are using credit management and when a sales order is created with the amount, which is more than credit limit, system is blocking the sales order for delivery. Values are getting updated in FD32 and S066 and S067. When i tried to release the sales order from VKM3, sales order was displayed, but when i selected the release flag and saved it, still the order is not released. Order is having credit limit block in sales order in shipping tab at header level. Why system is not releasing the sales order even it is displayed in VKM3
    Please respond
    Regards
    Srinivas

    hi,
    check the following steps of assignment you did right or not
    1)first check in  t- code FD32 U  assigned authorization person & each credit limit U shud assign
    an authorization person along with credit limit
    2) check - conditon records with KRML output is there or not
    please read standard SAP config help as a check point doc.....[Credit mgmt|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDBFCM/SDBFCM.pdf]
    let me know if it is soling your issue
    Regards,
    Rajeev

  • Sale Order Credit Block due to open credit memo

    Dear All,
    System is blocking sale order for open items(credit). And the only open item is credit memo.
    Can we avoid credit note to be considered as open item?
    Thanks
    Arun

    Dear Arun,
    Do not think this is possible in standard.
    I would suggest the following way.
    Currently system is giving a message during sales order creation . right?
    Ask your abaper to find an EXIT before that point.
    There write a code to exclude CREDIT MEMO document types from BSEG of the customer code.
    It is possible as i have worked in similar requirement.
    Check and revert back.
    Thanks & Regards,
    Hegal K Charles

  • USER-EXIT - sales order, credit block

    Moderator message: moved to correct forum.  In future please use meaningful subject.
    my requiremnet is, Delivery for an sales order should be created even if it is a credit block i.e even the credit check is unsuccessful the order should be deliverd when we deliver the order from salesdocument->deliver.
    i need a user-exit for this to put this check.
    can ne one help me.
    regards,
    pavan,

    Hi,
    According to Std SAP if in case credit mgmt is activated system will check for credit limit for that customer before delivery.You will be trying to change the std scenario which is not advisable.
    However,
    Try user exit MV45AFZZ & in that
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    Also check other exits related to delivery & credit mgmt from
    SPRO->Sales & Distr-> System Modifications->User Exits
    and check out the documentation part next to each exit in that category.
    Regards,
    Amit

  • Sales order credit block - No credit master data maintain

    Hi ,
    I have a sales order blocked for credit check. But i have not maintain any credit master data for this customer. Customer and payer is same.
    I want to know why credit check is carried out for this customer and what basis system carry out credit check ?
    Pl respond.
    Nitin

    Nitin
    Hope this piece of info could help you in reaching out to come conclusion, in case where you don't carry out any explicit credit check, still system does so...
    Changes Made to Critical Fields
    The credit check is triggered by changes made in the document to values in any of the credit-sensitive fields. According to your Customizing settings, the system runs a check credit between changes or differences in the sales order data against the default values in the customer master record. Examples of such fields are terms of payment and fixed value dates.
    Kalpesh

  • Sales Order Credit Block stopping Projects to get created

    Hi All,
    We have a specific scenario as follows :
    1.Whenever we create a Sales order, Project System will create Project in background. There is one to one correspondence between a Sales Order and Project System.
    2.We are able to restrict the automatic creation of Projects by putting a customized Delivery Block. We have observed that if we have a Delivery Block in the Sales Order which does not allow Confirmation, the project does not get created. ( Delivery Block config -->Block Confirmation)
    Now , what we are observing is if there is a credit block on the Sales Order, it is also not allowing Project to be created automatically. Only when we release the Credit Block, then it is allowing Project to get created.
    Can anybody put some light on how the Credit Block is stopping Projects. Where are the settings, if any ? Could anybody suggest a workaround ?
    Thanks in advance.

    When a sales order is credit blocked, an assigned project is deleted.
    When you release the sales order, the project is new created.
    This new creation of a project during credit release happens in a
    background processing. Therefore it is not possible to send a popup.
    That means the project can not be created in background, if there
    is a mandatory field which has to be filled by a user.
    This is described also in the notes 583707 and 396791. This is
    standard system behaviour.
    The solution is,
    1. Either we have to make sure, that there does not
    come a popup during project creation.
    2.Onother solution idea might be, not to delete the project in case
    of credit block.
    I just wanted to find out from my fellow practitioners if they have come across such a scenario and have worked on any of the solutions mentioned above.
    Thanks in anticipation.

  • BAPI for sales order create

    My query is
    In BAPI_SALESORDER_CREATEFROMDAT2, when pricing condition types have been passed in ORDER_CONDITIONS_IN  tables, after creation of sales order, double conditions types occurred in sales order.
    How to remove that duplicacy ?
    Suggestion is that
    1st set of condition types occurring based on config
    2nd set of conditions types coming from FM.
    How to ignore 1st of data?

    hi
    Hi,
    Go through this one
    *& Report ZSD_j_SALESORDER
    report zsd_j_salesorder1 line-size 132 message-id zmmbapi .
    *& Created By : janani
    *& Created on : 13.10.2007
    *& Requested By : vardhman
    *& Description of program :
    Internal table definition *
    data: gt_order_header_in like bapisdhead occurs 0 with header line,
    gt_return like bapireturn1 occurs 0 with header line, " Return Messages
    gt_order_items_in like bapiitemin occurs 0 with header line, " Item Data
    gt_salesdocument like bapivbeln-vbeln , "Number of Generated Document
    gt_order_partners like bapiparnr occurs 0 with header line, "Document Partner
    gt_return1 like bapiret2 occurs 0 with header line.
    Data definition *
    types: begin of ty_gt_ft_sales ,
    partn_numb(10) type n ,"Customer Number 1
    partn_role(2) ,"Partner function
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    material(18), "MATERIAL
    targetquantity(020),"Target quantity
    reqqty(020), "Req quantity
    reqdate(010), "req date
    *REQ_DATE_H(010),
    ref_1(012), "Ref
    unload_pt(025),
    *PARTN_ROLE(2) ,"Partner function
    *PARTN_NUMB(10) ,"Customer Number 1
    end of ty_gt_ft_sales,
    begin of ty_header ,
    partn_numb(10) ,"Customer Number 1
    partn_role(2) ,"Partner function
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    unload_pt(025),
    req_date_h(010),
    end of ty_header,
    begin of ty_item,
    material(18), "MATERIAL
    targetquantity(020),"Target quantity
    reqqty(020), "Req quantity
    reqdate(010), "req date
    ref_1(012), "Ref
    *UNLOAD(025),
    end of ty_item.
    data : msg(240) type c, " Return Message
    e_rec(8) type c, " Error Records Counter
    rec_no(8) type c, " Records Number Indicator
    s_rec(8) type c, " Successful Records Counter
    t_rec(8) type c, " Total Records Counter
    v_matnr like mara-matnr,
    v_parvw type parvw.
    data : gt_ft_sales type standard table of ty_gt_ft_sales with header line.
    data : wa_gt_ft_sales type ty_gt_ft_sales,
    wa_order_items_in like gt_order_items_in,
    wa_gt_ft_sales1 type ty_gt_ft_sales,
    wa_header type ty_header,
    salesdocument like bapivbeln-vbeln.
    selection block for EXCEL UPLOAD FILE
    selection-screen begin of block b1 with frame title text-000.
    parameters file type ibipparms-path obligatory.
    selection-screen end of block b1.
    *<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
    at selection-screen on value-request for file .
    perform getname.
    form getname.
    call function 'F4_FILENAME'
    exporting
    program_name = syst-cprog
    dynpro_number = syst-dynnr
    importing
    file_name = file.
    endform.
    *TOP-OF-PAGE.
    top-of-page.
    skip 3.
    format color col_heading inverse on.
    write 40 text-001.
    format color col_heading inverse off.
    skip 1.
    format color col_negative inverse on.
    write :/ text-002, 13 sy-mandt , 104 text-003, 121 sy-uname,
    / text-004, 13 sy-datum , 104 text-005, 121 sy-uzeit.
    format color col_negative inverse off.
    skip 3.
    *START-OF-SELECTION.
    start-of-selection.
    perform get_data.
    perform bapi.
    *end-of-page.
    perform result.
    form result.
    t_rec = e_rec + s_rec.
    skip 3.
    format color col_total inverse on.
    write: /38 text-007, t_rec.
    format color col_total inverse off.
    format color col_negative inverse on.
    write: /38 text-008, e_rec.
    format color col_negative inverse off.
    format color col_total inverse on.
    write: /38 text-009, s_rec.
    format color col_total inverse off.
    endform.
    *& Form get_data
    text
    --> p1 text
    <-- p2 text
    form get_data .
    call function 'WS_UPLOAD' "#EC *
    exporting
    filename = file
    filetype = 'DAT'
    tables
    data_tab = gt_ft_sales
    exceptions
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    no_authority = 10
    others = 11.
    if sy-subrc 0 .
    message e000.
    endif.
    endform. " get_data
    *& Form BAPI
    form bapi .
    loop at gt_ft_sales into wa_gt_ft_sales.
    wa_gt_ft_sales1 = wa_gt_ft_sales.
    at new partn_numb.
    wa_header-doc_type = wa_gt_ft_sales1-doc_type..
    wa_header-sales_org = wa_gt_ft_sales1-sales_org . "'0001'
    wa_header-distr_chan = wa_gt_ft_sales1-distr_chan. "'01'
    wa_header-division = wa_gt_ft_sales1-division. " '01'
    wa_header-purch_no = wa_gt_ft_sales1-purch_no.
    wa_header-req_date_h = wa_gt_ft_sales1-reqdate.
    call function 'CONVERSION_EXIT_PARVW_INPUT'
    exporting
    input = wa_gt_ft_sales1-partn_role
    importing
    output = v_parvw.
    wa_header-partn_role = v_parvw.
    wa_header-partn_numb = wa_gt_ft_sales1-partn_numb.
    wa_header-unload_pt = wa_gt_ft_sales1-unload_pt.
    move-corresponding wa_header to gt_order_partners.
    move-corresponding wa_header to gt_order_header_in.
    append gt_order_header_in.
    append gt_order_partners.
    endat.
    call function 'CONVERSION_EXIT_CCMAT_INPUT'
    exporting
    input = wa_gt_ft_sales1-material
    importing
    output = v_matnr.
    gt_order_items_in-material = v_matnr .
    gt_order_items_in-target_qty = wa_gt_ft_sales1-targetquantity . "'1000'
    gt_order_items_in-req_qty = wa_gt_ft_sales1-reqqty.
    gt_order_items_in-req_date = wa_gt_ft_sales1-reqdate.
    *GT_ORDER_ITEMS_IN-BILL_DATE = wa_GT_FT_SALES1-REQDATE.
    gt_order_items_in-ref_1 = wa_gt_ft_sales1-ref_1.
    append gt_order_items_in.
    clear : wa_gt_ft_sales1,wa_header.
    at end of partn_numb.
    call function 'BAPI_SALESORDER_CREATEFROMDAT1'
    exporting
    order_header_in = gt_order_header_in
    WITHOUT_COMMIT = ' '
    CONVERT_PARVW_AUART = 'X'
    importing
    salesdocument = salesdocument
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    return = gt_return
    tables
    order_items_in = gt_order_items_in
    order_partners = gt_order_partners.
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CCARD =
    ORDER_CFGS_BLOB =
    ORDER_SCHEDULE_EX =
    if gt_return-type eq 'E' .
    e_rec = e_rec + 1.
    read table gt_return with key id = 'V1'.
    format color col_negative inverse on.
    rec_no = e_rec + s_rec.
    concatenate text-006 rec_no ':'
    gt_return-message into msg separated by space .
    condense msg.
    write: / msg.
    format color col_negative inverse off.
    elseif gt_return-number = '000'.
    s_rec = s_rec + 1.
    format color col_positive inverse on.
    msg = 'SUCCESS'.
    condense msg.
    write: / msg .
    format color col_positive inverse off.
    write :/ salesdocument, 'Has been created'.
    perform commit_mm.
    endif.
    clear: gt_return[], msg.
    endat.
    endloop.
    endform. " SLALE_UPLOAD_DATA
    *& Form COMMIT_MM
    text
    --> p1 text
    <-- p2 text
    form commit_mm .
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    importing
    return = gt_return1.
    clear: gt_order_items_inhttp://].\"GT_ORDER_CONDITIONS_IN[.
    endform. " COMMIT_MM
    inthis pass re_doc field in header...

  • Business object for sales order credit status

    Is there a sap delivered business object that has a method to get credit status and overall blocked status of a sales order?

    This forum is for general questions about Business Objects (the company) products and information; since your question pertains to SAP products you will want to find the forum that relates most closely to your question so you can have experts in that area helping you.

Maybe you are looking for

  • Help!How to use JCheckBox in a Rolloverenabled JToolBar

    I have added a JCheckBox and a JButton(they all have a icon) in JToolBar , and set the toolbar rolloverenabled through the api "setRollover(true)",yes I got the right result that when my mouse point enters the JCheckBox or the JButton,they will show

  • Lion OS - Word, webpages, and other apps return to the where I was last.  How do I turn that off?

    How do you turn off the function that returns you to the very last spot you were working on every application and Safari?

  • Significant Comparisons in Binary Search Trees?

    Hello, I am a bit confused as to what constitutes a significant comparison in a binary search tree. I have an assignment where I need to modify a BST class to keep track of the number of significant comparisons being done for an analysis of running t

  • Batch job - Delivery creation

    Hi all, Here in my project there are so many batch jobs ruuning.Deliveries are created manually and through batch job also A delivery was created manually.A particular delivery output type was not pulled in the delivery since we did not maintain the

  • Strokes to Objects

    I am new to Illustrator and use CorelDraw for a couple of years.  I wanted to the know the equivalent to transforming a stroke into an object in Illustrator and how to create a contour outline around an object to be able to break it away to create it