SBO_Application.Forms.ActiveForm is Sales Order but in fact it isn't

Hi,
I have the Sales Order form opened and I did a mistake when entering the CardCode so this causes SAP to pop the List of Business Partners but doing so it goes nuts in one of my validation in ItemEvent and when I do Cancel on the List of Business Partners, the form reappears and I turn around like this indifinitely
So I'm wondering why I cannot check if this is form 100001 witch is the List Of Business Partner form but the
SBO_Application.Forms.ActiveForm reports I'm on the Sales Order form but I'm not.
So I don't know what do to do avoid checking all my conditions in ItemEvent if this form is present
I have a couple of scenarios of course but I just want to ear from you guys what you suggest.
Thank you

My question seems too complicated and was never answered so I close it until my problem comes back then I will ask at that time with a simpliest question.

Similar Messages

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • SBO_Application.Forms.ActiveForm.TypeEx -9875

    Dear all,
    i have done with some code in the menu event.
    Case "1282"
    If (pVal.BeforeAction = False And SBO_Application.Forms.ActiveForm.TypeEx = "SHIFT1") Then
                            oForm = SBO_Application.Forms.ActiveForm
                            oForm.Items.Item("4").Enabled = True
                            'Dim FroupcodeAct As SAPbouiCOM.CheckBox
                            'FroupcodeAct = oForm.Items.Item("9").Specific
                            'FroupcodeAct.Checked = True
                        End If
    end case
    but the problem is when i press the ctrl+ A at that time the SBO_Application.Forms.ActiveForm.TypeEx -9875 is genarated but when i press it on the SAP menu at that time its working fine..
    what i need to check for this probm please help me
    thanks in advance

    Hi,
    Try This........
    Case "1282"
    If (pVal.BeforeAction = False And sbo_application.Forms.ActiveForm.UniqueID = "SHIFT1") Then
                            oForm = SBO_Application.Forms.ActiveForm
                            oForm.Items.Item("4").Enabled = True
                            'Dim FroupcodeAct As SAPbouiCOM.CheckBox
                            'FroupcodeAct = oForm.Items.Item("9").Specific
                            'FroupcodeAct.Checked = True
                        End If
    end case
    Thanks
    Shafi

  • How to generate an Idoc form an existing Sales Order?

    Hi experts.
    Our client needs to generate an ORDERS05 output Idoc for Sales Orders that has already been created.
    Is there a way to generate a new Idoc for those Sales Orders?
    MASTER_IDOC_DISTRIBUTE won’t do the job cause I don’t how to complete all the segments, I need the standard procedure to be execute.
    I thought to use a Bapi to modify the Sales Order, but that might execute routines that we not want to.
    Any ideas?
    Thanks.

    Hi,
    You can generate an IDOC from invoice cancellation.Define a new "Z" output type for this cancellation billing document type and select the medium as 5(EDI).Check with your ABAPer for this.
    Regards,
    Krishna.

  • Purchase Item for a sales order but not on sales order lines

    Hi,
    Is it possible to purchase an item for a sales order but item is not actually on sales order? I know we can create PO through SO logistic tab and also through procurement confirmation wizard but these functionalities can be used to buy the item which is on the SO. The problem is that the item is not on SO. It's kind of hidden cost going against the SO.
    Will be grateful for your help.
    Thanks,
    Kanu

    Thanks Gordon. Ok I can add items to the PO. But will those items be costed against the SO? Because there is no SO number (POR1.BaseRef field) on that extra PO line.
    I appreciate your help here.
    Best Regards,
    Kanu

  • Disable Availability Check on Sales Order  But Activate on Outbound Delv

    Greetings all experts !
    Currently, there's a new request to create a new processes whereby during the sales order creation, no availability check will be in place but material will still be posted to production planning ( TOR ).
    Availability check instead should be activated  during the creation of outbound delivery.
    I have already configured in such a way that the relevant sch line item ( VOV6 ) - availability check is unchecked and TOR is checked.
    But during creation of sales order, availability check is still in place for material specified.
    I have check on the necessary requirement class and requirement type settings. Fyi, requirement class used - availability check is ticked. Could this be the reason even though i have disabled availability check on sch line ?
    I have tried to untick the availability check setting in requirement class  ( OVZG ), and while this can disable the availability check in Sales order, but that configuration will also disable availability check in outbound delivery.
    My queries :
    1 ) What are the configurations that I need to look into to cater to the above request. To disable availabilty in sales order but instead, run availability in outbound delivery ?
    2 ) Is there any way I can disable the availability check on based on sales order type using userexit or function module ?
    3 ) Is there any additional function module/bapi/userexit that i can implement to force outbound delivery to run availability check ?
    My apologies for such lenghty message here but really really need some valuable feedback here as I'm totally at lost with the new requirement for now.
    Many thanks in advance.
    Warmest Regards,
    Edie O

    In SPRO
    goto SD>Schedule line>Define schedule line categories
    here check if the schedule line category associated with your mentioned order has a flag ticked for Availability.
    Availability check for sales
    You must carry out an availability check for the following transaction.
    The indicator is determined as a proposal in conjunction with the respective requirements type. It can be changed in individual shipping transactions. However, only one restriction is effective.
    Example
    You do not set an indicator for maintaining the requirements type. In this case, no availability check is carried out. This is independent of the selection in the respective transaction.
    You set an indicator for maintaining the requirements type. In this case you can decide whether or not you require an availability check for the relevant transaction.
    reward points if it helps
    regards
    Biju

  • Updating UDFs in the UDF form of a sales order

    I got the UDF form of a corresponding main sales order form.
    I am trying to set a value for one of the UDFs there, but I get a 'General Failure' exception (Simply trying to set the edittext's UDFItem.Value or UDFItem.String properties)
    I know I have the right form and item, since I can change the item's BackColor.
    The DBDataSource.GetValue works, so I can read the existing values.
    The DBDataSource.SetValue doesn't work, but I'm used to it
    Any ideas?

    Avi,
        We cant use Setvalue directly in Predefined for u better to use
    Frm.items.item("").Specific.Value= ""
    Regards,
    Anitha

  • Using PDF form as a sales order form on Android device

    Hi,
    I'm working on a digital sales order form solution, and found Adobe Reader for Android looking to be usefull. However I'm stuck with some questions and hoping to find answers here on the forums.
    I don't have a lot of experience with creating PDF's, but I do have sufficient experience with Javascript, so I managed to create form that does some calculations. Everything looks and works alright, but for it to work in the field there are some showstoppers.
    The form I've created has 2 signature fields
    Here are my issues. Please keep in mind that the user (sales representive) is filling in the form on an Samsung Galaxy Note.
    After the form is signed, the user can still make changes to the form. Is there a way to disable this?
    The signature default uses very thick lines. How can I force this to 1px default?
    The last used signature is stored. How can I disable this? (Customers don't want their signature to be stored, as the sales rep could use that to sign other forms as wel..)
    Adobe reader overwrite the original file upon closing. Is there a way to force a 'save as' screen?
    Adobe reader allows a user to make comments and write free hand. I'd like to disable this.
    (I've tried Document Restrictions, but this ruins the document by removing every form field.. )
    I've read something about Adobe LiveCycle server. Could that help me achieve wat I'm looking for?
    I hope someone can help me out and explain some of this

    Check out http://www.pdfemail.net/
    With PDFEmail.net, you can submit XML, FDF, XFDF, XDP data formats or PDF format.
    PDFEmail.net can merge the Data (XML) submission with a blank form using ASP.net, and attaches it to an e-mail message and sends it through SMTP, without client side e-mail software such as OUTLOOK.
    PDFEmail.net is installed on a workstation, and generates scripts and libraries you "UPLOAD" to your ASP.net webserver. There is no server-side installation, and zero programming knowledge is required. PDFEmail.net creates the scripts for you, and you just point your submit button action to the URL of the script.
    PDFEmail.net uses iTextSharp technologies, and includes 1 year of free technical support.
    For more information visit http://www.pdfemail.net/

  • Table for C form Details in sales order

    Hi Experts,
    what is the table for details of C, H, I, etc forms against sales order.
    Thanks,
    Anu

    Hi
    yes i checked by step no. but step of this value in not available in KONV
    like ZDCM is on 125 step value available and JASS is on 170 value is available but
    NET EX MILL PRICE is on 160 and this 160 step is not available.
    Regards
    Abhi

  • Forms Personalization in Sales Order pblm

    Hi Friends,
    I have a requirement in which the lines tab in the Sale Order form is to be disabled based on a record in a custom table. The custom table has columns order_number and order_status.
    When a order number is requeried in the form and a record for this order number exists in the custom table with order status as 'InProcess' then the lines tab on Sales order should get disabled.
    I am not able to figure out what should be the conditions that i should put for this requirement.
    Thanks for your valuable inputs in Advance !!

    I have tried with the condition, but it allows me to enter into the lines tab.
    I have few orders which would only be in this custom table and i want to avoid the users once they have entered and my program has validated and entered them in the this custom table. Basically when a user requeries a order number(which is in the custom table and having custom_status 'InProcess') he should not be able to edit the lines tab.
    I have tried for below in forms personalization:
    1) Conditions
    Trigger Event: When-Validate-Record
    Trigger Object: Order
    Condition: exists (select 1 from xxmas_inprocess where order_number = :order.order_number and order_status ='InProcess')
    Processing Mode: Not in Enter Query Mode
    2) Actions
    Seq: 1, Type Property, Description Disable Lines,
    Object Type : Tab Page
    Target Object: Order_Regions.Line_Items
    Property_Name: Enabled
    Value: False
    For this the line tab does not get disabled.
    Also i have tried the trigger event as : When-New-Form-Instance without any condition. For it the lines tab is getting disabled.However when i put the above condition it does not work.
    Please suggest me any changes necessary.

  • Discount condition type not appearing in sales order but in invoice

    Hi,
    I have two discount condition types (MPDI,ZSDI) in my pricing procedure,at the time of sales order creation one discount condition is not appearing.
    On analyzing the condition type MPDI,system throws message "Access not been executed due to previous access",what would be the reason.
    In the billing ,i could see the condition type appearing.I have checked this,but i could not understand why it is happening.Even the condition catergory of condition is empty not L.
    Also please find the screen shots below,
    Pradeep

    Pradeep,
    Am sure user might have deleted the condition type in sales order, the same condition type woudl have entered manually in invoice.
    Please check my testing, i have done the same entered ZA09 manually and after saving have deleted again in sales order, after dilivery and when i created invoice here i have entered manually the same condition type.
    So in your case also the same thing could have happend, check the change log and also in invoce condtion tab check the condtion type in analysis ( Invoice analysis not order). so that you can udnerstand whether it was entered manully or not.
    On analyzing the condition type MPDI,system throws message "Access not been executed due to previous access",what would be the reason.
    This is because in the condtion tyoe the abvoe key combiantion was found with records hence the below key combition was ignored. this you observe in your screen shot with with 5.00
    So my guess is the condtion records was deleted in sales order.
    thanks,
    srinu.

  • Creating Sales Order, but picking up wrong ship-to-party

    Hello Friends,
    I am creating an urgent sales order by mentioning the sales organization, distribution channel and division.
    I mention the sold-to-party X but do not enter the ship-to-party.
    I know it selects the ship-to-party automatically based on the partner functions mentioned in the sales area data of the customer (sold-to-party X).
    But my problem here is there are three ship-to-party mentioned, and it selects one. How does it determine which ship-to=party to determine?
    Is it sorted in ascending order?

    Hi Raj,
    yes it does show a pop-up with multiple Ship-to-parties and i can select the required. I agree.
    But actually i create sales order using a program, so the program calls BAPI_SALES_ORDER_CREATEFROMDATA which creates the sales order using the first entry in the partner functions pop-up by default.
    I want to know how is it determined that which partner function is first? Is it in ascending order?
    In the above screenshot, why does 16508 appear before 30597?

  • FG production on sales order but RM procurement on Sales Contract.

    Dear Gurus
    Here is the client requirement for Planning and Procurements of FGS and Rms.( Process Industry)
    1) Client wants to make sales Contract VA41 for FG in which they will create schedule line for item with delivery date in Month format with Quantity.
    From VA41 sales contract creation , they want their RMS to be Procured but NO MRP should be run or impacted for Final Assembly. In short NO MRP for FG
    2) After VA41,  they again want to run VA41 in which they will create ''With reference and in contract tab, they will make Customer PO with reference to above Contract. This number will give them a Qty Variance between customer's purchase order and the sales documents created.
    3) Again with Reference of Customer PO, they will make a Sales order from VA41 and this sales order they will Produce their FG.
    So FG Production is Sales order driven but RM procurement is Sales Contract driven.
    1) Which Planning strategy i should assign to RM and FG?
    2) What will be step by step configuration guide from PP and SD side.?
    Appreciate your reply
    Thanks
    Shailesh

    In SPRO
    goto SD>Schedule line>Define schedule line categories
    here check if the schedule line category associated with your mentioned order has a flag ticked for Availability.
    Availability check for sales
    You must carry out an availability check for the following transaction.
    The indicator is determined as a proposal in conjunction with the respective requirements type. It can be changed in individual shipping transactions. However, only one restriction is effective.
    Example
    You do not set an indicator for maintaining the requirements type. In this case, no availability check is carried out. This is independent of the selection in the respective transaction.
    You set an indicator for maintaining the requirements type. In this case you can decide whether or not you require an availability check for the relevant transaction.
    reward points if it helps
    regards
    Biju

  • Form routine for sales order adobe forms

    Hi Friends,
    I have a requirement to create z adobe forms for sales order for customized output type.
    When i checked, there is no form routine designed for calling the adobe forms.
    So, i am planning to copy the standard print program which is available for script and smartforms and creating a z form routine to include the function modules for calling the adobe form.
    Can any one please let me know whether have you worked in any of the same kind of situations and my apporach is ok or anything else can be done.
    Thanks & Regards,
    Prabu

    Hello,
    Plz check your caller program for the same and just find out the output type. for that purpose use the Tcode: NACE for finding the output type than proceed accordingly.
    Regards,
    Akg

  • I have one sales order but the condition is the stock delivered to the part

    is in various instalments 10%every month up to 100% how it configure

    it is possible through standard SAP, when you create delivery you can give the required qty. of 10% of order ever time, but its possible if the price is same for all months,
    with referance to delivery you can create shipment and shipment cost, invice.
    If you have defferent prices for every month you have to create separate sales order ever month.
    please assign the points if its helpful.
    regards
    sai krishna

Maybe you are looking for