Exit to capture customer number in STO

hi ,
  I need to capture the customer number and sales area at the item level (you can find it on the shipping tab) of an STO.
is there any Exit where we can do this 
Points will be rewarded.
Cheers
Snehi Chouhan

Hi Snehi,
Check this code in include LMEGUICI3 and main program
SAPLMEGUI
PERFORM get_shipping_data IN PROGRAM saplmepo
                                        USING    l_mepoitem-ebelp
                                        CHANGING l_mepo1331.
Here shipping data is being populated to screen. Not sure of exit.
Did u tried checking below exits also.
EXIT_SAPMM06E_006
EXIT_SAPMM06E_007
EXIT_SAPMM06E_008
EXIT_SAPMM06E_009
EXIT_SAPMM06E_012
EXIT_SAPMM06E_013
EXIT_SAPMM06E_014
EXIT_SAPMM06E_016
EXIT_SAPMM06E_017
EXIT_SAPMM06E_018
I think one of these will servve ur requirement. IF i found some thing i will let u know.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jun 17, 2008 5:43 PM

Similar Messages

  • Exit to insert customer number in PO

    Hello all,
    I have a sales order and I create a requisition / purchase order - make to order document with account assignment category E.
    In the account assignment tab I have to insert the sales order number.
    Do you know if it is possible, in that moment or when I save the document, to have the customer number (from sales order) - CMMDA-KUNNR (Customer in Delivery Address tab)  - filled automatically. This is because I want to have the customer address and not the plant address and if I change manually this field I have the customer address. However I want to have this process automatically.
    Thanks in advance for any help.

    if you want the vendor to deliver directly to a customer, then this is called  a third party process.
    This process starts in SD - automatically a PR will be created, and the PR has already the customers adress within, once you convert the PR to a PO the delivery adress has the customers adress.
    Using the correct process will save some time for programmers

  • STO PO Customer number

    Hi Expert,
    There is stock transport Purchase order. As we know, there is customer number in shipping data page of item details view.
    Now the problem is as per customizing,  the right customer number is not getting triggred in the shipping data page of the item overview instead of this other customer number is coming.
    some times right customer number is determined in the STO PO shipping data page and some times other customer number is getting triggred but i dont find any change log in the customizing
    I have checked all relevant customization setting 1) Shipping point for the plant 2) customer master etc.
    Can you please tell me what could be the reason ..
    Mari

    Hi,
    The customer number in the shipping tab is the custoer created in supplying plant for the recieving plant.
    Since recieving plant act as a customer for supplying plant.
    U create the recieving plant as customer in supplying plant sale area.
    So in customization check for the recieving plant in define shipping data for plants which customer no. u have assigned.
    So in PO based on recieving plant u have entered in line item , the corresponding customer no. will be avialable in shipping data tab.

  • Customer number not in the inspection lot for a make to order scenario

    Hi All,
    I know that standard SAP will get the Customer number into Insp. lot only for insp. types 10/11/12.  I am wondering if someone know a way to get the customer no. into insp. lot for insp. type 04 where the material is make-to-order scenario and the Production/Process order has the Sales order and customer no. without activating User-exit.  The quality users want to be able to see the customer no. in insp. lot without having them to go to process order. 
    It makes no sense to me why the customer no. is not brought into insp. lot when that is available in the Prod/process order, which can further be used to select the customer specific insp. plans for 04 insp. type Insp. lot without using Variant configuration.
    Any light on this topic is appreciated.
    Thanks.

    Hi Srikant,
    I guess.........
    Normally the inspection lot refers the triggering document that are the trigger cause for them.
    - Inspection type 01: - Purchase Order and GR material document.
    - Inspection type 03: - Pro. Order Number
    The same way...
    The inspection type 10\11\12 are purely related to the SD, and directly integrates QM and SD. Hence in the inspection lot for the inspection types directly integrated to SD, it will furnish the Sales order number \ Customer.
    But the inspection type 04 is purely have it's relation to Production process. So it will have the details related to integrations it has i.e. the "Pro. Order." Hence it integrates QM-PP, it have the data related to PP (Pro Order), not the SD's one.
    But I think one way you can achieve it,
    Assign the Customer number also to the inspection plan along with the Material. So I think at the time of assigning the inspection plan to the inspection lot, it will refer the Customer number also and will display the Customer number along with Task list Group\Group Counter, in the inspection specification screen in QA03/02
    Regards,
    Shyamal

  • Customer number to be populated as co pa characteristics in rev line item FB50

    Hi
    FB50
    Debit Customer
    Credit Revenue with profitability segment as cost object
    In profitability segment customer number has one of the characteristics.
    In this credit line above we need to populate the customer field (which is part of co pa characteristics)
    from debit line item as part of co pa characteristics.
    Is it possible. An earliest response would really be appreciated.
    Aparrajith

    Hi Aparajith
    You can write your Code in the exit COPA0005 on the similar lines as provided in the Note
    I have asked people to implement the note in similar occassions in SCN Forum and till date no one has said that this did not work..
    I would suggest ask your ABAP guys to debug and check the reason for not working.. Else, writ your own code
    Br. Ajay M

  • Update the FI document with the PO customer number

    Hi,
    Is it possible to update a header field or item line field of customer of the FI document with the PO customer number or sales document of PO (VBAK-VBELN) at the billing moment. I cannot do by standard substitution because the original field is not saved in the table BSEG or BKPF. 
    Thanks,
    Cecilia

    It can be done via substitution with exit.
    You can configure your exit and then ABAPer can define the code for that exit in the copy of the program RGGBS000 assigned to the substitution in view V_T80D (Transaction SM30)
    In ABAP code you can fetch the values from various tables.
    Regards,
    Gaurav

  • How to get user detail (Customer number) in Visual Composer

    Dear All
    I am developing a Sales Order Search application for Customers of my company.
    Whenever customer logs in to the portal and access this application, he will get the information on Sales Orders created by him.
    VC application should capture the customer number of the user and execute the BAPI.
    I am not able to capture the customer number of the customer logged in.
    In our portal implementation, customer number is a customized entry in Identity management.
    Using User Data in VC is not helping me as I am not able to see customer number in it.
    Kindly help.
    Regards
    Vineet Vikram

    Hi
    It is resolved now.
    Regards
    Vineet

  • How to capture workitem number

    Hi Experts,
    We have custom workflow for creating material master. The main workflow contains different sub workflows and tasks. The workflow has 4 levels approvals and it has been triggering from Z transaction using event.
    We have the requirement for report to know the Overview of all material requests currently open; (at which specific step are they pending?), Daily Overview  of  all requests currently open for more than 24 hours at a specific department: including assigned user.
    But this data we are not capturing in the Z-tables. We can get it from workflow standard tables like SWWWHEAD. For all these standard table required workitem id which is unique and will dynamically generates the number.
    My question is how to capture workitem number. Is there any function modules/reports/process to get the workitem number specific to object type/object key?
    Thanks in advance.
    Cheers,

    Hi ,
    You can use the standard WAPI for getting the workitemids for specific material nos . But when you are going to  develop report for multiple material nos then you need to call the SAP WAPI in side LOOP and END LOOP , which will affect the performance  of the report .If the no of entries is less to be displayed in the report then you can use the SAP WAPI . Other wise you can try the below code for better performances -
    Get all your material nos in one internal table  say ITAB1 .
    IF ITAB1 IS NOT INITIAL .
        SELECT   top_wi_id wi_rh_task instid FROM sww_wi2obj INTO TABLE
        itab2  FOR ALL ENTRIES IN ITAB1
          WHERE instid = ITAB1-instid
                      AND catid = 'BO'
                      AND typeid = 'BUS1001006'
                      AND wi_release = '700'
                      AND wi_reltype = '99'
                      AND removed = '   ' .
    ENDIF .
    You will get the  workitemid of workflow specifc to all  materials in the internal table ITAB2 - The field is - top_wi_id
    Just try this out . Hope it may help you .
    Regards
    Prabhudutta
    Edited by: Prabhudutta Behera on Mar 13, 2009 12:20 PM

  • ACH format needs a new field - AR customer number

    Hi Gurus: The standard ACH format I am using via the Payment medium workbench does not have the customer number in it. The client wants the customer number on the ACH payment medium file that is sent to the bank.
    Can anyone please guide me on how to update this to the same ACH format? It needs to be just after the amount field...
    thanks so much
    Brian

    Dear grahul
    Check the enhancement SAPMF02D and the exits in it.
    Also check the BADI's
    CUSTOMER_ADDRSCR_CHG Change Address Screen in the Master Data Maintenance
    CUSTOMER_ADD_DATA Additional Data at Customers
    Check this link also
    Re: Screen exit for XD01
    Thanks&Regards
    Raghu.k

  • Select name1 frm kna1 table on basis of customer number

    hi below is my PAI code
    my requiremnt is to select name1 field from kna1 table where
    kan1-kunnr = t_ZCUST_EM_create-ship_to
    where to code it pls suggest and how it will be displayed in the screen 200 ie when user press enter the name1 should automatically populate and display on the screen...
    PROCESS AFTER INPUT.                                                                               
    MODULE CANCEL_200 AT EXIT-COMMAND.                                                                               
    LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_AIMS_OPN_CREATE ." .".
       MODULE USER_COMMAND_0200.                                                                               
    CHAIN.                                                                               
    FIELD t_ZCUST_EM_create-ship_to .                                                                               
    MODULE set_field_validation ON CHAIN-REQUEST.

    hi anji
    here is my code i ahve written in PAI event but facing problem that whne i save entering the third firled in table zcustemal which has ship_to ship to name
    and email id, kunnr is matched against kna1 table and eror msg comes if the kunnr in not in kna1 table it is working ok
    now also name 1 is being populated in the field in the screen as per my code
    but problem is
    1) when just typing kunnr and email id ( and press save without enter the data for all three is saved ie kunnr name1 ( which is selected from table kna1) and e mail id
    2) but whne i press enter after entering kunnr number on screen and then enter email id an dsave email id is not saved only kunnr and name1 is saved pls suggest
    where should i code dont know pls suggest??????
    CODe in screen
    PROCESS BEFORE OUTPUT.
      LOOP   WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
        MODULE STATUS_0200.
      ENDLOOP.
    *Process after input
    PROCESS AFTER INPUT.
      MODULE CANCEL_200 AT EXIT-COMMAND.
      LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
        CHAIN.
          FIELD t_ZCUST_EM_create-ship_to .
          MODULE set_field_validation ON CHAIN-REQUEST.
        ENDCHAIN.
        MODULE USER_COMMAND_0200.
      ENDLOOP.
      module read_table_value_0200.
    <b>MODULE set_field_validation INPUT.</b>
    nv added for  three email id and ship_to name
      select single * from zcustemail   where ship_to eq
      t_zcust_em_create-ship_to
      and ship_to_name = t_zcust_em_create-ship_to_name
      and email_id = t_zcust_em_create-email_id.
      if sy-subrc eq 0.
        t_gui1-fcode = 'BACK'.
        append t_gui1.
        t_gui1-fcode = 'EXIT'.
        append t_gui1.
        t_gui1-fcode = 'SAVE'.
        append t_gui1.
        SET PF-STATUS 'AIMS_200' excluding t_gui1.
        message e001 with 'Record already Exists in Zcusteamil'(001).
      else.
    *nv
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                 INPUT         = t_zcust_em_create-ship_to
              IMPORTING
                  OUTPUT       = t_zcust_em_create-ship_to.
         select single kunnr from kna1 into v_kunnr
         where kunnr = t_zcust_em_create-ship_to.
        if sy-subrc = 0.
           select single name1 from kna1 into t_zcust_em_create-ship_to_name
           where kunnr = t_zcust_em_create-ship_to.
          SET PF-STATUS 'AIMS_200'.
           else.
           message E001 with 'customer number does not exists'.
       endif.
    *nv
      endif.
    ENDMODULE.                 " set_field_validation  INPUT
    *Setting it for select/deselect entries
      move:t_zcust_em_create to t_zcust_em_create_sel.
      append t_zcust_em_create_sel.
      clear:t_zcust_em_create_sel.
    *Getting internal table t_zcust_em_create with control
      read table t_zcust_em_create
             with key ship_to = t_zcust_em_create-ship_to.
    *Getting internal table for create entries: screen-200
      if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
        append  t_zcust_em_create     .
        move:t_zcust_em_create to t_zcust_em_create_tmp.
        append t_zcust_em_create_tmp .
        clear:t_zcust_em_create_tmp  ,
              t_zcust_em_create      .
      endif.
      clear:t_cols.
    *Getting the value of  w_fill_200.
      describe table t_zcust_em_create lines w_fill_200.

  • Customer number is mandatory for mvt. 201

    Dear All,
    I want to capture only Part I entries while doing a goods issue movement type 201 in MIGO.
    But when i select the option and put Classification type as IPD, then on check of document, the system gives me error to put Customer number and Excise Base Value.
    I want to know why these information are required while posting only Part I during inhouse consumption.
    Is this the standard working or am i missing out anything
    Regards

    Thanks for reply.
    Our client updating the registers for the consumption of the material. So that we added the mvt. type 201 for Part 1 reg. in 'Specify Which Movement Types Involve Excise Invoices'.
    After doing that setting, when we are issuing the material the excise invoice tab is appearing in MIGO and asking for the 'Goods issue indicator' i.e. IIM. But at the Excise Header tab system asking to enter Customer.
    I am not able to understand why this field is required? And if I don't want that, where can I do the setting for that i.e. where is the field selection for Excise Header tab? The error is 8I 036 which I unable to find in message contol to remove.
    Please help.
    Regards.

  • Wrong customer number in ORDERS IDoc

    Hello gurus,
    we are trying to send MM orders from one of our company codes to another one (same system, same client).
    The ORDERS IDoc is sent without error, but the we get an error message on the inbound side:
    VKORG, VTWEG, SPART cannot be determined for customer 0000569630, vendor 0020011961
    Message no. VG204
    Diagnosis
    No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
    Procedure
    If data on the sales organization, distribution channel and division have not been entered in the IDOC, it must be determined using a user exit defined in the program.
    The thing is, the customer does not have the number 569630 in our system! Still the number is in the E1EDKA1 AG segment in PARTN. The vendor number is correct.
    Where does this strange customer number come from?
    Cheers
    Alicia

    hi,
    you have three possibilities to determine the organizational data in SD
    during the EDI inbound process.
    The first possibility is to send these fields in the Idoc-Segment
    E1EDK14 (Qualifier 006 - division, Qualifier 007 - distribution chanel,
    Qualifier 008 - sales organization, Qualifier 010 - sales group,
    Qualifier 012 - ordertype,  Qualifier 016 - Sales office)
    The second possibility to determine is table EDSDC. In this table You
    can make table entries for sales organization, distribution chanel and
    division per customer and vendor. You need an sold-to party and a
    E1EDKA1 segment with an filled vendor in field E1EDKA1-LIFNR.
    (transaction VOE2). Please check these settings.
    The third possibility is to fill it in the IDOC_INPUT_ORDERS user-exits.
    For error analyis, see SAP note 380603
    kind regards
    Paul Quinn

  • Customer Master data creation with customized number range

    Dear all,
    Can somebody know how to create the customized number range for customers like first 2 digits represents Sales organization and next 2 digit should represent circle,next 2 distribution chaneel and last 4 digits shold be the running number.
    Looking for solution..
    Thanks & Regards,
    Murali.

    Hi,
    In your case you need to define as following
    Step No: 01.
    01.Sales Orgination with 0001 to 0099.
    02.Regions with 00 to 99.
    03.Distribustion Channel with 00 to 99
    Step No:02.
    Define PDP with the diffrent account groups defined for diffrent Sales Org, Regions & DC's.
    Step : No: 03.
    As per the above configs go to TCode for Number range for accounts groups in  XDN1. Say Example as
    XX--- From:1010100000 to: 1010109999. Note the possiable numbers are 0000 to 9999 only.
    10 is sales Org, 10 is Region & 10 is DC's.
    This is one of the way to do. The other way is to develo Z table and to use the user exit / new progarme to identify the requried number range with reference to Sales Org, Regions & DC's
    Hope this is fine with your requrment.
    Bye & enjoy SAP.
    Koganti.

  • Reg: Generating  custom number instead of system generated no in ME21n

    Hi Experts,
                      I need to know user exits or Badi to generate custom number instead of system generated number while saving p.o ME21n transaction.
    Regards,
    Vikram.S

    Vikram,
    Instead of doing it programatically , ypu can satisfy your requirement in configuration settings.
    check SPRO with the help of functional consultant.

  • Include Field Kunnr - Customer Number 1

    Dear Friends,
    I want to include field kunnr- Customer Number 1 in the standard program SAPMFDTA. the table is being used in the program, but not the field.
    Please suggest how to include the field kunnr in program SAPMFDTA.
    All the help will be greatly appreciated.
    Regards
    Sridhar

    Hi,
    Please check for the available enhancement spots, exits, etc available. Also search for the OSS notes if any to your requirement.
    Regards,
    Santhosh.

Maybe you are looking for

  • Why can't I install mountain lion on my macbook pro?

    It still works.  I bought it in 2007.  What will I have to give up?

  • Nokia 5800 Expressmusic New Message Display proble...

    Hi All, I don't get any alert when I recieve SMS: no ring and no display. I do get the messege in the messege folder, but I need to check all the time manualy if I recieved any messeges. Kindly Help Thanks, Nans Solved! Go to Solution.

  • TOP OF SITE WON'T DISPLAY IN MOZILLA FIREFOX.

    When using Mozilla Firefox my website won't display the top of the page on many pages. Works fine in Safari. Problem just started! Using Squarespace CMS.

  • ArrayIndexOutOfBoundsException with JTable.setValueAt()

    Hi everybody. I can't understand what happens with my code. When I try to call the JTable.setValueAt method, an ArrayIndexOutOfBoundsException is thrown. Here is my code: import java.awt.*; import javax.swing.*; import javax.swing.table.*; import fro

  • Looking for Labview Position

    I'm LabVIEW programmer (CLAD) with 8 years experience. My specializations are NI-based test, measurement, and control systems integration ( Communications, Control, Manufacturing Test, RF  Measurements, Medical Device Testing) I am living at Israel E