Guide me in userexit (Urgent)

Hi this is my business requirement
There are 2 different business requirements for currency and UOM.
Currency
In general, standard SAP creates invoices in the currency of the sold-to customer but it will be overwritten with the document currency of the order if this is different. For Global Aviation the ship-to drives what the customer has to be billed in. A user exit needs to look up the currency on the ship-to and place it on the order. This will ensure that the invoice will be in the new currency.
UOM
TICIT receives into plane delivery tickets from airports and sends them into SAP via STP. The airports only send one material UOM per file. This doesn’t necessarily reflect what UOM the customer wants to be billed in. This information is available on the ship-to master data though. A user exit needs to look up the UOM on the ship-to, place it on the order and calculate the new quantity based on the new UOM.
Functional Logic
USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ can be used to retrieve currency (KNVV-WAERS) and UOM (KNVV-ZZ_CUST_UOM) from the ship-to master. The quantity for the new UOM must be calculated if the UOM on the file is different than what is on the customer master. USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ can accommodate the logic. The quantity must be redetermined based on the new UOM. Field RV45A-KWMENG must be overwritten with the new quantity and field VBAP-VRKME with the new UOM.
Function Module OIB_QCI_CONVERSION_SIMPLE can be used to perform the conversion.
<b>Function, Rules, Exits     Description of Functionality, Rules, Exits</b>
USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ     Check if this is an Aviation order – the order type is ZOIP, ZDIP or ZCIP
Retrieve currency KNVV-WAERS and unit of measure KNVV- ZZ_CUST_UOM from ship-to master data.
USEREXIT_MOVE_FIELD_TO_VBAP in program MV45AFZZ     Check if this is an Aviation order and if the material is a fuel – material’s product hierarchy determines this JET FUEL = 1030101010
Recalculate quantity based on UOM if necessary, use FM OIB_QCI_CONVERSION_SIMPLE.
No quantity should be converted if this functionality gets called by price notifications or BW info cube. Only the UOM needs to change.
Thanks
Sajnjana

Hi S.K ,
i have gone thru ur Requirement,There is nothing complecate to putting logic in this MV45AFZZ.
please do it in step-by-step , u can easly can do it wilthin mins.
Regards
Prabhu

Similar Messages

  • Planning to Start IZO-051 Test Prepration..Plzzzzzz Guide me it's urgent..

    Hi friends,
    I am engineering graduate which do not have any experiance in IT industry.I am looking forward to be a oracle DBA.I took Classes for that but no hands on..
    Now i am planning to take ccertification (IZO-051) exam  in August first week.Can any1 please guide me through the procees that how should i start the preperation and how should i proceed??
    Please help me by telling me where can i find study material and how to study..
    If anyone who is preparing for the same Test is most welcome to share his/her views and preperation method and material..
    looking forward for help..
    Thanks in advance,
    Neha.

    user10375305 wrote:
    Hi bigdelboy,
    Thanks for your reply. But is there any book which i can read online free for Certification. Are doccumentations available on oracle sites (like 2 day dba for 11g and express edition)good enough for certification 1zo-051... do i need to read those as well?? i don't want 2 spend money on books as already exams are too expensive..so please guide me any material which is free of cost...
    Thanks ,
    NehaThe sql language is fully described under documentation under http://www.oracle.com/technology/documentation/database.html (Some middleware is apparently having a paddy so i cant drill furter at present).
    Most other major free material is breach of copyright or unauthorised training material.
    I cant you you the prices of the Oracle Press 1z0-051 book where you are , but for the uk it can often be picked up half of the publishers price which is maybe 1/4 to 1/3 of the cost of the exam which given it contains practice tests represents good bangs per buck.
    But remember it is very possilbe to study from the online reference and other manuals and exam topics; but one needs to get organised and but in a lot of effort and sweat.
    Edited by: bigdelboy on 05-May-2010 11:34 (Typos corrected and see following links):
    http://www.oracle.com/pls/db112/homepage
    http://www.oracle.com/pls/db112/to_pdf?pathname=appdev.112/e10766.pdf
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592.pdf
    http://www.oracle.com/pls/db112/to_pdf?pathname=server.112/e10593.pdf
    (You should use the course topics and look up topics in the avove documents .... and elsewhere on the oracle site .. experimenting and practicing where needed). This is hard work ... utlimately very rewarding but hard work). That list of references is not necesarily exclusive .. and will contain more that you need.

  • Very Urgent Tab Problem

    Hi to All...
    I Designed the PDF forms using Adobe Acrobat Live Cycle Designer 7.0.
    but i am facing tab problem.
    for example: if i entered in the some text boxes then if i want to go back to previous text boxex means curser will go to the some other text boxes.
    and also if open in internet Explorer tab issue is more.
    is there any property we need to set?
    please guide me its very urgent.
    thanks in Advance...
    chalmal Seetaram

    To set the Tab order choose: 'Tab Order' under 'View' menu and read through the Tips.... it is easy.
    Good Luck,
    SekharN

  • UserExit required - Do not Create PO without Release Strategy

    Hi
    My requirement is Do not Create PO without Release Strategy.
    When user try to save PO, it should not allow to save, if it does not have Release Strategy.
    For this scenario, we require which UserExit.
    If UserExit, can you guide me which userexit and the following steps.
    For this scenario, which is the best way to control.
    If you got anyother options other than userexit can also be advised.
    Pls advise me.
    With Regards
    Kamesh

    Hi Shailaja
    Very thanks for your reply.
    Some more doubts,
    I think Release strategy data will be populated in I_EKKO table.
    I can use fields from I_EKKO-FRGSX & FRGKE.
    If these fields are initial (ie) PO without release strategy, I want to exit PO without saving - Creation.
    So here can i put Error message if the fields are initial.
    IF i put Error message then the PO screen will be block ? in that Error message.
    Just want to confirm before testing something with the Exit code.
    Is this the way to proceed.
    Thanks in advance,
    With Regards,
    Kamesh

  • Error while transporting TP in production server in workflow

    Dear All,
    I have done some workflows . It is working fine in development in quality but in production while TP transporting it is showing error like '  Temporary log /usr/sap/trans/tmp/TP number not found'. why this error is coming ?
    Please guide m . Its urgent.
    Regards ,
    Shital

    Shital,
    Do you transporting those requests into PRD as Developer?
    I think it is basis related issue, did you had any word with SAP basis person.
    Any ways could you send long text when it is giving this error.
    May be some sequencing issue in PRD?
    Cheers
    Jai

  • Upload opening balances for vendor and customer

    Hi,
    I am going live in 2 days. I want to upload opening balances. Please guide me how do i do it? not with LSMW.
    Please give T code and guide me.
    Its urgent!!!
    Thank You
    Pritam

    you want to Uplode Transactional Data take care of that, beter to Prepare BDC,
    for BDC you have to Record the Transaction Code and Tell ABAPer line items uplode process he will do the Technical Development,
    Ex: F-22
    01 - Customer A/C Dr 100
    50 - Sales                  100
    you have to arrange data in your flat file like this,
    Regards,
    TML

  • How to delete an item in the table

    hi all ,
    Is anyone there to give me an idea , how to delete the item in the table , by selecting the row. , for the what i have to do , is there any documentation to follow , guide me itys really urgent.

    Hai Madhu,
    It is pretty simple.
    First u define a button. and in onAction  Event of the button write the following code.
    process is as follows:
    1)get the node
    2)get the element
    3)using the method remove_element() ,remove the element.
    <u><b>The Sample Code is as follows</b></u>
    DATA:
          node_flighttab                      TYPE REF TO if_wd_context_node,
          elem_flighttab                      TYPE REF TO if_wd_context_element.
        node_flighttab = wd_context->get_child_node( 'FLIGHTTAB' ).
      get element via lead selection
        elem_flighttab = node_flighttab->get_element(  ).
        node_flighttab->remove_element( element = elem_flighttab ).
    Follow the above code ,it will definately help you.

  • Entries appearing in Service Tax Control Account due to Error in System

    Hello Experts,
         I am facing a problem in one particular GL i.e.Service Tax Control a/c
    error-Entries appearing in Service Tax Control Account due to Error in System
    entries are- Service tax control   a/c   -
    Dr. 21,621.86
                            To Service Tax Control a/c     Cr.      21,621.86
    My question is when i am making entry as Service tax Dr-21,621.86,Service Tax Cr.21,621.86,so it will adjust,and in FBL3N amt will show 0 but it was showing 21,621.86
    Plz Guide me asap,very urgent issue
    Thanks in Advance

    Dear,
    What was the balance before you posted the below entry?
    Also run FBl3N with correct date parameters..
    br,Vivek

  • Bonded Warehouse

    Dear Gurus,
                        I have created bonded warehouse as a plant. I place PO on this Plant w/o taking any duties in this...Later i make an STO from bonded warehouse to Manufacturing Plant...For STO i created one pricing procedure taking Custom duty, CVD etc...
    Next how to do JIiEX?? should i create bonded warehouse plant as excisable???
    I dont know how to proceed to take CVD credit..How to post excise invoice etc..
    When usually PO for imports is done dummy tax code V0 is put...but in STO where to put this TAX CODE when i am taking import duty in pricing procedure of STO??
    Please guide me .. its urgent ..
    Regards,
    Rohan

    Hi Ramakrishna,
                               Thanks for your reply. I need to explain whole thing please tell me whether am going in right way.
    Customizing
    1) Created Document type ZUB.
    2) Created Pricing Procedure specially for STO  taking Customs into consideration and other duty.
    3) Customer created for Receiving Plant
    4) Assigned that customer to sending plant( Dummy Port Plant).
    5) Whether the Dummy Plant created should be excisable. Or if its not excisable its ok?
    6) Any precautions to be taken?
    rest as you said....  Am i correct?
    Regards,
    Rohan

  • DUMP:MEMORY LOW

    Dear all,
    While running a particular report ZMIS I am getting the following error
    Note which actions and input led to the error.
    For further help in handling the problem, contact your SAP administrator
    You can use the ABAP dump analysis transaction ST22 to view and manage
    termination messages, in particular for long term reference.
    In the system profile, set the parameters
    -abap/heap_area_dia and
    -abap/heap_area_nondia
    to a maximum of 1089891456. To be on the safe side, reduce the value by 10,000,
    000.
    Then restart the SAP system.
    Now my concern is weather I should add these parameter manually  via RZ10and make default values of parameter = 2GB(default value of parameter via RZ11)
    This is production server hence I am scared to touch this.
    Please guide as it is urgent.Helpful suggestion will  surely rewarded with points.
    Regards,
    Ashutosh

    Dear All,
    Thanks for all your replies.Actually I had discussed this with SAP and found that there is nothing more you can to prevent this situation.IT is actually  an ADDRESS SPACE issue.
    Well this is the limitation of a 32 bit processor as they can only support 4GB of address space per work process.you can get some address space by to prevent this issue but after that you have to cut down the data selection to prevent this issue. The first thing we can do is to enable the 3GB option in the boot.ini,this will give you 1GB extra space.Also change the value of zatta/roll_first from current value to 1.
    Also lower the size of roll buffers as follows so that it is 60MB in size with relevant parameters set to 7500.This will increase the size of address space by about 200MB that can be used to increase the other buffers with the difference available for heap usage of reports upto 3GB limit per process.
    Regards,
    Ashutosh
    Edited by: ashutosh singh on Jun 23, 2008 6:40 AM
    Edited by: ashutosh singh on Jun 23, 2008 6:42 AM

  • Redetermination of item category in deliveries

    Hi,
    Let me explain with an example i have sales order with item category TAN and when i do delivery i want the item category should redetermine as TAS(example)
    what are all the setting in need to do?
    Please guide me its really urgent for me.
    Thanks alot
    Sridhar B

    Hi,
       Delivery Item category is determined based on the Delivery type assigned to your sales document, Item category group from the material master.
    So if u want to redetermine the delivery type in the sales order, go to
    Spro, Logistics execution, Shipping, Deliveries, Define Item Category determination in deliveries.
    Here assign Item category to the combination of ur delivery type, Item category group. Then that item category will be determined automatically.
    Reward points if it is helpful,
    Regards,
    Sree

  • New field (Customer group 5) to be added to the Catalog for Pricing.

    Hello friends,
    For the creation of a new Condition table, I require the field, KNVV-KVGR5 i.e Customer group 5 field present in Sales area data ->Extras -> Additional data in Customer master to be added to the Catalog of allowed fields since this field does not exist anywhere.
    I have already gone thru the threads available on adding New field for Pricing which has an example/detailed explanation with the Item category (PSTYVV) field.
    But the field I want i.e KNVV-KVGR5, is a part of Master data, so please guide me with the steps to follow to add this field in the field catalog and hence use it for creation of a new condition table.
    1) Should i add this field in KOMP (i.e item) or KOMK ( i.e Header) or KOMG?
    2) Should i include it in KOMKAZ or KOMPAZ?
    3) Should i create this field as data element or structure and what should be the domain used?
    4) For the value flow, should i use the Item -level user-exits or Header level mentioned in other threads?
    Please guide for the same urgently.

    Dear Friends,
    I was finally able to create a new field for Cust.grp.5 i.e ZZKVGR5 and added to Catalog to be used for Pricing.
    Then i faced a peculiar issue as below:
    For the business requirement, we defined a new tax condition table for determination of tax rates. For this, we are using both standard and custom fields to derive the correct tax rates in sales/billing documents like below
    A859: Country/Distr. Chl/Cust.grp.5/Material (Here Customer.grp 5 was added following the SAP Note: 531835)
    The field was inserted in the communication structure KOMKAZ which is included in both KOMK and KOMP.
    During the document processing, the pricing analysis view shows no value in the customer grp 5 field, though it is maintained for the customer used in the sales order. The code has been written in MV45 and RV60 both as guided in SAP Note: 531835. But the values are not flowing.
    Solved the above problem as below:
    M posting the answer to help the community for similar issue.
    Also, the new field tat i had added was Customer Grp 5 field of Customer master ->Extras->Additional field and I wanted the value to flow in the ZZKVGR5 field before the Pricing for the sales order was called.
    After trying all, we have finally fetched the value from KNVV-KVGR5 and got it moved to ZZKVGR5 field through ABAP coding.
    After this when i select/click on Pricing for a particular item, it gets picked up correctly and properly.
    Thanks to everyone for their valuable guidance and help.
    Regards to all.

  • Issue in seperating lines of ITAB and placing into SF secondary  windows

    Great abapers,
    My itab is having 6 lines item (for ex ) it may 'n' no of line items.
    In smartforms for 1 page max allowed secondary window is 2.so first 2 lines are paced in first page , next 2 lines are place in
    second page ,last 2 will be in 3 page...if it is having hundred means it will be splited into 100 into 50 pages.
    The problem is i dont know the line item which will come, how can i seperate and put into windows...i could not create 'n'no of
    work areas..what is the solution i am in conftion ...any one pls guide me...urgent
    points will be rewarded .........
    Thanks,
    regards,
    lakshmi

    Hi ,
         i hv found PO No and Po line No , based on this we have to print.
    for ex PO1 = 1 st window ,next in second etc...how to place in SF window  ...
    iam hving 'N' no of PO's in my  itab .....
    this is problem...
    thanks & regards,
    Lakshmi

  • ChangeTaxinj to Taxinn

    Dear All,
    Is it possible to change the Tax procedure Taxinj to Taxinn ?.
    what precaution should be taken in this procedure. is it feasible or not?
    please guide me its very urgent.
    Regards
    Rajesh

    Yes u can change tax procedure in OBBG u can do it
    u will have to do MAntain tax defaults
    u will have to create condition  recorde for combinatioon of plant vendor and material
    etc
    but u have to take care about all th open pos
    u will not able to c old POs with old tax procedure
    u will have to shot close all open pos and creat new
    there thould not be any open GR as u will not able to post IV for those
    so u should post all GR with out IV.
    hope this have gaven some clearity
    Reward to get better ans

  • Print out of RFQ with One Time Vendor

    My customer wants print out of RFQs with one time vendor.
    As per my understandings as like other vendors this one time vendor data is not stored in any table.This data is in table ADRC. And for one time vendor no master data is there.I can see this one time address in particular RFQ.
    Now, my customer wants this one time vendor address to be printed in all RFQs.
    Is any body come across this scenario ever ?Please guide my it is urgent.
    With Best Regards,
    Rajesh

    Hi,
    The vedor(OTV or Regular vendor) will be decided after the price comparision only.
    Once the OTV (account group:CPD/CPDL) is finalised as the final vendor for procurement create a new vendor master record (With A/c group:0001) and maintain Inforecord and source list and create PO.
    Maintain all the conditions in the Inforecord from the quotations (you have the update info option from price comparision itself)
    regards,
    Kannaiah Naidu

Maybe you are looking for