Updating Vendor of Freight Condition Type in STO

Hi,
I am facing a problem in updating KOMP-LIFNR in my program. I have below scenario
I have created a Z program which gets all materials from mchb and creates a STO order thru a BAPI_PO_CREATE1. Anyway STO is getting created but i am facing a program to update a freight condition type. I need to LIFNR(Vendor) in freight condition type.
Pls help is how to update is there any bapi to update.
Regards,
Sreekanth

Hi
We dont have any fields in the BAPI_PO_CREATE1 to directly input the Freight vendor , But by maintaining the freight vendor in the purchase infor record will update the Conditons in the PO at the time of creation of the PO.
You can also acheuive this by using the user exit enhancement SAPL2012
Exit : EXIT_SAPL2012_001.Customer Exit for Creating a Purchase Order in Enjoy Using BAPI_PO_CREATÊ1
You can chek out using SMOD.Please take the help of ABPERs to develop the code as per the requirement.
Award points if useful
Thanks & Regards
Kishore.

Similar Messages

  • Different vendors in freight condition type error in MIRO

    Hi,
    We are using different vendor in condition type for import purchase order as given.
    Ordering Vendor - 800000
    Custom Vendor - 900000 in condition type
    Freight Vendor - 700000 in condition type
    While i am doing Goods Receipt, In the Freight tab only ordering and freight vendor is showing. And at the time of MIRO all three vendor are showing for selection.
    Question: So is there any restriction for condition type. And if i change vendor at condition type after MIGO what will be effect on MIRO.
    We are using GR Base Invoice verification.
    Thanks in Advance.

    Hello Venki,
    While doing Customs MIRO, please select from the drop down as 'planned delivery cost' option.  Once you select this, then you can find your customs vendor flowing from PO.
    Hope this helps.
    Vikas.

  • Freight condition type Vs. Tax Condition Types

    HI,
    Can anyone tell me why Freight condition types Post to accruals during MIGO (GR posting) and Tax conditions types don't? Can I provide me a solution to allow Tax condition types to post to accruals during MIGO just like the freight.
    Thanks.
    Rickey.

    Hi James,
    This freight condition type assigned to freight Vendor in creation of PO.During Creation of PO ,select Condition type and go to details and assign your freight Vendor.
    If helpful then reward.
    Regards,
    Biju K

  • Freight condition type

    when i am creating a po, in freight condition type my value is getting copied from my previous document, i dont want that to happen, how should i go about for changes.
    well i have went in following path :- Enviroment Data-define default value for buyer-setting for default-price adoption :- do not copy.
    but i want this chages to happen for all the user, not a single user.
    regard
    nabil

    execute OMFI, double click on 01 or create a new one by copying 01 here go to the Price adoption tab & select the radio button for Do Not copy .....
    Now go to SU01 and insert user id, enter in the parameter tab EVO as parameter ID and as value enter 01 or if you created a new one the ID of this newly created.

  • Freight condition type-With respect to Delivery Item (per PC)/Volume/Ship-to party 's region

    Hi Gurus,
    I am working on freight related condition type,my requirement is we have to calculate freight cost based on Delivery Item (per PC) / Volume of that Material (Per PC) and Destination Region of each Delivery Order.
    for example:
    If Material '100001' has volume = 1 M3 per PC and Destination region code (in Delivery Order) is '20'. The Freight cost is 1 USD per PC.
    If Material '100001' has volume = 1 M3 per PC and Destination region code is '22'. The Freight cost is 1.5 USD per PC.
    If Material '100002' has volume = 1.5 M3 per PC and Destination region code is '20'. The Freight cost is 2 USD per PC.
    If Material '100002' has volume = 1.5 M3 per PC and Destination region code is '22'. The Freight cost is 3 USD per PC.
    I'm try to set calculation type = 'T - Multi-dimensional' and having 2 Scale Basis as following:
    Scale Basis = 'F - Volume'
    Scale Basis = 'L7 - Region of Destination'
    but it result in error in calculation when creating Shipment cost document. 
    I don't sure whether my understanding on Multi-dimensional scale is correct or not. Please kindly help.
    Thank You in Advance for every idea.

    I think, from your example, if you maintain condition record with the combination of Destination Region Code and Material, it will work, provided, your freight condition type has Calculation Type as "C".
    So your condition record would be
    100001 / 20  =  1USD per PC
    G. Lakshmipathi

  • Default Currency for freight condition type in sales order

    Hi Gurus,
    I have  Freight condition type, maintained condition record with combination of Customer, Incoterms & Material Group.
    In Customer Master Currency is USD or EURO.
    When we create Export sales order, so by default currency should come INR, not USD or EURO for Freight condition type from Customer master.
    How to get this requirement.
    Regards,
    Rakesh

    Hi Rakesh,
    I think you need a revision on condition table and access sequence for frieght condition records from SD >> basic functions >> pricing >> pricing control >> follow standard pricing configs. Actually, you need to add country ( ALAND ) and  destination country ( LLAND ) fields to your table and access sequence for export sales.
    After those configs,  you can create records in USD or EURO for domestic sales and create records INR currency for export processes.
    I hope you can neet your requirement by using this way.
    Regards,

  • Default vendor not appearing in freight condition type ZVCF

    Hi All,
    After going all the forums I am posting this issue.I have mainatined condition record for the frieght vendor with key combition of vendor, customer(Zfield) and material.
    I have mainatined partner functions for VN with GS partner type.
    When I create PO ZVCF condition type is triggering in the PO but in the condition type details the main vendor is picking. Could you please let me know is this standard behaviur or need to do any cutmisation for this.
    Attched screen shots for your refernce
    Insted of picking GS 831092 it is picking main vendor 830970
    Regards,
    Chand Basha Shaik

    Go to M/06 and input your Frieght condition type and enter the Condition type and in Control Data 2 tab enter Value A against Exclusion and Save.
    Now Maintain conditon record for the required combination in MEK1 or MEK31 and enter the required details along with the rate and choose the line item and click on Magnifier and here you need to enter the Frieght vendor and save.
    Now create Purchase order and see if the required Condition type is automated into the Purchase order. If automated, select the Freight condition and click on Magnifier and here you will be able to see the Frieght Vendor.
    Ensure Manual check is removed from the Pricing Procedure against the Frieght Conditon type. Else the condition record doesnot work.
    Alternately, Maintain the Conditon record with combination Vendor 830970 Customer 137955 Material 902 and choose the line item in MEK1 or MEK2 and input the Frieght Vendor ie.831092 and Save.
    Now Create Purchase order and check once again.

  • Domestic Freight Condition type in Purchase Order

    Hi Gurus,
    We calculate the Domestic Freight based on zip codes from source to destination. Recently we implemented Goods supplier functionality which will determine the Goods supplier in the purchase Order only at the time of saving when there are multiple Goods suppliers assigned to the main vendor. In Goods supplier case the system should consider goods supplier zip code and plant zip code for calculaing freight. At the time of creation of P.O the system is determing the Goods supplier at the time of saving the Purchase Order so sytem is not able to identify the source zip code at the time of P.O creation...So system is picking main vendor zip code instead of goods supplier zip code.
    Did anyone encountered this situation before..Is there any setting we need to do on condition type of the pricing procedure. Any inputs are appreciated.

    Hi,
    You might have have developed some custom funcationality...
    If you are expecting always goods supplier zipcode...code has to check LFM1-goods supplier vendor code it is available in Parterns tab  ...and needs to put this vendor into the table ADRC...
    And try to explore function modules BAPI_VENDOR_GETDETAIL, ADDR1_EXTRACT_TABLES...
    Hope it helps you...
    Kuber

  • Reg freight condition type

    Dear All,
                 I want to check what r all the condition type using for a vendor...based on the vendor info record..i used se12 ther i codnt find it..
    could u tell me var exactly maintaining..
    Regards,
    Dhanush.S.T

    Hello,
    First you will have to determine the calculation schema for the Vendor (customizing: you will find this is table TMKS). Next you will find all conditions (including freight) relevant for this schema in Customizing: Purchasing->Conditions->Define Price Determination Proces->Define calculation Schema.
    Regards,
    John.

  • To change vendor no for condition types using BAPI_PO_CHANGE

    Hii,
    how to change vendor no for certain condition types using BAPI_PO_CHANGE.
    Is it possible .
    Any parameter is there.
    Plz help urgent
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:23 PM

    Hi,
       It is possible.
    wa_pocond-vendor_no = wa_konv-lifnr.
    wa_pocondx-vendor_no = 'X'.
       wa_pocond-condition_no = wa_konv-knumv.
        wa_pocond-itm_number = wa_konv-kposn.
        wa_pocond-cond_type = wa_konv-kschl.
        wa_pocondx-condition_no = wa_konv-knumv.
        wa_pocondx-itm_number = wa_konv-kposn.
        wa_pocondx-cond_type = 'X'.
        wa_pocondx-change_id = 'U'.
        APPEND wa_pocondx TO it_pocondx.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder                = wa_konv-ebeln
          POHEADER                     =
          POHEADERX                    =
          POADDRVENDOR                 =
          TESTRUN                      =
          MEMORY_UNCOMPLETE            =
          MEMORY_COMPLETE              =
          POEXPIMPHEADER               =
          POEXPIMPHEADERX              =
          VERSIONS                     =
          NO_MESSAGING                 =
          NO_MESSAGE_REQ               =
          NO_AUTHORITY                 =
          NO_PRICE_FROM_PO             =
        IMPORTING
          EXPHEADER                    =
          EXPPOEXPIMPHEADER            =
         TABLES
           return                       = it_return
           poitem                       = it_poitem
           poitemx                      = it_poitemx
          POADDRDELIVERY               =
          POSCHEDULE                   =
          POSCHEDULEX                  =
          POACCOUNT                    =
          POACCOUNTPROFITSEGMENT       =
          POACCOUNTX                   =
          POCONDHEADER                 =
          POCONDHEADERX                =
           pocond                       = it_pocond
           pocondx                      = it_pocondx
          POLIMITS                     =
          POCONTRACTLIMITS             =
          POSERVICES                   =
          POSRVACCESSVALUES            =
          POSERVICESTEXT               =
          EXTENSIONIN                  =
          EXTENSIONOUT                 =
          POEXPIMPITEM                 =
          POEXPIMPITEMX                =
          POTEXTHEADER                 =
          POTEXTITEM                   =
          ALLVERSIONS                  =
          POPARTNER                    =
          POCOMPONENTS                 =
          POCOMPONENTSX                =
          POSHIPPING                   =
          POSHIPPINGX                  =
          POSHIPPINGEXP                =
          POHISTORY                    =
          POHISTORY_TOTALS             =
          POCONFIRMATION               =
        COMMIT WORK AND WAIT.

  • Freight condition type-With respect to kilometer

    Hi,
    I am working on freight related condition type,my requirement is we have to calculate freight cost based on kilometer or miles.But for us the standard condition type is KF00 which is with respect to Gross Weight.
    Is there any condition type which calculates Freight based on miles/kilometer covered.If so kindly throw some ideas on it.
    My doubt is do we require transportation management.
    Pradeep

    Hi Pradeep,
    without transport management, maybe you need a different approach of calculating freight.
    instead of calculating price per Km/Mile by distance, apply cost based on origin - destination of you sold-to and ship-to.
    You know Price per km/Mile. You can ask distance between origin and destination points and calculate freight cost then.
    The important point here is to determine the different origins and destinations, refine, group, regroup to end in something that may look like:
    Origin: country-state-region-city-zip code... (and even sold-to)
    Destination: country-state-region-city-zip code ... (and even ship-to)
    Freigth cost: (unit cost x distance)
    Once you´ve mapped this in an Excel file, you can think of creating a price condition for your freight costs in SAP based on your mapping.
    Regards,
    JM

  • Can we make default vendor code for condition type

    We have created a condition type for cess. While creating with this condition, by default system should select a particular vendor.  How to make default Vendor for that particular condition type.  So that users cannot make mistakes while creation PO with the condition type.

    Hi Guru,
    I have one doubt. if access sequence is not defined for this purchase condition  then, in that case the txn MEK1 will not work. Then in that case how to use MEk1 transaction?
    Could you please explain me in detail as to how to go about it & meet this  requirement?

  • Change vendor in freight condition after GR

    Dear All,
    Is it possible to change vendor in freight condtion aftr making GR. Please confirm
    Rgd
    Madhavan

    HI,
    It is possible to change the freight after GR done and MIRO is not done.
    For this in the freight cond type.use cond type FRB1 or copy this and create ur own cond type.
    Then in control data,VENDOR IN GRGIVE VALUE 2 & SAVE.
    When doing migo u can give the new vendor for freight during GR or if u had forgot to change the vendor reverse the GR and then change the vendor.
    This is possible only when u have not done MIRO.
    Other wise in MIRO in details TAB u can enter the new freight vendor in Invoicing party.

  • When we clicked on Update for new pricing,condition type is repeated twice

    Hi Friends,
    For new pricing,I clicked on the Update pushbuttion in the conditions tab of sales order,Condition type is repeated twice .So value is increased.I checked in the pricing  analysis,it is showing only once.
    I searched all threads and I tried all the possibilities.
    I checked exclusive indicator,it is correctly checked.
    Condition type manual entries selected as B automatic as priority
    Item condition check box is checked only.
    Mandatory check box is selected in the Pricing procedure for that condition type.
    Anything i missed out .
    Please suggest me how to go.
    Thanks in advance.
    Rgds....VM
    Edited by: vm on Nov 2, 2011 5:55 PM
    Edited by: vm on Nov 2, 2011 5:56 PM

    Condition type is repeated twice
    Ensure that the pricing condition is not maintained for multiple combinations in VK11
    G. Lakshmipathi

  • Freight condition type to COPA

    Dear Experts,
    I know only two type of condition type passed to COPA
    1) Statistical Condition type
    2) Condition type with 11 and 12 cost element category
    like - discount,rebate with 12 category and frieght and octroi charged from customer with 11 category
    and if i need to flow excise and service tax to copa.will create separate statistical condition type equivalent to excise condition type.
    But how to flow other expenses condition type to COPA. like frieght paid to customer
    regards
    RR

    Hi ajay,
    Thanks for your pmompt reply
    i will maintain 12 cost element categary  but in copa it will show frieght  seperate and revenue seperate.
    ie - revenue 10 rs
         frieght     -2 rs
    system will not show revenue 8rs  deducted frieght from there.
    regards
    RR

Maybe you are looking for

  • AD Password Sync connector 9.1.1 With OIM 11g R2 - ERROR OVER SSL

    I have set up AD password sync with from AD to OIM 11G R2 The password syncs from AD to OIM 11G R2 on non ssl port 389. But if fails on SSL Port 636. Errors in OIMMain.Log:_ Debug [10/11/2012 10:49:34 AM] Inside ConnectToADSI Debug [10/11/2012 10:49:

  • Hierarchical filter in Web Reporting

    Hi, I'm working with BI 7.0 SPS13 and the problem is the hierarchical filter displays every characteristic node using a very long text linking every attribute of the base characteristic along with it's values. For example: Gcia.Tecnica, Ind gpo.compr

  • How to do field in selection screen

    Hi, Could you please let me know, how to add a field in selection view of KAEP_SCOVP. This view is used in KSB1 transaction code for selection. Thanks, Sriram Ponna. Message was edited by:         Sriram Ponna

  • Please explain why SMPT error message is occurring and how to find my password

    SMPT error message is occurring every time I try and send an email. How do I recover this password? I do not remember what it would be.

  • How to make it move correctly?

    I made a simple Flex application. There is a helicopter which will move to points that user clicks in the canvas. For example, it is at A point. When I click at B point, the helicopter will move to B. Then it will move to C when I click at C. However