How to CIF Z Sales Order Type?

Dear Experts,
I am facing a huge problem.
All my Z order types are not being CIFed to APO.
Is there any extra configuration?
Do I need to code any BADI, Exit?
Thanks a lot in advance,
Thiago

I accidentaly removed Thiago's last reply.
Here it is:
Mr. Sai
One more question...
I have a custom delivery type that is generated by a custom sales order type.
Nor the custom sales order type neither the custom delivery type has individual requirements.
Anyway, I need to send the Custom Delivery to APO once I want to plan a shipment to it in TP/VS.
Debugging EXIT_SAPLCSLS_002 I can see the CT_DOC and CT_REQ (CT_DOCX and CT_REQX) filled with all my Sales Orders and Deliveries that have individual requirements.
Looking in the other structures available in this User-Exit we can find:
CT_DOC_CUS = Customer Enhancement Structure for CIF_SL_DOC
CT_REQ_CUS = Customer Enhancement Structure for CIF_SL_REQ
It is not clear enough what it would be the purpose of these structures.
My goal is to send that Custom Delivery Type to APO.
How should I implement this User-Exit?
What does need to be filled?
Should I have to fill CT_REQ?
Should I have to fill CT_REQ_CUS?
Should I have to fill CT_REQX?
Do you have any example of code?
Thanks!!

Similar Messages

  • Add sales order type and switch off fields in webshop

    Hi all!
    Got questions for you!
    Does anyone know how to add possible sales order types in shop management. For now the only possible entry is ISBC, I have created a copy of this one with some other control functions, ZISB. What are the steps to make this a possible choice in Shop Management.
    I would also want to know if there is a "standard" way of switching of visibility of some of the fieds in the webshop.
    CRM 5.0, ECC 6.0, Scenario B2C.
    Thankful for input!
    Best Regards,
    Roland

    Hi Roland,
       I meet many problem in webshop configring, would you kind enough to give me some advise?
       1. SAP CRM5.0 SP2
       2. I use the standard order type:ISBC
    The first problem is:
    When I register a user from webshop.
    I can add the product into basket, but when I check it out, the system give me an error: 99  can't use partner xxx. (But we can check out the basket before, I dont where be changed.)
    Second:
    After check out, the system will create an order, but price of the order is zero, I dont know to resolve this question.
    Thank you very much.
    Eric

  • How to exclude sales office for combination sales order type/division?

    Hi experts,
    I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

    Hi
    Standard SAP functionality would not be able to cater to this. Ideally create a Z table with sales order type and sales office combination. Put in entries for combinations that are allowed. In Sales order program MV45AFZZ use the exit USEREXIT_MOVE_FIELD_TO_VBAK. In this exit write down the logic passing the sales office determined and the order type and check if the entry is there or not. If the entry is there then it should go on to the next step. If it does not then pass an error message. You need to use the help of your ABAP er for this.
    Thanks
    Indranil

  • How to configured pricing procedure to sales order type

    Dear Sir,
    Please tale me how to configure / change pricing procedure to sales order type. we have required to change pricing procedure from a to b for particular sales document type.
    Regards
    BK GAIKWAD

    HI
    Create a new document pricing pricedure
    SPRO>sales & distribution>basic functions>Pricing>Pricing Control-->Define And Assign Pricing Procedures
    and in the same path assign to your document
    and assign it to your document and also then to your Pricing procedure determination in OVKK
    regards
    Prashanth
    Edited by: Prashanth@SD on Jan 29, 2011 11:00 AM

  • How to fill conversion table TAUUM in BW for conversion of Sales Order Type

    When importing sales order data from SAP ECC to SAP BI, conversion routine AUART can be used to convert Sales order Type from its internal representation to an external representation.  (For example, the standard sales order has an internal Sales Document Type code TA, and an external code OR).
    The standards SAP conversion routine AUART uses table TAUUM as a lookup table.  This table has lots of data in SAP ECC, but it is empty in SAP BW.
    How can we copy data from table TAUUM in ECC to  table TAUUM in BW?
    Do we have to create a maintenance view on the table, and type in the entries? Or is there a more automated way?

    Hi Jay,
    Make sure the extract structure is active. You can check the same from LBWE > 11: SD Sales BW> MC11VA0STI is active.
    If the extract structure is active. Inorder to fill the setup table. First delete the setup table for the application area 11 from SBIW transaction. Then fill the set-up table for the application area 11 as you did for deliveries.
    Then check whether data source is pulling data.
    Let me know if there is an issue even after following the above steps.
    Thanks & Regards,
    Namrata

  • CIF: how to "push" a Sales Order item from ERP to SCM via FunctionModule ?

    Hello experts,
    we are implementing a process in ERP (ECC6.0) where we change a sales order item (VBAP- VPZUO) in order to stop SNP (LiveCache) performing the "fcst consumption" for this specific sales order since it is a spezial promotion / trade fair order which does not justify to change the fcst consumption for the entire product.
    We are searching for a function module or any ABAP "handle" of telling the CIF in ERP to "push" a specific sales order item thru to SCM again. We started with an artificial batch input in VA02 / VA32 and changed a non-used text field field in the sales order position and the document save was doing it. I wonder if someone run over same topic and found a better way to get this done with a specific function module or setting a specific trigger in some other ways.
    I was not sure if this is the correct forum - in case someone knows a better match on SDN I'm happy to move it over to the right place.
    Regards
    Thomas

    Hello Thomas,
    You can't really push a Sales Order seperately, and not advisable also as you should not tamper with CIF interface. I can give you another approach.
    You have to identify during CIF that the Sales Order is a special Sales Order. Better have a separate Sales order type for such special Sales Orders. That being the case, I think you can handle your issue by changing the ATP category of the Sales Order during CIF. The standard Order category is BM. You could create a custom category in APO, and during the transfer, you could change the Sales order category to this custom category. APOCF010  EXIT_/SAPAPO/SAPLCIF_SLS_001 exit (Inbound Sales Order in APO) should be helpful for this. You would need to change the ATP category field in IT_SL_REQ table.
    You could then display this "additional" Sales Order in a separate KF in SNP (if you need it) by assigning it a custom category group in SNP planning area which would have only this custom category. For normal SNP planning, normal SNP sales order of category BM would be relevant.
    Please be aware that when you try out things like this, you might need to tweak a lot of SAP standard behaviour at many other places. Things like CCR also need to be tweaked, and also whatever further planning you have to do for this particular Sales Order might also need to be tweaked.
    Thanks - Pawan

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

  • How to 'fix' an special procument key according to sales order type ?

    Hi Gurus,
    I need some help to solve an issue: how to "force" MRP to use a special procurement key (SOBLS) when the demand was originated by sales order type = "XYZ".
    Limits:
    - this is a MTO scenario, so MRP area is not an option (as far as I know)
    - due to the huge quantity of materials we cannot consider create new materials.
    Scenario:
    1. 'Plant A' and 'Plant B' can produce material 'AAAA'
    2. Only 'Plant A' is allowed to invoice.
    3. Material 'AAAA' produced in 'Plant A' cannot be sold, they will be used as components to other materials.
    4. Any external demand (sales) of material 'AAAA' must be handle by 'Plant B'.
    In other words: If a sales document (order type 'XYZ') ordering 10 units of material 'AAAA' is posted, my MRP (on plant 'A') must undestand that a purchase requisition (stock transfer, special procurement key 'Z1') needs to be created. All other demands will create Planned Orders (to be converted to Production Orders).
    I already tried to evaluate BADIS: MD_CHANGE_MRP_DATA, MD_ADD_ELEMENTS, MD_MODIFY_SOURCE, MD_PLDORD_CHANGE and MD_MRP_PARAMETERS ... with little success.
    Any clue will be appreciated.
    Regards,
    Jone.

    - "material AAAA" is a spare part and, also, an item BOM of "FG 1010"
    Lets imagine that:
    - "material AAAA" has MARC-BESKZ = 'E', MARC-SOBSL = '' and MARC-SBDKZ = '1' in both Plants,
    - no stock is avaliable,
    - there is a MTO Production Order of 'FG 1010' is demmanding 3 units of "material AAAA",
    - there is a sales order (spare parts) is requesting 7 units of "material AAAA".
    After a full MRP running (with RM61X-BANER=3), we would like to have:
    Plant A:
    Sales order segment 1 (MTO from 'FG 1010'):
    - Planned order of 3 units
    Sales order segment 2 (Spare parts sales Order):
    - Purchase Requisition of 7 units.
    Plant B:
    Sales order segment 2 (Spare parts sales Order):
    - Purchase Requisition of -7 units.
    - Planned order of 7 units.
    Sales org does the invoicing not the plant and you can set the delivering plant as plant B directly in the material master. But that's not feasible. Right now I would suggest you try creating (if they don't already exist) two special procurement keys first 40 and assign it in material master for plant A. Then other 52 assign it in item detail for the component in the BOM for the FG since it is MTO. For plant B not SPK is required from what you mentioned.
    Edited by: Jeevan Sagar on Jan 11, 2012 3:49 PM

  • Sales order type creates a project.  How do I change this?

    When I create a certain sales order type, it prompts me to enter a network type and a standard wbs.  I do not want this to happen.  How do I change this? Can any one help me with this?
    Edited by: Esi Ojior on Sep 1, 2011 2:02 PM

    Hi,
    Please check the incompletion procedure in VOV7 for your item category and go to OVA2 and navigate to the procedure under sales-item group.  Mark those fields (WBS element, network) as warning / remove the fields.
    But please make sure that this will impact all other item categories too which uses this incompletion procedure.
    Regards,
    P Gomatheeswaran

  • How to activate sale order type in CFM1

    Hi,
    I want to include Sale order type in CFM1 transaction to restrict specific Sale order types along with Plant.Is there any report or Tcode which will enable this field or we can only achieve through exit.
    Thanks
    Venkadesh

    Hello,
    Please check BAdi CIF_INT_MODEL method MODIFY_OBJECT_LIST Modifying list of filter objects.
    BAdI solution although it fulfills the general selection options.
    Also refer consulting note   902968 - No user exit/BADI to influence selection in CFM1
    Best Regards,
    R.Brahankar

  • How to Block Customer from Sales Order Type

    Hello Gurus!
    I was wondering if there was a way to block a specific customer from a sales order type? 
    We have 4 Sales Organizations, and 2 of them use this customer, with different sales order type for each sales organization.  So I only want to block this customer for 1 sales organization and a sales order type.....is this possible.  If so, please advise!
    I just want to block a customer from a sales order type. 
    Thank you for your time!
    Best regards,
    WC

    Hi,
    I have an wild idea just check it works or not--
    Create a dummy customer pricing procedure.whenever u want to bleck a customer for any particular order type assign this dummy pricing procedure in customer master(Sales Tab).
    Do not define any pricing procedure in SPRO against this customer pricing procedure
    The moment user will try to process any order type (which u want to block for a customer), the system will not determine any pricing procedure & consequently it will not allow to save the order.
    Hope it will solve the problem.
    Regards
    Sanjay

  • Error while CIF'fing Sales order to APO

    While I tried to CIF a Sales order from R3 to APO, there is ablicked Q in SMQ1 which reads
    "Too many parameters specified with perform" in the FM /SAPAPO/CIF_SL_DOC_INBOUND.
    Any ideas on what mightbe causing this issue and how to resolve this issue ?
    Thanks

    Hi
    In SMQ1 I had executed blocked Q (F6) and system shows an information at the bottom left hadn corner as "Function module does not exist or EXCEPTION raised"
    Even deleting Q and Reciffing SO didnt work..Application log in CFG1 doesn't show any exceptions. As the Q is blocked, I didn't see any meesages in APO log.
    R3 SMQ1 log is displayed as below.
    Function Module                 Queue Name                Status                                    
    /SAPAPO/CIF_SL_DOC_INBOUND      CFLDERPCLNT020_3316       Too many parameters specified with PERFORM.
    CFG1 extended Log for FM CIF_SL_DOC_INBOUND while Ciffing SO to APO
    Parameter: IS_APOINF
    O,
    Table: IT_REQX Entries:                   4
    No.,U,U,U,U,M,U,Purch.doc.  ,Item  ,Schd,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,
    1   , ,X, ,X,N,X,0000057680  ,000010,0001,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
    2   , ,X, ,X,N,X,0000057680  ,000010,0002,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
    3   , ,X, ,X,N,X,0000057681  ,000010,0001,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
    4   , ,X, ,X,N,X,0000057682  ,000020,0001,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
    Table: IT_SDDOC Entries:                   3
    No.,Pmnt,P,Matl No. ,Matl No.                                ,Matl Grou,Prod.Hier.        ,Ma,Ac,Re,Co,Val. Type ,Profit Ctr,Mat
    1   ,DCLF, ,MATERIALXYZ  ,                                        ,100   ,                  ,  ,  ,  ,  ,          ,Z001DU
    2   ,DCLF, ,MATERIALXYZ  ,                                        ,100   ,                  ,  ,  ,  ,  ,          ,Z001DU
    3   ,DCLF, ,MATERIALXYZ  ,                                        ,100   ,                  ,  ,  ,  ,  ,          ,Z001DU
    Table: IT_ATPFIELD Entries:                  83
    No.,Number      ,MRP it,Field    ,Char                                    ,
    1   ,0000057680  ,000010,LTIMEZONE     ,EST                                     ,
    2   ,0000057680  ,000010,LZONE     ,0000000001                              ,
    3   ,0000057680  ,000010,UEBTK     ,X                                       ,
    4   ,0000057680  ,000010,PRREG     ,AE                                      ,
    5   ,0000057680  ,000010,QNTY     ,31.000                                  ,
    6   ,0000057680  ,000010,RESMOD     ,X                                       ,
    7   ,0000057680  ,000010,RESMOD_BATCH     ,B                                       ,
    8   ,0000057680  ,000010,SCHED_BWLPROCESS     ,E                                       ,
    9   ,0000057680  ,000010,EXT_MATNR     ,MATERIALXYZ                       ,
    10  ,0000057680  ,000010,UNAME     ,USERV                                 ,
    11  ,0000057680  ,000010,/LPRIO     ,01                                      ,
    12  ,0000057680  ,000010,POSGUID     ,                                        ,
    13  ,0000057680  ,000010,BOP_FLAG     ,N                                       ,
    14  ,0000057680  ,000010,BOP_SUPPORT     ,Y                                       ,
    15  ,0000057680  ,000010,LREGIO     ,NC                                      ,
    16  ,0000057680  ,000010,/UEBTO     ,0.0                                     ,
    17  ,0000057680  ,000010,/UNTTO     ,0.0                                     ,
    18  ,0000057680  ,000010,APO_SD_GID_EXT0001GOISSUE_DATE,20081002195959                          ,
    19  ,0000057680  ,000010,APO_SD_GID_EXT0002GOISSUE_DATE,20081010200000                          ,
    20  ,0000057680  ,000010,APO_SD_WMENG0001     ,31                                      ,
    21  ,0000057680  ,000010,BPROC     ,ZAP1                                    ,
    22  ,0000057680  ,000010,/UEBTO     ,0.0                                     ,
    23  ,0000057680  ,000010,LOGSYS     ,ERPCLNT020                              ,
    24  ,0000057680  ,000010,LLAND     ,US                                      ,
    25  ,0000057680  ,000010,LAND1     ,US                                      ,
    26  ,0000057680  ,000010,KZAZU     ,X                                       ,
    27  ,0000057680  ,000010,APO_SD_REQ_EXT0002RECEIVE_DATE,20081012140000                          ,
    28  ,0000057680  ,000010,APO_SD_REQ_EXT0001RECEIVE_DATE,20081006040000                          ,
    29  ,0000057680  ,000010,/UNTTO     ,0.0                                     ,
    30  ,0000057681  ,000010,LZONE     ,0000000001                              ,
    31  ,0000057681  ,000010,BOP_FLAG     ,N                                       ,
    32  ,0000057681  ,000010,PRREG     ,A                                       ,
    33  ,0000057681  ,000010,UEBTK     ,X                                       ,
    34  ,0000057681  ,000010,SCHED_BWLPROCESS     ,A                                       ,
    35  ,0000057681  ,000010,RESMOD_BATCH     ,B                                       ,
    36  ,0000057681  ,000010,RESMOD     ,X                                       ,
    37  ,0000057681  ,000010,QNTY     ,21.000                                  ,
    38  ,0000057681  ,000010,BOP_SUPPORT     ,Y                                       ,
    39  ,0000057681  ,000010,EXT_MATNR     ,MATERIALXYZ                       ,
    40  ,0000057681  ,000010,UNAME     ,USERV                                 ,
    41  ,0000057681  ,000010,POSGUID     ,                                        ,
    42  ,0000057681  ,000010,/LPRIO     ,01                                      ,
    43  ,0000057681  ,000010,LTIMEZONE     ,EST                                     ,
    44  ,0000057681  ,000010,APO_SD_GID_EXT0001GOISSUE_DATE,20081014195959                          ,
    45  ,0000057681  ,000010,APO_SD_WMENG0001     ,21                                      ,
    46  ,0000057681  ,000010,/UNTTO     ,0.0                                     ,
    47  ,0000057681  ,000010,/UEBTO     ,0.0                                     ,
    48  ,0000057681  ,000010,BPROC     ,ZAP1                                    ,
    49  ,0000057681  ,000010,APO_SD_REQ_EXT0001RECEIVE_DATE,20081015040000                          ,
    50  ,0000057681  ,000010,/UNTTO     ,0.0                                     ,
    51  ,0000057681  ,000010,LREGIO     ,NC                                      ,
    52  ,0000057681  ,000010,LOGSYS     ,ERPCLNT020                              ,
    53  ,0000057681  ,000010,LLAND     ,US                                      ,
    54  ,0000057681  ,000010,LAND1     ,US                                      ,
    55  ,0000057681  ,000010,KZAZU     ,X                                       ,
    56  ,0000057681  ,000010,/UEBTO     ,0.0                                     ,
    57  ,0000057682  ,000020,LZONE     ,0000000001                              ,
    58  ,0000057682  ,000020,/LPRIO     ,01                                      ,
    59  ,0000057682  ,000020,POSGUID     ,                                        ,
    60  ,0000057682  ,000020,BOP_SUPPORT     ,Y                                       ,
    61  ,0000057682  ,000020,BOP_FLAG     ,N                                       ,
    62  ,0000057682  ,000020,PRREG     ,A                                       ,
    63  ,0000057682  ,000020,QNTY     ,11.000                                  ,
    64  ,0000057682  ,000020,UNAME     ,USERV                                 ,
    65  ,0000057682  ,000020,UEBTK     ,X                                       ,
    66  ,0000057682  ,000020,SCHED_BWLPROCESS     ,A                                       ,
    67  ,0000057682  ,000020,RESMOD_BATCH     ,B                                       ,
    68  ,0000057682  ,000020,RESMOD     ,X                                       ,
    69  ,0000057682  ,000020,EXT_MATNR     ,MATERIALXYZ                       ,
    70  ,0000057682  ,000020,LTIMEZONE     ,EST                                     ,
    71  ,0000057682  ,000020,/UEBTO     ,0.0                                     ,
    72  ,0000057682  ,000020,/UNTTO     ,0.0                                     ,
    73  ,0000057682  ,000020,APO_SD_GID_EXT0001GOISSUE_DATE,20081007175230                          ,
    74  ,0000057682  ,000020,APO_SD_WMENG0001     ,11                                      ,
    75  ,0000057682  ,000020,BPROC     ,ZAP1                                    ,
    76  ,0000057682  ,000020,APO_SD_REQ_EXT0001RECEIVE_DATE,20081006040000                          ,
    77  ,0000057682  ,000020,/UNTTO     ,0.0                                     ,
    78  ,0000057682  ,000020,/UEBTO     ,0.0                                     ,
    79  ,0000057682  ,000020,KZAZU     ,X                                       ,
    80  ,0000057682  ,000020,LAND1     ,US                                      ,
    81  ,0000057682  ,000020,LLAND     ,US                                      ,
    82  ,0000057682  ,000020,LOGSYS     ,ERPCLNT020                              ,
    83  ,0000057682  ,000020,LREGIO     ,NC                                      ,
    Table: IT_REQ Entries:                   4
    No.,M,EinkBeleg   ,Positi,Eint,MatNr                     ,Werk                ,AT,Charge    ,V.be,Offen              ,Menge ,Pla
    1   ,N,0000057680  ,000010,0001,MATERIALXYZ                      ,LOC10                ,BM,       ,    ,31.000
    2   ,N,0000057680  ,000010,0002,MATERIALXYZ                      ,LOC10                ,BM,       ,    ,0.000
    3   ,N,0000057681  ,000010,0001,MATERIALXYZ                      ,LOC10                ,BM,       ,    ,21.000
    4   ,N,0000057682  ,000020,0001,MATERIALXYZ                      ,LOC10                ,BM,       ,    ,11.000
    Table: IT_QUOT_VB Entries:                   0
    No.,Number      ,MRP it,PlanObj no            ,TSTAMP             ,ConfirmQty       ,Uni,ConfirmQty      ,Item ind.
    Table: IT_CCV Entries:                   0
    No.,Table                         ,CharValObj                                   ,Class    ,Char.                         ,Valid
    Table: IT_DOC Entries:                   3
    No.,M,EinkBeleg   ,Positi,V,V.be,
    1   ,C,0000057680  ,000010,C,TA  ,
    2   ,C,0000057681  ,000010,C,ZOR,
    3   ,C,0000057682  ,000020,C,ZOR,
    Table: IT_GID Entries:                   0
    No.,Purch.doc.  ,Item  ,GUID                  ,
    Table: IT_DOCX Entries:                   3
    No.,M,Purch.doc.  ,Item  ,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,
    1   ,C,0000057680  ,000010,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
    2   ,C,0000057681  ,000010,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
    3   ,C,0000057682  ,000020,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
    Table: IT_ENQUEUE_ARGS Entries:0
    No.,Cli,Model     ,LogSystem ,APOAppl   ,Created on,Changed ,ObjectType,Segm,S,BlockN,Created by  ,A,Lengt,Vector
    Table: EXTENSIONOUT Entries:                   0
    No.,Structure                     ,Data
    Table: IT_DOC_TPDS Entries:                   0
    No.,Purch.doc.  ,Item  ,Location            ,API ,Purc,Purch.doc.  ,Item  ,
    Table: IT_DOC_CUS Entries:                   0
    No.,Purch.doc.  ,Item  ,
    Table: IT_REQ_CUS Entries:                   0
    No.,Purch.doc.  ,Item  ,Schd,Date      ,
    Table: IT_QUEUE_NAMES Entries:                   0
    No.,Q Name                  ,Dest.           ,
    Table: IT_SD_MON_ITM Entries:                   0
    No.,M,Number      ,Item  ,G,CustFacLoc          ,CusF,Location            ,Loc.,Re,RJ,NO,RE,HighLe,Numera,Denom.,Uni,Numera,Deno
    Table: IT_SD_MON_SCH Entries:                   0
    No.,M,Number      ,Item  ,Schd,GI Dt/Time,UE,
    TIA
    Edited by: SCM_Func on Oct 6, 2008 7:19 PM

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • How to create a sales order step by step please..

    hi,
    how to create a sales order in detail step by step.
    Regards,
    BBR.
    Edited by: BBR on Dec 7, 2008 7:47 PM
    Edited by: BBR on Dec 7, 2008 7:53 PM

    Hi BBR
    Check the following configurations are done or not
    1)Go to VOR1 & VOR2 and assign dist channels and divisions to sales orgn.
    2) SPRO->sales and distribution->basic functions->setup partner determination , here you maintain partner determination with the partner functions for Customer account group ,standard for sold to party is 0001
    3) Create a customer with XD01
    4) In OVAZ assign the sales document types to your sales area
    5) Go to  VN01 and maintain number ranges and assign to your sales document type (Ex: OR)
    6)Go to VOV8 and select the  sales document type(Ex: OR) and there you assign the number range
    7) IN VOV4 check the item category determination is correct or not
    8)Go to OVKK and Assign pricing procedure RVAA01 to your sales area,Cupp ,Dupp.
    9) Maintain conditon records for the condition types that are there in the pricing procedure
    10) Create a Material Master Record(MMR)
    11) Now you can create the sales order with VA01
    Regards
    Srinath

  • How to create the sales order using BAPI's ....?

    Hi Guru's,
    could you please provide how to create the sales order using BAPI's .....i need step by step process and please provide the details from scratch....basically  i don't have basic knowledge on this....please provide required inputs ....:)
    thanks in advance
    Srinivas......

    Hi Guru's thanks for your inouts and your valuble time...
    please find the program logic below...
    *& Report  ZAREPAS30
    REPORT  zarepas30.
    DATA : gs_vbeln                   TYPE  vbak-vbeln,
           gs_order_header_in         TYPE  bapisdhd1,
           gs_order_header_inx        TYPE  bapisdhd1x,
           gt_order_items_in          TYPE  STANDARD TABLE OF bapisditm,
           gwa_itab1                  TYPE  bapisditm,
           gt_order_items_inx         TYPE  STANDARD TABLE OF bapisditmx,
           gwa_itab2                  TYPE  bapisditmx,
           gt_order_partners          TYPE  STANDARD TABLE OF bapiparnr,
           gwa_itab3                  TYPE  bapiparnr,
           gt_return                  TYPE  STANDARD TABLE OF bapiret2,
           gwa_itab4                  TYPE  bapiret2.
    Sales document type
      PARAMETERS: p_auart TYPE auart OBLIGATORY.
    Sales organization
      PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    Distribution channel
      PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    Division.
      PARAMETERS: p_spart TYPE spart OBLIGATORY.
    Requested Delivery Date
      PARAMETERS: p_edatu  TYPE edatu OBLIGATORY.
    Sold-to
      PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    Ship-to
      PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    Material
      PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    Quantity.
      PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    Plant
      PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    Start-of-selection.
      START-OF-SELECTION.
    Header data
    Sales document type
      gs_order_header_in-doc_type = p_auart.
      gs_order_header_inx-doc_type = 'X'.
    Sales organization
      gs_order_header_in-sales_org = p_vkorg.
      gs_order_header_inx-sales_org = 'X'.
    Distribution channel
      gs_order_header_in-distr_chan  = p_vtweg.
      gs_order_header_inx-distr_chan = 'X'.
    Division
      gs_order_header_in-division = p_spart.
      gs_order_header_inx-division = 'X'.
    Reguested Delivery Date
      gs_order_header_in-req_date_h = p_edatu.
      gs_order_header_inx-req_date_h = 'X'.
      gs_order_header_inx-updateflag = 'I'.
    Partner data
    Sold to
      gwa_itab3-partn_role = 'AG'.
      gwa_itab3-partn_numb = p_sold.
      APPEND gwa_itab3 TO  gt_order_partners .
    ship to
      gwa_itab3-partn_role = 'WE'.
      gwa_itab3-partn_numb = p_ship.
      APPEND gwa_itab3 TO  gt_order_partners .
    ITEM DATA
      gwa_itab2-updateflag = 'I'.
    Line item number.
      gwa_itab1-itm_number = '000010'.
      gwa_itab2-itm_number = 'X'.
    Material
      gwa_itab1-material = p_matnr.
      gwa_itab2-material = 'X'.
    Plant
      gwa_itab1-plant    = p_plant.
      gwa_itab2-plant   = 'X'.
    Quantity
      gwa_itab1-target_qty = p_menge.
      gwa_itab2-target_qty = 'X'.
      APPEND gwa_itab1 TO gt_order_items_in.
      APPEND gwa_itab2 TO gt_order_items_inx.
    Line item number.
      gwa_itab1-itm_number = '000020'.
      gwa_itab2-itm_number = 'X'.
    Material
      gwa_itab1-material = p_matnr.
      gwa_itab2-material = 'X'.
    Plant
      gwa_itab1-plant    = p_plant.
      gwa_itab2-plant   = 'X'.
    Quantity
      gwa_itab1-target_qty = p_menge.
      gwa_itab2-target_qty = 'X'.
      APPEND gwa_itab1 TO gt_order_items_in.
      APPEND gwa_itab2 TO gt_order_items_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
        order_header_in               = gs_order_header_in
        ORDER_HEADER_INX              = gs_order_header_inx
      IMPORTING
        SALESDOCUMENT                 = gs_vbeln
      tables
        RETURN                        = gt_return
        ORDER_ITEMS_IN                = gt_order_items_in
        ORDER_ITEMS_INX               = gt_order_items_inx
        order_partners                = gt_order_partners.
    Check the return table.
      LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error occured while creating sales order '.
      ELSE.
    Commit the work.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WRITE: / 'Document ', gs_vbeln, ' created'.
      ENDIF.

Maybe you are looking for

  • In LR 4.4, can no longer add new photos/video

    Windows Vista, Service Pack 2.  4 GB RAM. I've had LR 4 for more than 2 years.  Worked just fine.  Have not used for past year, as I have been traveling.  Now, I cannot add new photos or video to my catalog.  I have tried using my usual method of "Op

  • Need to call FM after the updation of the table

    Hi Experts,     In the user exit 'Exit_sapllmde_006' of l_idoc_input_wmmbxy am using  function module WFMC_MESSAGE_SINGLE for triggering orders05 idoc. The function module l_idoc_input_wmmbxy updates the table EKBE. But this update takes place only a

  • Transfer of goods from Manufacturing Plant to Sales Depot plant

    Hi, The Client is having Manufacturing Plant and Depo Plant wherein the goods shall be transported to Depo with Exice Invoice and sold from there without any excise duty. As per SAP best practice, we have maintained the Price Control as 'S' in the Ma

  • Responsibility does not show up in External Web Tier

    Hi All, We have configured 12.1.3 instance with 1 DB Node, 2 Apps Nodes and an external web tier. Everything loooks good as per configuration but none of the responsibilities show up in the external web tier even after setting the profile option(RESP

  • ITunes Match question

    I'd like to know if this will work. If I download Matched songs in iTunes and then burn them to a CD, go back to my computer and move those songs and their files from iTunes to the trash, then import the songs from the CD, will these songs then be ma