Steps to create STO using ME21N transaction

Hi,
Can anyone give me the steps to follow to create STO using ME21N transaction. When i try to create it, i am getting the error message : Not possible to determine shipping data for material 3863...
Please guide me...
Thanks in Advance,
Phani Kumar. S

I got the same error it was because in customizing you specify plant master data that is linked to a customer master record.  You need to make sure the customer master data is set up from a sales perspective.  E.g. customer must be extended to appropriate sales org. and division.  Same with the material master but the customer master was my problem.  This is configuration and you will have to move it through the transport queue so if you have a problem in your production system it will require a transport.
Jeremy McGurk

Similar Messages

  • Steps to create  service in   SICF   transaction

    hi..
    steps to create  service in   SICF   transaction
    thank you.

    hi
    good
    go through this link
    http://help.sap.com/saphelp_nw70/helpdata/en/78/9852aec06b11d4ad310000e83539c3/frameset.htm
    thanks
    mrutyun^
    null

  • OSS note 1480794 for  the "Steps to Create endpoints using a "Business Conf

    Hi All, 
    I am nearly complete with the Duet Setup Wizzard but I do still have a few red lights on my check tool.
    My main problem is:
    When I follow the instructions in OSS note 1480794 for  the "Steps to Create endpoints using a "Business Configuration Scenario" XML:"
    When I press activate I get the below errors:
    Unknown webservice definition with name CustomerERPBasicDataByIDQueryResponse_In_V2 / http://sap.com/xi/APPL/SE/Global
    Unknown webservice definition with name CustomerERPRelationshipContactPersonByIDAndContactPersonInternalIDQueryResponse_In / http://sap.com/xi/APPL/SE/Global
    Unknown webservice definition with name CustomerERPBasicDataUpdateRequestConfirmation_In / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name CustomerERPRelationshipContactPersonCancelRequestConfirmation_In / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name CustomerERPRelationshipContactPersonCreateRequestConfirmation_In / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name CustomerERPByIDQueryResponse_In / http://sap.com/xi/APPL/SE/Global
    Unknown webservice definition with name CustomerERPRelationshipContactPersonUpdateRequestConfirmation_In_V1 / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name MaterialBasicDataByIDQueryResponse_In / http://sap.com/xi/EA-APPL/SE/Global
    Unknown webservice definition with name ProductionBillOfMaterialVariantItemByVariantIdentifyingElementsQueryResponse_In / http://sap.com/xi/EA-APPL/SE/Global
    Unknown webservice definition with name ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In / http://sap.com/xi/EA-APPL/SE/Global
    I have restarted the Wizzard a few times to check my setup and I cant find any steps that I have missed that would cause these error's.
    Hope you can advise.
    Many Thanks
    Mike

    Hi Sameh,
    do you want to go live with the full scope of Starter Service , or do you just needs part of it?
    With the steps outlined in the blog everything is 100% supported (this is not a hack, but just another way to configure Starter Services).
    However, not all the functionality of the Starter Services will work (e.g. like the Updating / Creation of a new contact). But if you do not need that you are perfectly fine.
    I remember that with EhP4 you need to be on SP06 of ECC-SE. Maybe this is also the reason in your case why the service is not available.
    Regards,
    Holger.

  • Can we create sto using BAPI_PO_CREAT1

    BAPI_PO_CREAT1
    what are the required fields to create STO using above bapi.
    or
    any other bapi to create STO.
    Thanks & Regards,
    Ramesh.T

    Hi Friend,
    You can us the BAPI for creating STO.
    Document type will be UB.
    You need to pass value on supplying plant insted of vendor.
    Rest of the things are same as like creating PO.
    Regards
    Krishnendu

  • Steps for Creating Report  using LDB

    hellow sirs
    can u please tell Step by Step method for creating Reports using LDB method...
    if possible with screen Shots..
    thanking You
    Rahul

    Hi,
    Please refer the code below:
    Use the PNP LDB for this program,
    *: Report:  ZP_POSTCODE                                                :
    *: Date  :  2004                                                       :
    *: Description: Displays report of employees by postcode area,         :
    *:              includes current travelling allowances (i.e. parking   :
    *:              permit or transport card etc..)                        :
    *: Use:         Help encourage the use of car sharing and public       :
    *:              transport where appropriate.                           :
    REPORT  zp_postcode.
    type-pools: slis.                                      "ALV Declarations
    NODES: pernr.
    INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.
    SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.
    SELECT-OPTIONS: so_pcode FOR p0006-pstlz.
    SELECTION-SCREEN END OF BLOCK pcode.
    TYPES: BEGIN OF t_output,
      pernr       TYPE p0001-pernr,   "personnel name
      anredtxt    TYPE t522t-atext,   "title (based on p0002-anred)
      fname       TYPE p0002-vorna,   "first name
      lname       TYPE p0002-nachn,   "last name
      orgtx       TYPE t527x-orgtx,   "dept
      fte         TYPE p0008-bsgrd,   "fte
      parking(20) TYPE c,
      payslip     TYPE t526-sachn,        "payslip address
      telno       TYPE p0105-usrid_long,  "tel number(p0105-usrty = 0020)
      email       TYPE p0105-usrid_long,  "email (p0105-usrty = MAIL)
      postcode    type p0006-pstlz,
    END OF t_output.
    DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,
          wa_output TYPE t_output.
    *ALV data declarations
    data: fieldcatalog   type slis_t_fieldcat_alv with header line,
          gd_tab_group   type slis_t_sp_group_alv,
          gd_layout      type slis_layout_alv,
          gd_repid       like sy-repid,
          gt_events      type slis_t_event,
          gd_prntparams  type slis_print_alv,
          gd_count(6)    type n,
          gd_outtext(70) type c,
          gd_lines       type i.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    clear: gd_count.
    GET pernr.
    * Infotype 0121 is used to store multiple contracts for personnel.
    * Field p0121-hpern contains the personnel number for the main contract.
      PROVIDE * from p0121 between pn-begda and pn-endda.
    *   Check if main contract
        if p0121-pernr ne p0121-hpern.
          reject.
        endif.
      ENDPROVIDE.
      add 1 to gd_count.
      concatenate 'Processing personnel data'(m10) gd_count into gd_outtext
                separated by ' '.
    * Display indicator for employee count
      perform progress_indicator using gd_outtext.
    * Retrieve datd from infotypes
      rp_provide_from_last p0000 space pn-begda pn-endda.
      rp_provide_from_last p0001 space pn-begda pn-endda.
      rp_provide_from_last p0002 space pn-begda pn-endda.
      rp_provide_from_last p0006 space pn-begda pn-endda.
      rp_provide_from_last p0008 space pn-begda pn-endda.
      rp_provide_from_last p0014 space pn-begda pn-endda.
    * Check post code
      CHECK p0006-pstlz IN so_pcode.  "cp
    * Post code
      wa_output-postcode = p0006-pstlz.
    * Personnel number
      wa_output-pernr = pernr-pernr.
    * Personnel title
      SELECT SINGLE atext
        FROM t522t
        INTO wa_output-anredtxt
       WHERE sprsl EQ sy-langu AND
             anred EQ p0002-anred.
    * First name
      wa_output-fname = p0002-vorna.
    * Last name
      wa_output-lname = p0002-nachn.
    * Organizational Unit text (dept)
      SELECT SINGLE orgtx
        FROM t527x
        INTO wa_output-orgtx
       WHERE sprsl EQ sy-langu AND
             orgeh EQ p0001-orgeh AND
             endda GE sy-datum.
    * FTE
      wa_output-fte = p0008-bsgrd.
    * Parking / travel deducted?
      CASE p0014-lgart.
        WHEN '7180' OR '7181' OR '7182'.
          wa_output-parking = text-002.
        WHEN '7183'.
          wa_output-parking = text-001.
        WHEN '7171' OR '7172' or '7173' or '7174' or
             '7175' or '7176' or '7177' or '7178'.
          wa_output-parking = text-003.
      ENDCASE.
    * Payslip Address
      SELECT SINGLE sachn
        FROM t526
        INTO wa_output-payslip
       WHERE werks EQ p0001-werks AND
             sachx EQ p0001-sacha.
      PROVIDE * from p0105 between pn-begda and pn-endda.
    *   Telephone numbers
        if p0105-usrty = '0020'.
           wa_output-telno = p0105-usrid_long.
        endif.
    *   Email address
        if p0105-usrty = 'MAIL'.
           wa_output-email = p0105-usrid_long.
        endif.
      ENDPROVIDE.
      append wa_output to it_output.
      clear: wa_output.
    *END-OF-SELECTION.
    END-OF-SELECTION.
    describe table it_output lines gd_lines.
    if gd_lines gt 0.
      perform build_fieldcatalog.
      perform build_layout.
      perform display_alv_report.
    else.
      message i003(zp) with 'No records found'.
    endif.
    *&      Form  PROGRESS_INDICATOR
    *       Displays progress indicator on SAP screen
    form progress_indicator using p_text.
      call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
    *         PERCENTAGE = 0
               text       = p_text.
    endform.                    " PROGRESS_INDICATOR
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'PERNR'.
      fieldcatalog-seltext_m   = 'Personnel No.'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
    *  fieldcatalog-emphasize   = 'X'.
    *  fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ANREDTXT'.
      fieldcatalog-seltext_m   = 'Title'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FNAME'.
      fieldcatalog-seltext_m   = 'First Name'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'LNAME'.
      fieldcatalog-seltext_m   = 'Last Name'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ORGTX'.
      fieldcatalog-seltext_m   = 'Department'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FTE'.
      fieldcatalog-seltext_m   = 'FTE'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PARKING'.
      fieldcatalog-seltext_m   = 'Parking/Metrocard'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PAYSLIP'.
      fieldcatalog-seltext_m   = 'Payslip Add.'.
      fieldcatalog-col_pos     = 7.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'TELNO'.
      fieldcatalog-seltext_m   = 'Telephone'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EMAIL'.
      fieldcatalog-seltext_m   = 'E-mail'.
      fieldcatalog-col_pos     = 9.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'POSTCODE'.
      fieldcatalog-seltext_m   = 'Post code'.
      fieldcatalog-col_pos     = 10.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_layout-zebra             = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_output
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT

  • Steps to create IDOC when MB1C transaction trigger

    Hello,
    I want to create IDOC whever MB1C (Goods reciept) transaction is triggered. Basically I need to fill header and item data in IDOC segments and send that IDOC to 3rd party system. What are the steps need to follow in SAP to achieve this functionality. Also, if any IDOC failuer in 3rd party system, how do we re-trigger the IDOC again with the same data.
    Thanks,
    Shreekant

    Hi Brad,
    Thanks for your reply, please can you provide me the steps to create o/p type for MB1C transaction in NACE transaction?
    I searched in sdn but no proper postings are available.
    Waiting for your reply,
    Shreekant

  • Adding a column at item level while creating PO using ME21N

    Hi,
    My requirement is to add new column in Item overview of PO at the time of creation. Same should be displayed in ME22N and ME23N.
    I tried doing same using BADI ME_PROCESS_PO_CUST using interface PROCESS_ITEM after adding field QSSYS in EKPO table.
    I have also tried exit MM06E005  / EXIT_SAPMM06E_013.
    Kindly let me know steps.
    Thanks & Regards,
    Vidhi

    Hi Vidhi,
    I think you can not add new column in standard one. Create a custom tab at item level and use that.
    [Me21n Tab|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29]
    Regards,
    Madhu.

  • Addition of the tab in the PO Create / Change using ME21N/ME22N Via BADi.

    Hi All,
    I am trying to add an additional tab in the scree of the Transacton ME21N / ME22N at the Item Level. The Label  of the tab is 'Test123'.
    I have already created a Separate screen ZTEST1_111 Dynpro 0100 and have a box with two input fields and the twp radio buttons
    and a Push button.
    I have Created the Implementation of the BAdi ME_GUI_PO_CUST and have Written the code inside the Method Suscribe where I have put in the code as follows:
    wa_susc-name = 'BOX1'.
    wa_susc-program = 'ZTEST1_111'.
    wa_susc-dynpro = '0100'.
      wa_susc-STRUCT_NAME = 'ZMEPO_BADI_STRUCT1'.
      wa_susc-label = 'Test123'.
    wa_susc-position = 5.
    wa_susc-height = 7.
    append wa_susc to RE_SUBSCRIBERS.
    I have also written some piece of code to the other methods as well.
    Please do let me know where have I gobe wrong. why there is no result inspite of doing the right coding.
    Am I missing on something...?
    Please guide me the right way..? If in case I need to do anything more..?
    Regards,
    Deepak.

    Hi,
    You have to implement ME_PROCESS_PO_CUST for this.
    method if_ex_me_process_po_cust~fieldselection_item this method enables you to influence the field selection properties for a field.
    By making changes to this table CH_FIELDSELECTION - Field selection table, you can influence the display properties of a field.
    it has following for selection status
    '-'   Field is suppressed
    *''   Field is purely a display field
    '.'   Input field
    '+'  Mandatory field.
    Hope this helps.
    Regards,
    Pawan

  • How to Create PO using ME21N and generate and IDoc for it???

    Hi All,
    Could anyone please tell me step by step process of creating purchase order and generating an IDoc for it.
    I have given all the Vendor Details, Purchase Org'n, Account Group and Company Code.
    I have given Material Details - Material Number , Quantity , Net Price, Delivery Date and Plant No.
    What step do i need to further to complete the PO and generate IDoc for it.
    Thanks
    Chinna

    Thanks Naren, Your Answer is Really Helpful.
    Now i am able to Generate the IDoc for the PO. But the Status of IDoc is 30.
    What does it mean?
    Receiver Exists, No Filters, No Interface , No Version Change.
    Why isn't my IDoc Posted ??
    It says it is ready for Dispatch.
    I'll be waiting for ur valuable replies.
    Thanks once again Naren,
    Chinna

  • Making a header field as non editable while creating PO using ME21n

    Hi Friends,
    Could any one tell me the BADI or screen exit to make a header field (for eg: EKGRP - Purchasing Group) as non editable after giving default value to it?
    Thanks in advance,
    Ram

    Hi Ram,
    goto se80 t-code and give 'ME' package, and now see the enhancements available.
    You l get a relavent one, if you go through all those.
    Hope this helps
    Regards,
    Sujatha

  • Creating PO with me21 using call transaction

    hi,
    I need some help regarding the application:
    i have to build a custom screen having fields for creating PO using me21 transaction using call transaction.
    would anybdy please guide me how to do it.
    i wd appreciate ur help

    Hi Harpreet
               For creating a custom screen you will ve to use a screen exit. For purchase order 'MM06E005' will be useful. Explore it in XN SMOD.
    Regards
    PRAFUL

  • Steps to create customer in SAP r/3

    Hi All,
    Can anybody send me steps to create customer using FD01, Thanks.
    regards,
    Vishal

    Dear Vishal,
    In Transaction FD01,
    1)Give the relevant Account Group, Company code and the Sales Area for which you want to create customer and click continue.
    2)Enter all the address details in the General Data and after finishing that,
    3Go to Company code data - fill up the reconciliation account number and fill up the payment terms details relating to FI and then save the document.
    Hope this helps.
    Reward points if satisfied.
    Thanks and regards.
    Augustine Ponraj

  • Shopping Cart creation using BBPSC01 transaction

    Hi experts,
    We are using SRM 7 standalone scenario and trying to create SC using BBPSC01 transaction. We are able to create SC with no errors and able to see SC number after ordering SC.  SC number which we got in screen BBPSC01 transaction, we tried to check in BBP_PD transaction but it is not showing there.  Can somebody help me with this ?
    Best Regards,
    Kunal Sanghavi

    Hi Kunal,
    Kindly set up a portal to create requests. SRM 7.0 is based on Webdynpro architecture.
    You may refer to the following document to setup the portal.
    http://wiki.sdn.sap.com/wiki/display/EP/SystemCreationin+portal
    Let us know if you still face the issue.
    Regards,
    Nikhil

  • Unable to create delivery using ADSUBCON

    Hi Gurus,
    I am unable to create delivery using ADSUBCON transaction for the PO which has material with different Order Unit. My base unit of measure is EA where as the Order unit is Roll. If I delete the order unit system allows me to create delivery where the PO.
    Why the system does not allow me to create the delivery when the order unit is different than base unit of measure.
    Thanks in advance,
    Shashidhar
    Edited by: Shashidhar on Jan 29, 2011 5:19 AM

    HI,
    Its already been  maintained.
    Shashi

  • Exit/ BAdi to change delivery priority in ME21n while creating STO

    Hi,
    I'm trying to create STO through transaction ME21N. After entering the header data and material no. when i press enter i'm able to see the item level data. Here in item details, under tab 'Shipping' there is a field 'Delivery priority'. I want to influence this field. Is there any user exit / BAdi available that can be used to modify this field when i press enter after entering the header data and material??( i.e. Before Save).
    I have tried creating implementation in BAdi 'ME_PROCESS_PO_CUST'. But during testing control was not stopping at the break-point.
    Please suggest me solution to this problem.

    Hi
    Create an Implementation ME_PROCESS_PO_CUST  (like   Z_ME_PROCESS_PO_CUST) and check the method
    IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM     Processing of Item Data
    and keep a break-point   u have SET_SHIPPING_DATA  and GET_SHIPPING_DATA Methods
    INterface Name  :::IF_PURCHASE_ORDER_ITEM_MM
    EKPV--LPRIO  for Delivery Priority
    surya

Maybe you are looking for