Finding of fixed vendor while creation of the sales order

i want to find the fixed vendor (FLIEF) from EBAN ,<b>before saving the sales order</b>,
for that i need to pass BANFN( purchase request no) BNFPO(purchase request item no), into EBAN ,which i got from VBEP table  .
   i used user-exit (userexit_save_document) which is in MV45AFZZ (include programming). i'm getting BANFN and BNFPO from XVBEP and there is no data in EBAN.help me any other method is there to find these values. like any <b>user_exit</b> or <b>bapi</b> or <b>badi</b>

Hi Krishna Murali,
do u want to make mandatory fixed vendor in sales order ,if yes
u can fix by using the incompletion procedure.
hope it helps, if u have have any query , come to me
Thanks&Regards
Venkat.Dhanemkula

Similar Messages

  • Information Messages while creation of the sales order thru EDI 850

    Hello All,
    I am trying to create a Sales Order using EDI 850. When i am doing the same i am getting the information messages and the Sales Order is not created and the IDOC is in 51 status. I am using the ORDERS05 Idoc Type.
    Following are some of the messages i get:  1. Oldest of open items overdue; 2. Document Complete 3. ISO Country code not found.
    some are valid message and i have already fixed them. But when i create the sales order manually it gives me the sales order number even though i get the information messages.
    Please let me know is there any setting that i have to make for EDI process to counter the information messages.
    Thank You,
    Suresh

    whats the final message you got? that will give you what is the issue.
    in you look at IDOC_INPUT_ORDERS, it does some basic validations first, and collect those errors in ERRTAB and set the status to 51. for manual reprocessing of the IDOC, it doesnt care about those pre validations, and goes directly into VA01 processing

  • How to block the creation of a Sales Orders without a linked Purchase Order

    Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
    IF  @transaction_type = 'A' AND @object_type='17'
    BEGIN
         IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
         BEGIN
              SET @error = 1
              SET @error_message = 'Purchase Order Missing...'
         END
    END
    This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
    Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
    Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
    As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
    Thanks...

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • 1 line item in the sales order ship to different shipping address

    Hi,
    Our customer A have 3 different branches (meaning 3 different shipping address).
    During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A:
    10pc to address A1
    20pc to address A2
    20pc to address A3
    In my sales order, is there a way I just create 1 line item with the order qty 50pc for this material A, but split into 3 schedule line with 3 different ship to address?
    I know there is alternate way where I create 3 different line item (with order qty 10, 20 and 20) and change the ship to address in the Item -> Partner tab. But using this method, I have to create 3 times of the same material in 1 sales order, just with the different shipping address.
    I want to know is there a way I just need to create 1 line item?
    Kindly please advise. Thank you.

    Hi there,
    When you have 3 different ship-to address, system will anyway create 3 different deliveries. This is coz if the header data in shipping (ship-to) is different, system will split the deliveries. Routes are different to 3 ship-to addresses & they cannot be combined in the same delivery.
    So as mentioned in above thread, create 3 different line items or create different sales orders all together for different ship-to parties.
    Regards,
    Sivanand

  • Condition type not flown(not determined) into the sales order

    Hello Experts,
    There is one discount condition type which is having proper condition records, validity date.However, it is not getting determined properly and is not flown into the sales order. the user wants to know why this may happen.I tried to reason it may be the sales order date and the conditon record date may be different or the condition record is changed after the creation of the sales order.neither of the reasons seem to hold good. any ideas?
    Regards,
    Raj

    Hello,
    I have looked into the analysis and asked him to update the condition by clicking on that.also, I found that the condition record is having a proper valid date. now the user would update only after knowing the exact reason why it did not flow into the sales order,he knows he has to update the condition but would not do so till he knows the right reason why condition is not determined in the sales order. now this is the situation.
    the probable reasons as per analysis of the conditon type are as follows(for your information). can it be one ofThere are different reasons for this:
    1)The condition was deleted manually in the item condition screen.
    2)The condition record was created later. Please note that order processing and pricing have buffer mechanisms. This means that a newly added condition record might only be found after order processing has been left completely and then started again.  them?
    Regards,
    Raj.

  • How to create a pop up window while creation of the delivery note.

    Hello Experts
    How to create a pop up window while creation of the delivery note.
    As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
    For e.g.
    Str. Loc     Qty      UOM
    DE01        100        KG
    DE99          50        KG

    Dear all,
    i m having two document numbers for invoic of same types such as output type print program and smartform.
    biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
    Directly the cursor comes to initial stage of vf03.
    suggest what to do
    Thanks and regarnds
    ravi

  • Credit Check is not working while creation of the delivery

    Hi,
    Credit check is not performing while creation of the delivery.
    As per current settings, there is no credit check at SO level. Ideally, system should show an error message while creation of the delivery if credit limit of the customer is exceeds.
    Below is the current OVA8 setting for Delivery group 02.
    It was working fine till last week, but due to some unknown changes in customization or master data, same is not working now.
    Could you please check below settings and suggest if any setting is wrong?

    You talking about the reaction field D am talking about beside to reaction field that is status/Block(check) .
    Status/Block(tick) is used to block the document.
    Where as you reaction field is used to give the either warning or error message based input you are giving
    A and C gives warning message and allow to save the document.
    B and D gives error message and will not allow to proceed further
    Please check this and try system will block the delivery.
    thanks,
    Srinu.
    Message was edited by: Srinu S

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • Possibility of addition creation time in the sales order over view screen

    Hi,
    Is there a possibility of adding the creation time in the sales order overview screen in VA01/2/3.
    thank you

    hi,
    this is to inform you that,
    contact your ABAPER for this is to find out if there any possibility making time field mandatory if it is there in Standard SAP. there in VBAK table i am able to see VBAK - ERZET
    or
    if it is not available then you need to go for field exit.
    hope this helps.
    balajia
    Edited by: balaji timmampalli achari on Nov 30, 2010 6:11 AM

  • Partner Function "Vendor" missing when the sales order is replicated to ECC

    Hi Gurus,
    We are facing a problem on replication of functions partners between
    sales order of CRM and ECC.
    We have downloaded vendors (partners of table LFA1) from ECC to CRM
    following note 883162 and this replication was ok!
    We have mapped all partner functions from ECC to CRM and from  CRM to
    ECC for distribution of partners between systems.
    We must include a vendor using partner function '0000092 - Carrier' on
    our sales order, which is transferred to ECC. However, when the sales
    order is transfered to ECC, the vendor (which was included on CRM) is
    missing.
    When the sales order is created on ECC and the partner (type carrier)
    is included in,  the order arrives on CRM missing only the partner
    number, because the partner function is there.
    How to fix this problem?
    Best Regards,
    Nivea Faria

    Hi,
    See this Note : 975195
    Hope this helps.
    Best Regards
    Shiven

  • How to find out the Sales order no based on spool no

    Hi Experts,
    Anyone tell me how to find out the Sales order no based on Spool no.
    Thanks and regards,
    Amjad

    Hello Mohammed,
    Please check the following SAP Spool tables for your spool request.
    You will find your required document number as an Object key in these tables.
    TSCMSTAT   --> Field OBJNO
    SOOS           --> Field APPLKEY (Document number will be a part of this key)
    If your document is getting printed by SAP Script, then dont forget to take SCR value in the OBJTP field while searching for your record.
    Thanks and Best Regards,
    Vikas Bittera.
    ***Points for Usefull answers ***

  • Creation of Billing with reference to the Sales Order

    Dear Friends,
    I need your suggestion for the following scenario.
    Client wants to create the Billing Document with reference to the Sales order.I mean when he is entering sales Order while creating the billing document ,the system should generate the billing document only for the delivered quantity.
    e.g  sales order is created for 100 Tons.And there are 5 delivery documents for 50 Tons.(Still the Sales order is open).
    Now when billing document is created with reference to the sales order ( Not with reference to the Delivery Document) it should create the billing document only for these five deliveries.
    Is it possible? If yes,how?
    Thanks in advance.
    Regards,
    Shrikant

    Hi Murali,
    Currently client has software where he enters only  Sales Order no and their software creates the billing for the delivery document for this Sales Order.
    Here client does not want to enter multiple delivery document nos if any.He wants to enter only Sales Order no.
    Regards,
    Shrikant

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • ERROR WHILE CREATING THE SALES ORDER

    Hi,
    When creating the sales order i am entering "mode of transport"in TSW details and while trying to save it im getting a message saying "Express document "update was terminated"" recieved from the author "Rahul". If i dont enter the TSW detail while creating i am able to save the order and later in change mode i can enter the mode of transport.
    When i check the inbox, it says "definately cannot transfer message to node SMTP due to connection error".
    This is hapenning for only one user.
    What could be the problem?
    Regards,
    Rahul.

    Hi Rahul,
    I think you need to enter the mode of transport in external details where it will take for further processing. TSW is different process.
    Thanks
    Pravin

  • Material Listing Error while creating the sales order

    Hi Guru's
    I have mantained a material in the lisitng for A002 combiantion for SO/DC/Pric. ref. material
    While creating the sales order is throwing an error as material is not listed so the transaction is not possible.
    I have done the basic invetingation on the folowing aspects
    1)checking the material in the listing
    2)Validity periods
    3)Material not blcoked
    4)Mateial is extened for the respective sales org
    Kindly help ASAP.
    Thanks & Regards
    Tarakaram

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

Maybe you are looking for

  • At the beginning of install EBS R12 on Ubuntu 8.04 amd64 (Linux Debian)

    Bonjour, Need help, please. At the beginning of install EBS R12 on Ubuntu 8.04 amd64 (Linux Debian) ATI graphic driver: "ati-driver-installer-8-4-x86.x86_64.run" All prerequisites are installed. appmgr@ubu:~$ /d01/Stage12/startCD/Disk1/rapidwiz/rapid

  • Link to iTunes  on iWeb

    Is there a way/widget to install so I can add to my iwebsite a link to puchase a song directly from iTunes? It's my own recordings that are for sale on iTunes and i'd like people to be able to immediately go to iTunes and get the songs.

  • Acrobat 9 Pro Not Displaying Scanner

    When I try to create PDF from scanner, my scanner is not shown (or any other devices) in the select a device for the scanner.  I do not understand why because I have no problems printing to it or scanning using Preview on OS X.

  • Retrieve blob data

    i have some hexadecimal data inserted into blob datatype column in a table and i want to retrieve it ........... i used hextoraw function but unable to retrieve it.......... i tried using the command ------------dbms_lob.getlength(hextoraw(A.DOCUMENT

  • I have lost my iphone?

    i have lost my iphone 1 day back. kindly suggest how to search?