Sales order line item user exit?

Hi Folks,
Can any one of you suggest me an user exit in sales order line item level?
I want something which stops before/ or just after entering the quantity in the item level.
We wanted to set up a issue which deals with rounding profile comming from CMIR record to take from Ship-to rather than standard Sold-to party functionality.
Thanks a TON in advance.
Praveen.

Praveen,
Check this post
https://forums.sdn.sap.com/click.jspa?searchID=7098802&messageID=1674246
Regards,
Satish

Similar Messages

  • Sales Order Line Items User Exit - Credit Management/ Exposure Calculation

    Hello Folks
    I am looking for a solution to a peculiar problem we have in credit management.
    In case of Drop Ship sales order life cycle, the system automatically creates two line items per sales order - one each for Freight and Handling Fees. these are NOT relevant to schedule line delivery, nor are they billed to the customer along with the material billing. The default update rule for credit control area concerned is 12. The system, on finding line items not relevant to schedule line delivery automatically switches from rule 12 to 18. This leads to Open Deliveries field (S067-OLIWW) being updated instead of Open Orders (S066-OEIKW) on saving the sales order.
    Once the sales order is billed for the material, the system should logically display net value as zero for the open order (as the 2 lines of fees and freight are not yet billed, the order is still open). But the system considers this figure at SALES DOCUMENT HEADER level and considers the net value as the total value of the sales document (including the material that is already billed).
    What I am looking for is if there is an exit available whereby the system considers only those line items whose billing status indicator is "not complete". As such, the net value should be updated to the S067-OLIKW field net of the billed items.
    Please advise if there is any such user exit available. Also, is there a way to customize this? We are exploring this at our end, but would appreciate an expert advise. Right advise will be awarded with brownie points
    Regards
    Mandar Barve

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • User Exit to make changes in sales order line item data.

    Hi All,
    I need to know about user exit by whcih I can make changes in sales order line item details --> Account assignment tab --> Sales order no and line item no.
    I want to make changes so as to bring the active maintenance contract no and line item no here instead of sales order no and line item no. So whenever ( Va02 or Va03) we go to sales order line item and se the account assignment tab I should see the contract no there.
    Just let me know the USER EXIT to do the above changes.
    Points will be awarded.
    Regards,
    Satish.

    Hi,
    Please have a look at the following user exits...
    1. user exit_ save_document
    2. user exit_save_document_prepare
    Regards
    sankar

  • Revenue Recognition based on User Status of assigned Sales Order line item

    Dear Community members,
    We have requirement to recognize / de-recognize revenue posted to WBS for calculation of RA, based on the 'User status' of the assigned Sales Order line item.
    To elaborate requirement further -
    1) WBS Element - XXX - 10 ( with operative indicator - Plan/Bill/Account Assign)
    2) Sales Order(SO) Line Items assigned to the above WBS -
    - SO No -  123 Line Item 10 - Actual Rev - $ 300 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    - SO No -  124 Line Item 20 - Actual Rev - $ 400 - User Status - COMPL(Meaning this work is Complete , all payment received thus actual revenue for RA at WBS is $400
    - SO No -  125 Line Item 10 - Actual Rev - $ 800 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    As per WBS reports Actual Revenue posted to WBS XXX-10 is $ 1500 ( $300$400$800) , however since two SO line items ( SO 123 /line item 10 and SO 125 / line Item 10 ) are NOT having User status 'COMPLETE', the actual revenue posted by those line items $ 1100/- ($300 + 800)  should not be included as Actual Revenue for RA at WBS level.
    Thus Actual Revenue for RA at WBS XXX-10 should be $ 400 /- ( the revenue posted by SO 124/line item 20 which has user status as 'COMPLETE')
    How do above can be achieved?? Is there any standard solution for this?? Is any SAP Note available for this (I too am looking for one but not found any ) ?? do we need any enhancement , Customer exit etc
    Thanks in advance
    with regards

    Hi,
    Thanks. You are right that the 'Completed Contract Method' would defer revenue recognition. However, the status checked would be of the RA object (WBS Element in this case, as RA key is on WBS and RA is being calculated on the WBS).
    However, our requirement is to check the user status of the Sales Order Line items assigned to the WBS element and filter the revenues posted based on the active user status of individual Sales Order Line item.
    Please give you inputs.
    Thanks in advance
    With regards

  • Change the Profit Center in Sales Order line item's Account assignment tab

    Hi Gurus,
    I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently  The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite  that.
    Can any body provide me how can i achive that means
    Any User exits, substitution or any thing ?
    I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
    Sony

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • Restrict deletion of sales order line items

    Hi,
    I need to restrict deleting of sales order line item, I think we can use the user exit, MV45AFZB, USEREXIT_CHECK_XVBAP_FOR_DELE.
    But when i set the flag to 'X', even though it does not delete at tht instance when the sales order save is clicked again the line item gets deleted.
    ANy idea , to prevent that?
    Thanks
    Keshi

    Hi Keshi,
    That is the correct exit, we are using the same without any problem. Just set US_EXIT  = CHARX.
    Regards,
    John.

  • How to set Confrimed quantity as 0 in the sales order line item

    hi all
    i have a requirement that my user dont want to see confirmed quantity in the sales order line item.
    scenario is make to order.
    i have set strategy group is 20 -make to order
                                            MRP Type is PD
                                           Lot size -
    EX , still its showing confirmed quantity.
    could pls any one tell me how to set 0 quantity in the sales order line item
    thnx

    Dear Sateesh,
    If the availability check is carried out and stock is not there in our plant, then it will show the confirmed quantity as Zero.
    If you don't want to carry out the availability check,
    To achieve this,
    1. Remove the availability check in the transaction OVZG against your requirement class.
    You can find the requirement type assigned to the sale order in the procurement tab.
    In OVZH transaction, you can find the requirement class assigned to your requirement type.
    2. Remove the availability check for your schedule line category in VOV6.
    In the material master MRP3 view, you ll be having Availability check, there you need to specify the availability check..
    If you specify it as KP(No check), then it will confirm the qty, though the stock is not there in our plant..
    To meet your requirement, you have to prefer user exit.(Correct me if I am wrong)
    Thanks,
    Venkatesh.S.P

  • Field added in Aditional data tab of sales order line item at screen 8459

    Hi all,
    My problem is .
    I have appended one field in VBAP table, given it a name "WBS ELEMENT"
    The field is getting displayed in VA23 as well as VA02 Transaction.
    when i create sales order with the quotation reference,
    the "WBS Element"  of line item of quotation should get updated in "WBS Eleement "  of sales order line item
             This i am doing by triggering user exit.
    Problem is:
    Once Quotation  line item get copied to the sales order line item
    and the screen is in front of you with those details,
    before saving sales order .
    if you go at the sales order line item withou saving the document
    The field i have created in the screen 8459 i.e WBS Element ,doesnt get displayed.
    how could i retain the field Ihave created on screen 8459
    while creating the sales order from quotation before saving that sales order.
    Pleas help .

    Hi Vikram,
    It seems as it has been coded only to save the values into the new field that you have appended to VBAP. But before saving if the user wants to see the field, it is blank. You can try coding in PBO (process before output) of the relevant screen as follows:
    1. Get the reference of the quotation. Something like XVBAP-VGBEL will give this number.
    2. Get the value of Z field in VBAP by passing this quotation.
    3. Copy the above value to the corresponding Z field in XVBAP (or any internal table which holds VBAP data before saving)
    Please reward if helpful.
    Regards,
    Krishna

  • Sales Order Line item category not getting Re detemining Correctly

    Dear all,
                I need  help regarding the Sales order item category redetermination.
                we are having two item categories YNAE and YNAG and it contains schedule  line categories CP and CB ( i.e for item         category  YNAE schedule line category is CP and for item category YNAG schedule line category is CB),
    for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
    For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule line on SAVE and its delivary dates are also not getting determined properly. If i press the option ATP check at the schedule line level than very things will getting corrected.
       I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

    USEREXIT_PRICING_PREPARE_TKOMP is the wrong location - that exit is for pricing communication preparation only.  Your primary location for item category determination is USEREXIT_SOURCE_DETERMINATION (MV45AFZB).  In your simple scenario, you could consider making an availability check at this point with some assumptions and then assign the item category accordingly.  Otherwise, you can re-assign item category and schedule line category in USEREXIT_MOVE_FIELD_TO_VBEP.  The exit is called once before ATP (for ATP-relevant schedule line categories) and once afterwards.  The call is recursive if you re-assign another ATP-relevant category.

  • Add field to Sales Order line item

    I need to add a field to Sales Order line item, can you tell me a user exit??

    Hi,
    You can a new field in the additional data B tab of the sales order line item..
    Check the program SAPMV45A and screen number 8459
    Thanks,
    Naren

  • Transaction VKM1 - Changes Sales Order Line Items Custom Fileds

    Hi,
    I have a challenge to indentify the impact of VKM1 on a Sales Order Line Item Customer Enhanced Fields. When credit hold for the customer is released in VKM1, I want to prevent some of the changes to the line items in the User Exit. The Problems I am not sure, How VKM1 is calling the Transaction VA02 or those Sales Order User Exits to modify certain customer enhanced fields. I tried Activation of Break Point in Update Task but did not stop at the Break points set up in the User Exit. How does Transaction VKM1 call the Sales Orders to execute changes? Is it through BAPI or Call Transaction VA02 or some thing else.
    Can any One please help me? Appreciate Your Help in advance.
    Thanks,
    Kannan

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • Sales order line item check based on material status

    Hi
    I have the following requirement
    There are Distribution chain specific material status maintained in the material master ( Sales Org1 View). Now for some of these statuses we need to reject these items in the sales order @ line item level. A reason for rejection needs to be assigned for these line items.
    Is there any standard setting or a user exit is required. I believe user exit save_document_prepare could be used to carry out these checks & assign a reason for rejection. Pls suggest asap
    Thanks
    Ramesh

    Dear Ankit,
    The difference between reason for rejection and delivery block is,
    Reason for rejection you can find this field at header level and line item level, the use of this is once you mention any reason for rejection the TOR or Schedule line not been confirmed for that material,so that the material can be confirmed to another customer.
    If you set delivery block the material for sale order in case if the material not available it will rise TOR or if available it will confirm the schedule line and block the material for that customer or sale order.
    This is the major difference between two.
    Regards
    Ram

  • Deleting Sales order line item

    Hi,
    The sales order line item deletion should not be allowed after accouting of the advance payment is happened.
    How to achieve this.

    Hi Seema
    As far as I could guess you need to grey out VBAP-ABGRU field once you have posted payment for the sales order line item. Since this is a SD related process no validation or substitution would work in this. In this case when posting the incoming down payment through F-29 internally you need to call the user exit in the sales document to update the status of VBAP-ABGRU.
    Thanks
    Indranil

  • Default Functional Area in Sales Order Line Items

    Hi,
    Is there any user exit that can be used to default Functional Area in Sales Order Line Items.
    I tried mv45afzz but not working. Any idea and do let me know the field or structure effected.
    Thanks.

    Hi Sathish
    You can update table XVBAP from program SAPMV45A in program mv45afzz like code below:
    FIELD-SYMBOL: <mytab> LIKE STANDRD TABLE OF VBAP.
       ASSIGN (SAPMV45A)XVBAP TO <mytab>.
       LOOP AT <mytab>.
       ENDLOOP.
    I hop it helps .
    Kind regards
    Carlos Machado

  • Sales Order Line Item Details

    Hi Experts,
    Is there anyone knows in what variable or table does the line item number of the selected sales order line item after selecting any commands in Va01 transaction?
    Points will be rewarded...
    thanks in advance

    Most likely in the user exits you cannot know what line has been selected on the screen. Normally VBAP-POSNR has the line number of the line being currently processed, but it's not the same line that user selected (i.e. clicked on) on the screen.
    I think you can only get this information in the screen's PAI (I might be wrong though). If you need to pass this information further you could fill in a global variable in the screen's exit and then use it later in other user exits.

Maybe you are looking for

  • Photos in iPod Classic 80gb

    I recently bought an ipod classic 80gb and i'm trying to sync my lolcat photos ^_^ I have about 800 in total.. when i go to sync it only lets me sync 438.. they are all in the same format so why can't i sync them all. If i use a different photo album

  • Take - As in Pro Tools?

    Beign a Logic guy for about 6 years now, I was recently in a session with a Pro Tools user and wacthed as he quickly flipped through different takes of a song via a pull down menu. No deleting, repeated tracks, folders... Is there any such feature in

  • Why is iMac connected to TC at 130 Mpbs instead of 450 Mbps?

    Hi, I just noticed that my mid 2010 iMac 27" is connected to my 2nd gen Time Capsule at only 130Mpbs. I remember seeing it at around 450 Mbps or slightly lesser before my upgrade to Mountain Lion a couple of weeks back. The thing is, my TC is located

  • Workspace could not be attached

    Hi All , I executed below: exec DBMS_CUBE.BUILD('NN_OLAP_POC.MARKET_SALES_CUBE, NN_OLAP_POC.BRAND_SALES_CUBE', parallelism=>2) ; and it fails with : ERROR at line 1: ORA-37162: OLAP error XOQ-01707: Oracle job "JOB$_196" failed while executing slave

  • Flashhelp, Safari and Intel-based Macs

    I'm having problems with my Flashhelp project properly displaying on Intel-based Macintoshes in Safari. The project displays all of the flash-based UI elements, but doesn't display the topic matter itself. The exact same projects work fine with Firef