P.O line items change exit

Hi All
Could any one let me know the user exit name used to modify the line items values of a P.O. in the transaction ME22N. I am using the exit EXIT_SAPMM06E_012. Its not changing the values of EKPO. Please suggest.
Thank You,
Suresh

DATA: WA_ERNAM LIKE EBAN-ERNAM.
IF ( SY-TCODE = 'ME21' OR
     SY-TCODE = 'ME21N' ) AND I_EKKO-BSART = 'NB'.
  LOOP AT TEKPO.
    IF NOT TEKPO-BANFN IS INITIAL.
      SELECT SINGLE ERNAM
               FROM EBAN
               INTO WA_ERNAM
              WHERE BANFN = TEKPO-BANFN AND
                    BNFPO = TEKPO-BNFPO.
      IF SY-SUBRC = 0.
        TEKPO-AFNAM   = WA_ERNAM.
        TEKPO-ZREQUIS = WA_ERNAM.
       MODIFY TEKPO TRANSPORTING AFNAM ZREQUIS
                    WHERE BANFN = TEKPO-BANFN AND
                          BNFPO = TEKPO-BNFPO.
        MODIFY TEKPO INDEX SY-TABIX.
      ENDIF.
    ELSE.
      TEKPO-AFNAM   = SY-UNAME.
      TEKPO-ZREQUIS = SY-UNAME.
     MODIFY TEKPO TRANSPORTING AFNAM ZREQUIS
                  WHERE BANFN = TEKPO-BANFN AND
                        BNFPO = TEKPO-BNFPO.
    ENDIF.
  ENDLOOP.
ENDIF.
The above is the code i have written in EXIT_SAPMM06E_012 its not showing the changed values of AFNAM and ZREQUIS in EKPO. That is in ME21N while creating the P.O.
Please suggest.
Thank You
Suresh

Similar Messages

  • Exit/badi for ME22 line item change

    hi gurus,
    pls mention any exit/badi for ME22 line item changes......

    Hi,
    Check below thread
    BADI in ME21
    Regards,
    Atish

  • Expense (PR05) - Line item change report

    Hi:
    We are looking for a report on the changes made in the trip line items after the trip was submitted, approved, transferred to FI (at every status).
    Basically if a consultant has submitted an expense and is approved by the manager, Then if consultant is opening that trip again and making the changes in the line item (change in cost object, amount etc) or adding a new line, we need  a report which tells when was the change made, what was the change etc.
    With the custom program, we are able to get the trip status history but not the line item details (change).
    Any suggestions.

    It tells the status of the trip but doesn't tell me what change is made.
    For example:
    If the original trip had one line for Airfare (say 1000) which was approved and transferred.
    Later on this was adjusted to Airfare (say 1010) which was again approved.
    We want to know amount was changed from 1000 to 1010 on this date. Similarly to cost assignment. Any field which has accounting effect.
    Basically our Accounts payable needs to know if they should settle the expenses without waiting for the receipts at month end (in the scenario where cost object is changed later but amount is same, so there is no revised receipt from consultant. They can just settle it again)
    Some kind of report which tells when and what change was made (at item level).
    Thanks.
    Rahul

  • Order of Line Items change when billing

    Hi all,
    For some reason the order of the line items change when billing a salesorder
    Salesorder line items:
    10
    20 text line
    30
    When billing it changes in:
    20 text line
    21
    30
    I'm kind of lost on how to solve this.
    With kind regards,
    John Waltmans

    try to do with copy controls... VTLA.. sales doc to delivery doc.. goto item and there take item categioreis..
    there check wethere data transfer
    101
    0
    2
    reard if it helps..
    Ramki

  • What is the Table to Capture line item changes in PO?

    Dear Guru's
    what is the table in which i can find the report of ammendment in the PO at line item level OR is there any Standard SAP report ???
    please help..
    gaurav

    Go through Following Link
    Report on Purchase order header changes and Line item changes.
    Vipin

  • FB60  Line item User exit/BADI/BTE

    Hi Guys,
       I need a user exit/ BADI/BTE to change the  Line item in FB60 transaction.  Please let me know ifyou know  any enhancment on this. Thanks
    Regards,
    Ganesh

    Hi Dude,
    Following are the list of BADIS  for FB60 tcode
    BADI_FDCB_SUBBAS01
    BADI_LAYER
    BADI_FDCB_SUBBAS02
    PPA_CUST_BADI
    BADI_FDCB_SUBBAS03
    WRF_PREPAY_INVOICE
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    ADDR_LANGU_TO_VERS
    ADDR_PRINTFORM_SHORT
    BADI_MATN1
    For your requirement the releavant badi is PPA_CUST_BADI
    Thanks & Regards
    Ramakrishna Pathi

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

  • Tracing the line item change in a accounting document

    We have to send accounting document line items details which have been created or changed to non-SAP system.
    I am looking for way to identify the line items which have been changed as I don't want to send the other line items of the accounting documents which are not changed.
    Thanks.

    Shailendra,
    You've hit the nail on the head - CDHDR and CDPOS are the central repository tables that contain all changes - wherever logged.
    There's no other way.
    P.S.: I'm assuming you know how to extract data from these tables - so am not going into it.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • Line item Change Mode

    Hi,
    When iam Entering the sales order with item category TAN...........after saving the order,In Line item Material Code Filed going in Display Mode...
    My client requirment is .........it should be in CHange mode
    Regards
    Raj

    Dear saravanan,
    Line item can be deleted but i need to Replace the item w/o deleting the line item....
    is thr any possibilitite through Customization...
    Regards
    raj

  • PO Line Item Change

    Hi,
    I have a question regarding the sequence in the PO, when adding a new item from a Purchase requisition.
    we have in an existing PO, added a new item from a requisition (created from a BOM), but we want to change the item-sequence in the PO from the last to the second place.
    It’s not possible to change the item-no manually for e.g 50 to 15.
    Is there any solution for this?
    Points will be rewarded
    Regards
    Irfan

    Hi,
    If you already have the Existing PO with some line items upto 10,20,30,40,50  you can enter manually item number like 11,12,25,25 like that the way you want to add the Purchase requisition to this existing PO.
    You can include at any intervals system will consider for that as sequence like if you enter 15 in item no and enter the PR number at the specified field system will place this PR line item next to your 10 line item of PO.
    Thats like the system will process.
    hope you understand, if not reply on the same.
    rgds
    Chidanand

  • PO line item change Indicator

    Hi All,
    We need to display the line items from the PO which are changed(like ,,, price,qty,description), Is there any indicator available to perform this function.OR any function Module which can solve this.We have to perform this in Smartform BBP_PO.
    Regards
    Channappa Sajjanar

    Hi Channappa,
    Please look into the transaction BBP_PD for Object_Type BUS2201.
    Here the first page itself when you scroll down you would get the Change Document details. Here you can check the changes that were made.
    Also have a look at the FM: BBP_PD_PO_GETDETAIL table E_VERSION. Here you may find some information regarding the change in the document.
    Hope this helps.
    Thanks,
    Pradeep

  • PO line item changes.

    Hi,
    How should I know for which line item has been changed/modified by whom. By using this CDHDR and CDPOS I did't find this.. please help me in getting 'Change order amount' this field I am able to see in EREV table but the problem is to know which line item or header it is.
    Regards
    Reddy

    Hi Reddy,
    To see which Line number was changed, you can look at the field TABKEY in CDPOS. Once u get the change no from CDHRD, go to CDPOS and enter object Class as 'EINKBELEG', Object Id as 'PO Number', Changenr found from CDHDR and u will get all the changes. See the field name FNAME for the field you are looking the changes for and TABKEY will provide you the line number.
    The entry in TABKEY will be like 105452000000100010 or 105452000000100020 and if you see the last 2 characters are 10, 20 in this case which stands for the line number.
    Hope this will help you

  • Line item change control

    Hello,
    User would like to change cost center and business area's field after the said document has been posted, via FB02.   
    I have check the setting for posting key and field status group, it was defined as optional. 
    I also maintained BSEG-KOSTL in below path as "Field is modifiable"
    IMG->Financial Accounting->Financial Accounting Global Settings->Document->Line Item->Define Document Change Rule
    However, the field were still grey off and did not allow from changes to be performed.
    Kindly advise
    julie

    After the posting of the data using FB02, it is not just the BSEG table that is updated. There several tables which are updated simultaneously, say GLPCA (if PCA is activated), CE1++++ (where ++++ is your controlling area). So even if you change in BSEG table(using SE16N) data will not be updated in other table which will created data inconsistancy.

  • 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

  • Fb02 line item change

    my req is to change the line item detail.fb02.
    in bdc.
    recording is not possiable.

    Use the FM: BDC_RECORD_TRANSACTION to record changes in FB02. Double click or Press F2 on the line item to open up the line item details and then you can changes..
    Hope That Helps
    Anirban M.

Maybe you are looking for