How to block sales order creating manually for a sales order type

Hi SD gurus,
My client wants for EDI orde type, the sales order should not be processed manually
how can i restrict this. I know to i can restrict this by not giving authorization
I want globally to maintain this.
thanks

Hi.
I think that the best way to do this is to create a field exit to data element AUART.
You will need an ABAP'er to create this field exit and associate the field exit to program SAPMV45A.
Doing this, you need create a customized table to maintain the sales order type permitted to manual creation.
You can use the program RSMODPRF to see all active field exits.
I believe that EDI orders in your process are created through BAPI, correct?
Waiting for response.
regards.

Similar Messages

  • How to creat deadlock for the purchase order in SAP Workflow

    How to creat deadlock for the purchase order in SAP Workflow

    Hi Ben,
    Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date?  If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
      DATA: vf_doc_date(10),
                 internal_date TYPE d.
         vf_doc_date = sy-datum.              "Document date.
         internal_date = vf_doc_date.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
        EXPORTING
          date_internal            = internal_date
        IMPORTING
          date_external            = vf_doc_date
        EXCEPTIONS
          date_internal_is_invalid = 1
          OTHERS                   = 2.
    Regards,
    Vivek

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

  • How to find Ship to party number for a Sale doc.

    Hi,
    Currently, I have a sale doc number with type ZDR (Debit memo request). Could you please let me know how can I get the ship to party number for that document number.
    In General, Could you please show me how to get ship-to party number for a sale doc with all sale doc type ?
    Thanks,

    Hi Krishna,
    Your answer is correct, I just go to table VBPA pass the sale doc number & choose the partner function as ship to party, then I can get the ship-to-party ID.
    Hi Sandipsinh,
    The KUWEV is the customer master data view that is used in standard T-code. However It is not a table, therefore I can't get data from it.
    Hi  senya_1111,
    You know, with a sale order we have only one sold-to-party. However, we can have several corresponding ship-to-partys.
    Moreover, In table VBAK(Sale order header)  we just have sold-to-party not ship-to-party. That means we can get wrong value in case ship-to-party is not the same as sold-to-party.
    Overall, Thank all of you for your opinion.

  • Identify Orders created manually in the planning book (user exit macro?)

    Hello All,
    I am trying to capture the orders created manually in planning book using a user exit macro!!.
    Does anyone have any Idea of how to acheive this. Main aim is to identinfy orders created manually.
    Thanks in advance,
    Regards,
    -Srini

    Hi,
              There are no change pointers like R/3 in APO due to the live cache technology. You can how ever findout if an order is created by system or manually created. Check this [thread|Re: How to identify an order generated by heuristics run or entered manuall]
    Check if you can use the BAPIs to read orders and see if they have "output-firmed".

  • How to prevent Output to be generated for Return Purchase Order.

    Hi All,
               while creating a return Purchase Order the output is getting triggered. Now for Return Purchase Order the business does not want the output to be generated.
    So is there a way by which we can have the automatic output generated for normal Purcahse Order but not for Return Purchase Order.
    The system uses standard Output Type NEU for message. And condition record maintained for generating output (print/email) while saving.
    Is there a way by which this issue can be addressed.  if so how ?
    Thanks.

    Dear all ,
    a material goes storage location to client  through pr ,in client site i get faulty material
    i want to retorn that to my plant or storage location
    that basis how to make retorn po and what are the procedure ?
    what is movement type ?
    Regards
    shiv

  • How can I get a user manual for my inherited Blackberry ...

    How can I get a user manual for my inherited Blackberry Curve 8330?

    Hi and Welcome to the Forums!
    Here is a link to the manuals:
    http://na.blackberry.com/eng/support/docs/subcategories/?userType=1&category=BlackBerry+Smartphones&...
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Create partners for a maintenance order ( IW32 transaction)

    Hello:
    I need create partners for a maintenance order ( IW32 transaction) in a program.
    I'm using IBAPI_ALM_ORDERPARTNER_MAINT but it does not do anything.
    when,in partners data, an error exists, this is returned but when all is correct, bapi does not do anything.
    help me please.
    Thanks's
    REPORT  ZPM_PRUEBA_BAPI_INTER.
    DATA G_PAR TYPE I_PARNR.
    parameters p_aufnr like aufk-aufnr.
    SELECT-OPTIONS: S_PAR FOR G_PAR.
    parameters p_id(2).
    data lv_mens(255)   TYPE c.
    data: BEGIN OF lt_partner OCCURS 0.
            INCLUDE STRUCTURE BAPI_ALM_ORDER_PARTNER.
    data: end of lt_partner.
    data: BEGIN OF lt_partner_UP OCCURS 0.
            INCLUDE STRUCTURE BAPI_ALM_ORDER_PARTNER_UP.
    data: end of lt_partner_UP.
    DATA: BEGIN OF LT_ERR_COM.
           INCLUDE STRUCTURE BAPIRET2.
    DATA      END OF  LT_ERR_COM.
    *data begin of lt_errors occurs 0.
    *       include structure BAL_S_MSG.
    *data end of lt_errors.
    data: lt_errors type standard table of BAL_S_MSG with header line.
    start-of-selection.
      lt_partner-PARTN_ROLE = p_id.
    *  lt_partner_UP
      LOOP AT S_PAR.
        lt_partner-PARTNER = S_PAR-LOW.
        APPEND lt_partner.
      ENDLOOP.
    *1038062
      CALL FUNCTION 'IBAPI_ALM_ORDERPARTNER_MAINT'
        EXPORTING
          IV_ORDERID                           = p_aufnr
    * IMPORTING
    *   EV_CREDITLIMIT_CHECK_NECESSARY       =
      TABLES
        IT_PARTNER                           = lt_partner
    *   IT_PARTNER_UP                        =
    *   ET_PARTNER                            =
          ERRORS                               = lt_errors
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = LT_ERR_COM
      loop at  lt_errors.
    *    write: /2 lt_errors-MSGV1,lt_errors-MSGV2,lt_errors-MSGV3,lt_errors-MSGV4.
           CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID              = lt_errors-msgid
    *           LANG            = '-D'
            NO              = lt_errors-MSGNO
            V1              = lt_errors-msgv1
            V2              = lt_errors-msgv2
            V3              = lt_errors-msgv3
            V4              = lt_errors-msgv4
          IMPORTING
            MSG             = lv_mens
          EXCEPTIONS
            NOT_FOUND       = 1
            OTHERS          = 2.
         WRITE lv_mens
      endloop         .

    Hi,
    First, you can/should not use the FM IBAPI_ALM_ORDERPARTNER_MAINT. This FM is part of the service order BAPI called BAPI_ALM_ORDER_MAINTAIN and this is the correct FM to call for your requirement.
    A released BAPI by SAP will "survive" any upgrade. This is certainly not true for the mentioned FM IBAPI_ALM_ORDERPARTNER_MAINT, for instance.
    Please read the documentation for FM BAPI_ALM_ORDER_MAINTAIN either from SE37 (use language EN) or from transaction BAPI. There are sections for partner handling there (you must fill both the IT_PARTNER and the IT_PARTNER_UP tables for instance.
    This thread here on SDN will be of interest for solving your problem: Re: Deleting partner with BAPI_ALM_ORDER_MAINTAIN does not work
    If you find this answer of help then award some points so others can benefit from the answer as well.
    Best regards, Johan

  • Create partners for a maintenance order

    Hello:
    I need create partners for a maintenance order ( IW32 transaction) in a program.
    I'm using IBAPI_ALM_ORDERPARTNER_MAINT but it does  not do  anything.
    when,in partners data, an error  exists, this is returned but when all is correct, bapi does not do anything.
    REPORT  ZPM_PRUEBA_BAPI_INTER.
    DATA G_PAR TYPE I_PARNR.
    parameters p_aufnr like aufk-aufnr.
    SELECT-OPTIONS: S_PAR FOR G_PAR.
    parameters p_id(2).
    data lv_mens(255)   TYPE c.
    data: BEGIN OF lt_partner OCCURS 0.
            INCLUDE STRUCTURE BAPI_ALM_ORDER_PARTNER.
    data: end of lt_partner.
    data: BEGIN OF lt_partner_UP OCCURS 0.
            INCLUDE STRUCTURE BAPI_ALM_ORDER_PARTNER_UP.
    data: end of lt_partner_UP.
    DATA: BEGIN OF LT_ERR_COM.
           INCLUDE STRUCTURE BAPIRET2.
    DATA      END OF  LT_ERR_COM.
    *data begin of lt_errors occurs 0.
    *       include structure BAL_S_MSG.
    *data end of lt_errors.
    data: lt_errors type standard table of BAL_S_MSG with header line.
    start-of-selection.
      lt_partner-PARTN_ROLE = p_id.
    *  lt_partner_UP
      LOOP AT S_PAR.
        lt_partner-PARTNER = S_PAR-LOW.
        APPEND lt_partner.
      ENDLOOP.
    *1038062
      CALL FUNCTION 'IBAPI_ALM_ORDERPARTNER_MAINT'
        EXPORTING
          IV_ORDERID                           = p_aufnr
    * IMPORTING
    *   EV_CREDITLIMIT_CHECK_NECESSARY       =
      TABLES
        IT_PARTNER                           = lt_partner
    *   IT_PARTNER_UP                        =
    *   ET_PARTNER                            =
          ERRORS                               = lt_errors
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = LT_ERR_COM
      loop at  lt_errors.
    *    write: /2 lt_errors-MSGV1,lt_errors-MSGV2,lt_errors-MSGV3,lt_errors-MSGV4.
           CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID              = lt_errors-msgid
    *           LANG            = '-D'
            NO              = lt_errors-MSGNO
            V1              = lt_errors-msgv1
            V2              = lt_errors-msgv2
            V3              = lt_errors-msgv3
            V4              = lt_errors-msgv4
          IMPORTING
            MSG             = lv_mens
          EXCEPTIONS
            NOT_FOUND       = 1
            OTHERS          = 2.
         WRITE lv_mens
      endloop         .
    help me please.
    Thanks's

    Hi,
    First, you can/should not use the FM IBAPI_ALM_ORDERPARTNER_MAINT. This FM is part of the service order BAPI called BAPI_ALM_ORDER_MAINTAIN and this is the correct FM to call for your requirement.
    A released BAPI by SAP will "survive" any upgrade. This is certainly not true for the mentioned FM IBAPI_ALM_ORDERPARTNER_MAINT, for instance.
    Please read the documentation for FM BAPI_ALM_ORDER_MAINTAIN either from SE37 (use language EN) or from transaction BAPI. There are sections for partner handling there (you must fill both the IT_PARTNER and the IT_PARTNER_UP tables for instance.
    This thread here on SDN will be of interest for solving your problem: Re: Deleting partner with BAPI_ALM_ORDER_MAINTAIN does not work
    If you find this answer of help then award some points so others can benefit from the answer as well.
    Best regards, Johan

  • Bought FCPStudio... how can I get hard print manuals for DVDStudioPro etc?

    Just bought FCP Studio... can't believe the box doesn't come with hard cover manuals for Motion, Compressor3, Live Type, Soundtrack Pro2, and most importantly of all, DVD Studio Pro4!
    I wouldn't even mind putting out more money for hard print manuals, but I can't find anyplace at the apple store online to even get them. I'm supposed to sit here and babysit multi thousands of pages of Apple notoriously inconcise manuals coming out of the printer like I pirated the software? I can't believe that I'm the only one who still reads paper manuals until they're dog-eared, I HATE reading manuals on the screen.
    Anyone know how and where I can buy paper manuals?
    Thanks!

    A bit OTT maybe but you may like to consider my option.
    I like you wanted to be able to consult manuals and tutorials while sitting at my main machine.
    I bought a cheap laptop a Pismo in this case more than capable I do also use it for autocue when doing voice overs which further justified its purchase.
    Like I said maybe OTT . . . maybe worth considering . . . .

  • How can I add a new entry for determining a requirement type

    Dear Friends,
    How can I add a new entry for determining a requirement type
    via Item Category + MRP type,  I see no new entries selection.
    This is in  Avb Check & TOR-> TOR-> Determination of req type using transaction.
    Please help.
    Regards
    Ravi.

    Availability Check and Transfer of Requirements > Transfer of Requirements > Define Requirements Types ?
    Just one node above?
    Never mind, you need to add entry on item category:S

  • Auto-create delivery for multiple sales orders

    I would like to ask how to create auto-create 'single' delivery
    for multiple sales order during release sales order in R11i.
    It is found in my example during release sales order, multiple
    sales orders fulfill release sales order criteria, a single pick
    slip is generated but it is found that each sales order have
    individual delivery with it. It will casue multiple pack slips
    for a singles pick slip. Is it normal feature for auto-create
    delivery, or any setup to solve it?
    Thanks in advance.

    Am not able to do Single Delivery for Muktiple sales orders
    Have you searched the forum for this question as to why you were not able to generate ??  It could be due to multiple reasons.  Please search the forum and update here what steps you have taken after taking the inputs from here, if the problem is still not resolved.
    thanks
    G. Lakshmipathi

  • How to block a business partner...in sales order????

    Hi all,
               While generating the sales order....In the customer tab i will select one business partner from CFL,after choosing i want one particular customer to be blocked....means it should unable to post the sales order.....i know that i should write my coding in the customer tab LOST FOCUS event......can anybody suggest me the coding for this problem....
    regards,
    shangai.

    Shangai,
    How about blocking some partner from ChooseFromList of BP in Sales Order?
    Meaning that blocked some bp with criteria in Choose From List. Sample code:
    If pVal.FormType = 139 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                If pVal.ItemUID = "4" Then
                    If pVal.InnerEvent And pVal.Before_Action Then
                        BubbleEvent = False
                        Dim oForm As SAPbouiCOM.Form
                        oForm = SBO_Application.Forms.Item(FormUID)
                        Dim oCons As SAPbouiCOM.Conditions                   
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        'oCFL = oCFLs.Add(oCFLCreationParams)
                        oCFL = oForm.ChooseFromLists.Item("2")
                        oCons = oCFL.GetConditions()
                        'Note: Add the condition only once.
                        If 0 = oCons.Count Then
                            Dim oCon As SAPbouiCOM.Condition
                            oCon = oCons.Add()
                            oCon.Alias = "Cardcode"
                            oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                            oCon.CondVal = "C0001"
                            'Set your own condition here instead of the system conditions
                            oCFL.SetConditions(oCons)
                        End If
                        BubbleEvent = True
                    End If
                End If
            End If
    Regards, Yatsea

  • How to force business to create Manual Invoice for a particular OM Trx Type

    Hi Guru's,
    How do i force business to create Manual Invoice for a particular OM Trx Type?For some order types,we dont want auto invoice to creae invoice automatically.business wanted to create manually.How do we achieve it.
    Rgds,AP

    Hello,
    I think you should create new source ( type manual ) and transaction type ( I think you can use this you use in autoinvoice) in AR. After that you can create manual invoice.
    Regards,
    Luko

  • Required item no: to populate custom field while creating item for a Sales order

    Hello Experts,
    I have created a custom field for item data of sales order using AET .
    I want to populate this field automatically when ever we create a new item for a sales order using UI or CRMD_ORDER or WCEM by concatenation Sales order number and item number.
    We are getting Item GUID but not getting the item number(need item number before getting saved is their any chance to get item number from item GUID ) to populate the field and save it.
    For this we tried using BADI's
    CRM_BTX_EXTENSIONS
    CRM_ORDERADM_I_BADI
    Thanks in advance,
    Manasa Veena P.

    Where did you add the field ?

Maybe you are looking for