To Generate Requirement numbers Sales Agent wise for Orders

Hi Experts,
i have small requirement searching for one BAPI for below requirement:
i have one MAM order, once we go JHA2N, after you select any one item for that order, in SALES AGENT Tab, it has multiple SALES AGENTS, each sales agent can have multiple Requirement Numbers.
we have written a user-exit to generate Requirement numbers automatically.
once we save this order in JHA2N, sales agent with respective requirement numbers will generate automatically(it will done via our user-exit, this user exit will generate Requirement numbers from Configuration level)
Now we are planning to write one program to mass updation with these sales agent and corresponding requirement numbers,
Here which BAPI we can use to fill above requirement and what type of parameters we can pass,
I tried with the BAPI "BAPI_ADMGMTSO_CHANGE" but our user-exit is not triggering.
User exit name is 'EXIT_SAPLJHAK_001'..
Please help somebody on this.
(I don't know the same can post in ABAP General , that's why posting here)
Sri

Hi,
this is configration issue, if one requirement has beed assighed to some particular ordres, it will take automatically when it is saved,...
just we need to open and save the order...it will trigger the BAPI and save with the requirement numbers..
Sri

Similar Messages

  • Order type automatically assign to product wise for order

    Hi all,
              I gave 4 types of Orders for one plant as per products.   The client ask me  assign that orders   automatically for each product in routing  how i will assign  please let me know.

    Actually routing has no relation to order type.
    You can use Production Scheduling Profile as well as Production Scheduler/Supervisor.
    Firstly, you need to create 4 Production Scheduling Profile and assign 4 Order Type to Prd Sch. Profile.
    Then you need to assign the Profile to material in Work Scheduling view.
    Another way is that you can create Production Scheduler/Supervisor and assign the Pro Sch Profile to the Prd Scheduler, then assign Prod Scheduler to Material Master in Work Scheduling view also.
    From now on, whenever a production order is created for material, order type will be get from the Scheduling Profile.
    To maintain the Prd Sch Profile and Prd Scheduler in IMG: Production > Shop Floor COntrol > Master Data

  • Function Module for generating Randon Numbers

    Hi,
    Is there any Function Module to generate Random Numbers automatically.
    Say for example: The Lower Limit is 10 and the Higher imit is 30.
    So is should generete the random numbers between 10 and 30. and it should store in he Data Base level.
    Please help me in this ascept.
    Thanks & Regards:
    JSR

    Hi,
    You can use Number Range Concept.
    Get new number
    CALL FUNCTION 'NUMBER_GET_NEXT'
          EXPORTING
               nr_range_nr             = c_01
               object                  = c_key_no
          IMPORTING
               number                  = pw_key_no
          EXCEPTIONS
               interval_not_found      = 1
               number_range_not_intern = 2
               object_not_found        = 3
               quantity_is_0           = 4
               quantity_is_not_1       = 5
               interval_overflow       = 6
               buffer_overflow         = 7
               OTHERS                  = 8.
    Thanks,
    Sree.

  • Credit control sales area wise

    Dear Friends,
    Sales organisation model is
    my company is distributor for all manufacturers,  it will take care of credit control
    so  we proposed a sales area  which resembles like this Mumbai -glaxo- pharma,
    Mumbai -Novartis- pharma(sales org-disti chnl-divison) etc.
    this sales areas will contain all customer and materials of glaxo
    some of the stockists are stockists for both glaxo and novartis  so I extend the customer
    to one more sales area
    if I maintain credit control areas w.r.t to sales area wise  what are the implications
    will ready to be happen?
    how can I monitor the total credit for the customer?
    is it necessary to assign a credit control at company code level?
    The process i proposed here is
    I will assign credit control at sales area level
    and I will maintain credit limit details at FD32
    so I can assign credit controls per sales area wise for same customer .
    What are the pros and cons of this process?
    Waiting for replies,
    Thanks

    my dear,
    Here my requirement is i will not assign any credit control area at company code level
    i will assign cca at sales area level only, and it is working fine.
    i need the PROS & CONS when i use like this way.

  • To create varaibles in Mail Forms for Order Confirmation

    Hi All,
    I am having an requirement to send an email for order confirmation with some customer dependent data and some product data to be sent along in the mail, This has to be done through action.
    I want to use mail forms for this but in this I am not able to create variables in the mail form through which i can pass th value to the variables in the mail form.
    Please suggest what to do for variable creation in mail form.........
    Is there any standard oder confirmation template available as it is available for campaign??????
    Thanks and Reagrds
    Mayank

    Hi Mayank,
    I am not sure but u can try below standard smartforms :
    CRM_SERVICE_CONF_EXT
    CRM_ORDER_SERVICE
    Regards,
    Dipesh.

  • Message ME644 Reason for Ordering (BSGRU) in BAPI_PO_CHANGE

    I have a requirement to change the Reason for Order (EKPO-BSGRU) through BAPI_PO_CHANGE. I have populated neccessary input but the BAPI returns an Information message saying
    'Change Reason for Ord. could not be effected ' Type I; ID ME; Number 664.
    This seems to be a common problem I have seen several notes accross older versions that suggest applying program changes. We are using ECC6.0 any idea if there is a note to be applied?
    Thanks for your time.
    Edited by: Cyril Alex on Apr 8, 2009 10:59 PM

    Hi Alex ,
      Have you got the solution of this problem? Please share the solution b'coz I also have the same issue.
    Thanks

  • I want Business area wise Purchase order

    I want Business area wise Purchase order
    How I can get these types of output
    1.     When I create PO in ME21N without account assignment     
             (i.e. Business area is not defined here)
    2.     When I create PO in ME21N with account assignment (i.e.  
            Business area is defined here) So I can PICK up BA from
            table “EKKN” with respective PO
    But at the first case I did not find BA in EKKN with respective PO.
    In IMG we assign BA to plant (it is maintenance view “V_134G “)
    So my requirement is that Business area should be picked from plant entered in PO.
    So Experts What to do???

    Dear Friend,
                           Now i am facing the same suituation. The requirement is Business area wise Purchase Order Details.
    you have mentioned that you solved the problem.
    Please Guide Me.
    Urgent Requirement.
    Advance Thanks.
    P.Ravi Shankar.

  • Assigning Validation Rules to a Condition for Order Line entity

    Hi,
    Do we have any API(or interface) to load some validation rule( rule like 'Inventory Item= some item numbers) to a condition for Order line entity. (i.e. to load records into OE_DEF_CONDN_ELEMS).
    Please let me know, thanks in advance

    I am not sure of the purpose, if this to enforce a processing constraint, I will use API in the validation template defitniion and in the API I will qualify the items.
    You can have these items setup in value set of a look up (custom) and then have user interface control on the same.
    Is that what you are looking for?
    Thanks
    Nagamohan

  • Alpha Numeric number Ranges for Sales order Acording to sales office wise.

    Hi Experts,
             I have a Issue for genrating sales order numbers With Alpha Numeric Number Ranges for sales office wise Internaly . How can we get this is there any Userexits or badi for this . If Any one Come across this issue plz guide me.
       The Alpha characters should not change that will be sales office region code. only the Numeric numbers should change .
    Ex;   Abc-123000  to Abc-200000
    Regards,
    Ravi.

    This alpha-numeric format is not possible directly with SNRO settings.
    You need to opt for external number range, and in the exit of your respective transaction you need to takecare of this number generation explicitly by programming.
    http://www.sap-img.com/sap-sd/number-ranges-in-sales-order.htm
    any more inputs from experts are welcome..
    Hi,
    1. goto include MV45AFZZ and to user exit Save_document This form is called before COMMITand double click on FORM USEREXIT_SAVE_DOCUMENT.
    2.it will show the program MV45AF0B_BELEG_SICHERN from were this user exit is called, selcet the program and click on Display.
    3. you can use the enhancement point enhancement-point beleg_sichern_01 spots es_sapmv45a. just below the PERFORM USEREXIT_SAVE_DOCUMENT to call the badi method on_costing_component.
    regards.
    santhosh reddy
    Message was edited by:
            Santhosh Reddy
    Message was edited by:
            Santhosh Reddy

  • Report for monthly sales(sales office wise,sales group wise,plant wise)

    Please send the Report for monthly sales(sales office wise,sales group wise,plant wise)  with T.CODE.,

    Hi
    As per my knowledge there is no Standard Report in SAP based on sales office, sales group. and plant.
    You may create your own report using MC18,MC21 and MC24.... Otherwise ask your ABAPer's help...
    Muthu

  • Sales report per year for copmany code  & sales org wise

    Hi all
    Does anybody knows how to take total  sales report per year for copmany code  & sales org wise
    Please advice me with Tcode if it's possible.
    Thanks a lot in advance!
    U.maha

    Hi,
    Check your configuration for SIS.If it is not there maintain settings for SIS.
    SPRO-Logistic Information system-Updating-Updating control-settings:sales
    You also need to run these T-codes.  OLI7,OLI8,OLI9
    (Test first in quality client).
    Thanks,
    Vrajesh

  • Cancelling my laptop order: Sales agent tricked me by forcing the dates for delivery

    Nov. 29 2013: Friday
    On black friday - I placed an order for a lenovo product. The sales rep. lady told me because of the high volume of sales, my laptop may take from 1 to 2 weeks to be delivered to me. I said ok, no problem. 
    Dec. 1 2013: Sunday
    Then on Sunday I called the sales service to only inquire if it is possible of me to cancel my order. The sales agent said yes; and upon asking further if I have to pay for any restocking fees, she answered saying restocking fees is applicable to only refurbished laptops, not the new ones. Meaning, whether I cancel my order before it is shipped to me or even after it is shipped - I have nothing to pay to cancel/return my order - Everything about cancellation/return package was free and/or full refund.
    She checked my order status to me and told me that my laptop is scheduled for shipping on Thursday Dec. 5. And delivery should be around Friday or some other day. So if I wish to cancel it, I have till Tuesday Dec. 3 to call them about it because by Wednesday the laptop will be in transit for shipping.
    Dec. 2 2013: Monday
    I checked my order status again.  Like before, it said my laptop is scheduled for shipping on Thursday Dec. 5 and it will be on transit from the warehouse to the shipping by wednesday as per what the sales agent told me last time I spoke to her.  So I still have till Tuesday Dec. 3 to decide whether I want to go ahead or cancel the order.
    After checking the status order, I immediately called Lenovo's sales service to cancel my order on Dec. 2, Monday. Upon talking to that sales lady representative about the cancellation of my order, she was surprised about it and it would seem like she wanted me to go for it.  So she tricked me into it saying my order can't be cancelled as there's no guaranty that my order is still in the warehourse. She said it could be it's going to be shipped tomorrow.  I was shocked. What she did was she forced the order to be shipped immediately so that this sale takes place. She modified the transit & shipping date for my order so that I have no choice other than to accept it. And she told me I'll have to accept it and then ship it back instead of refusing it to avoid any problematic situation.
    ASAP the phone call ended - I went onto checking the order again, and I realised that sales representative lady modified all the dates so as to force the order to be shipped to me as an attempt so that the sales takes place. She thought I might change my mind after receiving the laptop, but I am firm at my decisions.
    The present day: Tuesday
    I want my laptop to be cancelled and I was told on Dec. 1, 2013 by the agent that I was eligible for a full refund without having to pay for any restocking fee (in case I decide to cancel it). Can someone reading this help me with that cancellation.
    Lenovo was going to be my first Lenovo laptop. I love the lenovo machines. Great build quality. But my only problem is that...why I am cancelling my order is that that lenovo y510p model comes with SLI card and this doesn't work well with the softwares I work with. I choose to cancel that order and prefer to save that money and wait till perhaps next year for another lenovo's quality machine (I'm a great lenovo fan) which I am hoping to come with a single GPU GTX 780 @3GB GDDR5 (base model) and some 256gb SSD. That's the only reason why I am cancelling my order and that's what I told to the sales ‌agent lady too when she asked me about the reason behind my cancellation.
    My order number is: 4243321671
    Please help me to cancel that order.
    Solved!
    Go to Solution.

    This is a peer-to-peer forum and NOT an official Lenovo support channel...
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • Reg  fbl5n   sales orgnization wise & distribution channel wise balence

    hi
    we are using ECC 6.
    our SD persons required sales organization wise& distribution channel wise balence in FBL5N.
    the total list is available. sales organization wise and distribution wise not available.
    how i can solve the problem
    regards
    sambasivarao ch

    Hi
    Either you can generate based on the number range / Reconciliation Account through dynamic selection (if the account group for customer codes is defined at distribution channel level logic).
    Otherwise, you are required to use any one of the following fields in the customer master creation :-
    Industry / Search Term /Accounting Clerk etc. with a identification of the required combination.
    Hope this will meet your requirement
    Regards
    Anilkumar

  • Sales Man wise Sales Report.

    Dear All,
    I need to develop the Report SalesMan Wise in the below format.
    *_SL No/Sales Man/Customer/Customer Name/Target of Current Year (Previous Year Sales1.35)/Jan Sales/Feb Sales./Mar Sales/Apr Sales/ till Aug Sales (2011 Year) i.e Last 7 Months + Current Month.   Average of Last 7 months/   Sales of Previous Year/ % Achievement of Target/.I need the Link of Tables and the Logic to be given in this Report. Is this report Feasible.
    *Sales Man I can get from VBPA Table but that is only Fetching me Sales Order Number.
    *I am not getting the Link between Partner Function VE (Sales Employee) and Invoice Table VBRK.
    Can you please provide me the valuable Inputs how to go about this Report so that I can prepare detial FS of this.
    Regards,
    Parag S.

    Yes. Your ABAPer can copy a SAP Standard Report & modify it to suit your requirement.
    But ideally you should go for new report creation. You can get Sales Employee Number in Sales Order & from Document Flow Table get the Invoice Number.
    Only issue in your case is Sales Man-wise Target figures. You will have to create a Z table & store the Sales Man Code & Year-wise targets in these Table which later be fetched in your program.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Sales employee wise sales report

    Hi,
    Can anyone explain me,how to write functional specifications to obtain sales employee wise sales report?
    Thanks in advance..
    Regards..
    Yogi...

    Hi
    This is the standard T Code for sales employee-MCTI
    But as per your requirement we hv to create.
    Examplemy past implimantation..we hv captured sales employee as partner function.sales employee1& 2  with peoper  partner determination proceture.then we hv captured at Billing document Header Partner function.
    This Sales employee name has to captured through HR Master data.According U hv to say only the business process and from where data has to captured to ABAPER.
    I think it ll help
    Regards
    JAGA

Maybe you are looking for

  • How can i display a excel file generated by labview?

    hello, I'm looking for an exemple to display (open) a .xls file generated by labview after simulation but without use  the tookit report generation. somebody knows how could I do this? Any suggestions? Thanks, longar p.s: i use labview 8.6  Solved! G

  • Error: can't run programs

    Hi, I use eclipse for my CS101 course as recommended by our course instructors (apparently to the chagrin of some knowledgable students) and am unable to run any program (even a simple Hello World program produces the same error message). I have up t

  • Optimizing Premiere Pro CC to work with a 4k Monitor

    Can someone tell me how to work on Premiere Pro CC 2014 (currently 8.2) on a 4k monitor with scaling set at 100%. If I don't scale anything then all the text and icons and everything is WAY too small. Photoshop seems to have a handy 200% scaling feat

  • File Batching in OSB

    Hi , I have a requirement in OSB project where I need to merge files before sending it to target application. For some reason we prefer not to maintain either queue/directory/file server to save incoming files. Target application will poll the final

  • Problem editing a layer mask in curves

    I am trying to edit a layer mask to add more contrast to it.  when i go to curves i cannot see the layer mask channel in the drop down menu in the curves dialoge. I want to add contrast to a mask for a noise reduction layer. anyone know what i am doi