Primary Freight

Dear Friends,
We have done a z development for LR entry(Lorry Receipt) for Primary and secondary Freight.
As soon as shipment completes user has to do the LR entry of concerned transporter per shipment wise.
LR no is a receipt from transporter against the material he is going to transport to customer or plant.
LR contains the invoice numbers/ gross value/date etc.
On the basis LR and proof of delivery(2nd copy of LR signed/stamped by receiver)payment made to transporter.
One LR no. may be of multiple deliveries/invoices.
Issue we are facing in case of primary freight(plant to plant transfer) where some supplying plant forgets to do the LR entry.
Again we had created a field LR no and date and made the field mandatory at the time of MIGO. In MIGO as soon as users enters the delivery no. its update the LR no from the Z table and if supplying plant has not done the LR entry , receiving plant has to do with the reference of hard copy.
Many time user does the wrong entry due to which transporter payment got delayed.
Can anyone give a better solution for this so that timely payment or deduction of payment can be managed.
Regards
Ravi

and made the field mandatory at the time of MIGO
Instead of making the field mandatory in receiving plant, as already suggested, have a control in such a way that sending plant should update the LR entry within 3 or 5 days (depending upon client's discretion), failing which, all out going transactions should be locked.  Only top management should have the authorization to release this lock.  On the other hand, if the transporter enjoys very good business with your client, then you can very well hand over this work to the transporter who has to update then and there when they release LR.  This practice is being followed by many major clients.  By doing so, your client can not only pass on the message that LR updation will have parallel impact on their payment, but also users job is simplified.  They just need to validate the data which can be done by having some report with details like Transporter name, Vehicle no. (if required), date of despatch, Delivery reference etc.
G. Lakshmipathi

Similar Messages

  • Amount of primary freight

    Hi Guys,
    Could you please suggest me for below report.
    A report that will provide the amount of primary freight we spent in 2007. The freight costs need to be reported in two ways:
    Vendor to Distributor -
    Distributor to Distributor
    Thnaks
    tata

    and made the field mandatory at the time of MIGO
    Instead of making the field mandatory in receiving plant, as already suggested, have a control in such a way that sending plant should update the LR entry within 3 or 5 days (depending upon client's discretion), failing which, all out going transactions should be locked.  Only top management should have the authorization to release this lock.  On the other hand, if the transporter enjoys very good business with your client, then you can very well hand over this work to the transporter who has to update then and there when they release LR.  This practice is being followed by many major clients.  By doing so, your client can not only pass on the message that LR updation will have parallel impact on their payment, but also users job is simplified.  They just need to validate the data which can be done by having some report with details like Transporter name, Vehicle no. (if required), date of despatch, Delivery reference etc.
    G. Lakshmipathi

  • Reg:rfc

    Hai to all,
    I am created one below rfc function module. that is ZTEST_FUNC.
    Expert Forums » ABAP Development » ABAP Dictionary
    Thread: reg:fm
    Welcome, chaitu sumi   
    Your Control Panel 
    Your Reward Points 
    Your Questions 
    There are new replies to your question.
    Mark question as still not answered.
    Mark question as answered.
    Use the radio buttons to award points to replies.
      You are watching this thread. To stop watching this thread, click "Stop Watching Thread" below. (Watch Options) 
    This watch sends emails by default. If you don't want to receive emails on changes in this thread, go to the watch options, un-mark the "Email" checkbox next to the thread's entry and click "Update". 
    Reply to this Thread   Search Forum    Stop Watching Thread    Back to Thread List 
      Replies: 2 - Pages: 1 - Last Post: Aug 6, 2007 5:03 PM by: Sudheer Junnuth...  Threads: Previous  
    chaitu sumi  
    Posts: 9
    Questions: 9
    Registered: 7/13/07
    Forum points: 0 
       reg:fm  
    Posted: Aug 6, 2007 4:47 PM         Reply      E-mail this post 
    I created below function module, which is having below import parameters and tables:
    FUNCTION ztest_func.
    ""Local interface:
    *" IMPORTING
    *" VALUE(S_LFDAT1) LIKE LIKP-LFDAT
    *" VALUE(S_LFDAT2) LIKE LIKP-LFDAT OPTIONAL
    *" VALUE(RAIL_ROAD) TYPE CHECKBOX
    *" TABLES
    *" IT_FINAL STRUCTURE ZTLC_SAL
    data: it_cond type n,
    loop_index like sy-tabix .
    select zdelv~vkorg
    zdelv~vbeln
    zdelv~lfart
    zdelv~lfdat
    zdelv~wadat
    zdelv~vtweg
    zdelv~spart
    zdelv~vkbur
    zdelv~vkgrp
    zdelv~kunnr
    zdelv~vsbed
    zdelv~ntgew
    zdelv~route
    zdelv~lgort
    zdelv~inco1
    zdelv~matnr
    zdelv~mvgr1
    zdelv~vsart
    zdelv~rwerks
    zdelv~dwerks
    into corresponding fields of table IT_FRGT
    From zdelv WHERE zdelv~wadat = s_lfdat1 " and s_lfdat2
    AND zdelv~lfart IN ('ZGDP','ZGRR','ZRLF','ZGLF').
    if Sy-subrc = 0.
    Sort it_frgt
    by vbeln dwerks lgort route kunnr regio vkbur vkgrp bran1 cityc.
    Delete adjacent duplicates from it_frgt
    Comparing vbeln dwerks lgort route kunnr
    regio vkbur vkgrp bran1 Cityc.
    Loop_index = 1.
    Loop at it_frgt." to wa_frgt.
    *select kunnr regio from kna1 into kna1 where kunnr = it_frgt-kunnr.
    *select bland from t005u into corresponding fields of table it_regio where Bland = kna1-regio.
    *endselect.
    IF RAIL_ROAD = 'I'.
    IF IT_FRGT-VSBED <> '04'.
    DELETE IT_FRGT.
    clear it_frgt.
    CONTINUE.
    ENDIF.
    ENDIF.
    IF RAIL_ROAD = 'R'.
    IF IT_FRGT-VSBED = '04'.
    DELETE IT_FRGT.
    clear it_frgt.
    CONTINUE.
    endif.
    endif.
    clear wa_frgt.
    select single lifnr from vbpa into vbpa
    where vbeln eq it_frgt-vbeln and
    parvw eq 'ZD'.
    move-corresponding it_frgt to wa_frgt.
    move vbpa-lifnr to wa_frgt-lifnr.
    If wa_frgt-lfart eq 'ZGND' OR
    wa_frgt-lfart eq 'ZGNL' OR
    wa_frgt-lfart eq 'ZGNS'.
    wa_frgt-LVTEXT = 'STA'.
    if wa_frgt-lfart eq 'ZGNS'.
    delete it_frgt.
    continue.
    endif.
    select mseg~werks
    mseg~lgort
    into (wa_frgt-rwerks,wa_frgt-rlgort)
    from vbfa join mseg
    on mseg~mblnr = vbfa~vbeln
    where vbfa~vbelv eq wa_frgt-vbeln and
    vbfa~vbtyp_n = 'i'.
    Endselect.
    wa_frgt-netwr = 0.
    if wa_frgt-netwr = 0.
    select single regio region plant lgobe cityc from zsta
    into corresponding fields of it_zfrgt
    where werks = it_frgt-dwerks
    and lgort = it_frgt-lgort
    and vkorg = it_frgt-vkorg
    and kunnr = it_frgt-kunnr.
    if sy-subrc <> 0.
    select single regio region plant lgobe cityc from zsta into corresponding fields of it_zfrgt
    where werks = it_frgt-dwerks
    and lgort = it_frgt-lgort
    and vkorg = it_frgt-vkorg.
    select single cityc from kna1 into wa_frgt-cityc
    where kunnr = wa_frgt-kunnr.
    it_zfrgt-cityc = wa_frgt-cityc.
    endif.
    select single regio region plant lgobe cityc from zsta into corresponding fields of it_zfrgt1
    where werks = it_frgt-rwerks
    and lgort = it_frgt-rlgort
    and vkorg = it_frgt-vkorg
    and kunnr = it_frgt-kunnr.
    if sy-subrc <> 0.
    select single regio region plant lgobe cityc from zsta into corresponding fields of it_zfrgt1
    where werks = it_frgt-rwerks
    and lgort = it_frgt-rlgort
    and vkorg = it_frgt-vkorg.
    endif.
    else.
    select single regio region plant lgobe cityc from zsta into corresponding fields of it_zfrgt
    where werks = it_frgt-dwerks
    and lgort = it_frgt-lgort
    and vkorg = it_frgt-vkorg.
    endif.
    else.
    select single * from zsta into it_zfrgt
    where werks = it_frgt-dwerks
    and lgort = it_frgt-lgort
    and vkorg = it_frgt-vkorg.
    endif.
    wa_frgt-regio = it_zfrgt-regio.
    wa_frgt-region = it_zfrgt-region.
    wa_frgt-plant = it_zfrgt-plant.
    wa_frgt-lgobe = it_zfrgt-lgobe.
    wa_frgt-cityc = it_zfrgt-cityc.
    wa_frgt-soffice = it_zfrgt1-Plant.
    STA *
    endif.
    if wa_frgt-lfart eq 'ZGDP' OR
    wa_frgt-lfart eq 'ZGDR' OR
    wa_frgt-lfart eq 'ZGRR' OR
    wa_frgt-lfart eq 'ZRLF' OR
    wa_frgt-lfart eq 'ZGLF' OR
    wa_frgt-lfart eq 'ZGLR' .
    if wa_frgt-lfart eq 'ZGLR'.
    delete it_frgt.
    continue.
    endif.
    if wa_frgt-lfart eq 'ZGDR'.
    delete it_frgt.
    continue.
    endif.
    select single WBSTK from LIKPUK into Likpuk-wbstk
    where vbeln = wa_frgt-vbeln.
    if sy-subrc = 0.
    if likpuk-wbstk <> 'C'.
    delete it_frgt.
    clear wa_frgt.
    continue.
    endif.
    endif.
    wa_frgt-LVTEXT = 'SALES'.
    wa_frgt-netwr = 0.
    if wa_frgt-netwr = 0.
    Select single * from ZFRGT into it_zfrgt2
    where werks = it_frgt-dwerks
    and lgort = it_frgt-lgort
    and vkorg = it_frgt-vkorg
    and kunnr = it_frgt-kunnr.
    if sy-subrc <> 0.
    clear it_zfrgt2.
    Select single * from ZFRGT into it_zfrgt2
    where werks = it_frgt-dwerks
    and lgort = it_frgt-lgort
    and vkorg = it_frgt-vkorg.
    if sy-subrc <> 0.
    select single * from t001w
    where werks = it_frgt-dwerks.
    if sy-subrc = 0.
    wa_frgt-plant = t001w-name1.
    select single * from t001l
    where werks = it_frgt-Dwerks and
    lgort = it_frgt-lgort.
    if sy-subrc = 0.
    wa_frgt-lgobe = t001l-lgobe.
    endif.
    it_zfrgt2-lgobe = wa_frgt-lgobe.
    it_zfrgt2-plant = wa_frgt-plant.
    endif.
    Endif.
    Select single * from kna1 where kunnr = it_frgt-kunnr.
    wa_frgt-cityc = kna1-cityc.
    wa_frgt-regio = kna1-regio.
    wa_frgt-bran1 = kna1-bran1.
    select single vtext from tbrct into tbrct where braco = it_frgt-bran1.
    wa_frgt-vtext = tbrct-vtext.
    endselect.
    select single bezei from t005u into t005u where bland = wa_frgt-regio
    and land1 = 'IN'.
    wa_frgt-region = t005u-bezei.
    it_zfrgt2-cityc = wa_frgt-cityc.
    it_zfrgt2-regio = wa_frgt-regio.
    it_zfrgt2-region = wa_frgt-region.
    it_zfrgt2-vtext = wa_frgt-vtext.
    it_zfrgt2-bran1 = wa_frgt-bran1.
    endif.
    endif.
    endif.
    wa_frgt-regio = it_zfrgt2-regio.
    wa_frgt-region = it_zfrgt2-region.
    wa_frgt-plant = it_zfrgt2-plant.
    wa_frgt-lgobe = it_zfrgt2-lgobe.
    wa_frgt-cityc = it_zfrgt2-cityc.
    wa_frgt-vtext = it_zfrgt2-vtext.
    wa_frgt-bran1 = it_zfrgt2-bran1.
    select single * from tvkbt into tvkbt where vkbur = wa_frgt-vkbur.
    if sy-subrc = 0.
    wa_frgt-soffice = tvkbt-bezei.
    endif.
    select single * from tvgrt where vkgrp = wa_frgt-vkgrp.
    if sy-subrc = 0.
    wa_frgt-district = tvgrt-bezei.
    endif.
    endif.
    select single * from zdest into zdest where
    vkorg = wa_frgt-vkorg and
    regio = wa_frgt-regio and
    cityc = wa_frgt-cityc and
    actvt = 'A'.
    if sy-subrc = 0.
    wa_frgt-vtext = zdest-vtext1.
    wa_frgt-bran1 = zdest-ibraco.
    wa_frgt-vkgrp = zdest-ivkgrp.
    select single * from tvgrt into tvgrt where vkgrp = wa_frgt-vkgrp.
    if sy-subrc = 0.
    wa_frgt-district = tvgrt-bezei.
    endif.
    else.
    wa_frgt-vtext = ' '.
    wa_frgt-bran1 = ' '.
    wa_frgt-district = ' '.
    endif.
    endselect.
    *endselect.
    *IF kna1-regio IS NOT INITIAL.
    Read table it_regio with key BLAND = wa_FRGT-REGIO.
    IF SY-SUBRC <> 0.
    DELETE IT_FRGT.
    clear it_frgt.
    CONTINUE.
    ENDIF.
    ENDIF.
    if wa_frgt-lfart eq 'ZGDR'.
    wa_frgt-NQGEW = wa_frgt-NTGEW.
    wa_frgt-NQGEW = wa_frgt-NQGEW * 1.
    else.
    wa_frgt-NQGEW = wa_frgt-NTGEW.
    wa_frgt-NQGEW = wa_frgt-NQGEW * 1.
    endif.
    if wa_frgt-vsbed <> '04'.
    Wa_frgt-t_mode = 'Road'.
    else.
    Wa_frgt-t_mode = 'Rail'.
    endif.
    it_cond = 0.
    if wa_frgt-netwr eq 0.
    if wa_frgt-vsbed <> '04'.
    select * from a531 into a531
    where werks eq wa_frgt-dwerks and
    zzlgort eq wa_frgt-lgort and
    cityc eq wa_frgt-cityc
    order by datbi DESCENDING.
    if sy-subrc = 0.
    it_cond = 1.
    if ( a531-datbi >= sy-datum and
    a531-datab <= sy-datum ).
    wa_frgt-knumh = a531-knumh.
    exit.
    endif.
    endif.
    endselect.
    if it_cond = 0.
    select * from a524 into a524
    where werks eq wa_frgt-dwerks and
    ZZTRANSP eq wa_frgt-lifnr and
    cityc eq wa_frgt-cityc
    order by datbi DESCENDING.
    if sy-subrc = 0.
    it_cond = 1.
    if ( a524-datbi >= sy-datum and
    a524-datab <= sy-datum ).
    . wa_frgt-knumh = a524-knumh.
    exit.
    endif.
    endif.
    endselect.
    endif.
    if it_cond = 0.
    select * from a530 into a530
    where werks eq wa_frgt-dwerks and
    ZZLGORT eq wa_frgt-lgort and
    inco1 eq wa_frgt-inco1 and
    cityc eq wa_frgt-cityc
    order by datbi DESCENDING.
    if sy-subrc = 0.
    it_cond = 1.
    if ( a530-datbi >= sy-datum and
    a530-datab <= sy-datum ).
    wa_frgt-knumh = a530-knumh.
    exit.
    endif.
    endif.
    endselect.
    endif.
    if it_cond = 0.
    select * from a527 into a527
    where werks eq wa_frgt-dwerks and
    ZZLGORT eq wa_frgt-lgort and
    ZZTRANSP eq wa_frgt-lifnr and
    cityc eq wa_frgt-cityc
    order by datbi DESCENDING.
    if sy-subrc = 0.
    it_cond = 1.
    if ( a527-datbi >= sy-datum and
    a527-datab <= sy-datum ).
    wa_frgt-knumh = a527-knumh.
    exit.
    endif.
    endif.
    endselect.
    endif.
    endif.
    else.
    select * from a519 into a519
    where vsbed eq wa_frgt-vsbed and
    rke_route eq wa_frgt-route
    order by datbi DESCENDING.
    if sy-subrc = 0.
    it_cond = 1.
    if ( a519-datbi >= sy-datum and
    a519-datab <= sy-datum ).
    wa_frgt-knumh = a519-knumh.
    exit.
    endif.
    endif.
    endselect.
    endif.
    if wa_frgt-knumh is not initial.
    select single * from konp into konp
    where knumh = wa_frgt-knumh.
    move konp-kbetr to wa_frgt-netwr.
    if konp-KMEIN = 'BAG'.
    wa_frgt-NQTWR = wa_frgt-NETWR *
    ( wa_frgt-ntgew * ( 20 / konp-kpein ) ).
    else.
    wa_frgt-NQTWR = wa_frgt-NETWR * wa_frgt-ntgew.
    endif.
    else.
    delete it_frgt.
    clear wa_frgt.
    continue.
    endif.
    else.
    wa_frgt-NQTWR = wa_frgt-NETWR.
    endif.
    CLEAR ZFREIGHT.
    if wa_frgt-vsbed = '04'.
    select single distn frgt from Zfreight into Zfreight
    Where Werks eq wa_FRGT-DWERKS
    AND LGORT eq wa_FRGT-LGORT
    AND route eq wa_FRGT-route.
    else.
    if ( it_frgt-lfart = 'ZGNL' ) OR ( it_frgt-lfart = 'ZGLF' ).
    Select single * from Zfreight into Zfreight
    Where Werks eq wa_FRGT-DWERKS
    AND cityc eq wa_FRGT-cityc
    AND route eq wa_FRGT-route.
    else.
    Select single * from Zfreight into Zfreight
    Where Werks eq wa_FRGT-DWERKS
    AND LGORT eq wa_FRGT-LGORT
    AND cityc eq wa_FRGT-cityc
    AND route eq wa_FRGT-route.
    endif.
    endif.
    if sy-subrc = 0.
    wa_FRGT-RRKM = ZFREIGHT-DISTN.
    if wa_frgt-rrkm > 0.
    wa_frgt-NKTWR = wa_frgt-rrkm * wa_frgt-ntgew.
    endif.
    IF ZFREIGHT-FRGT = 'P'.
    wa_frgt-BEZEI = 'Primary Freight'.
    Endif.
    IF ZFREIGHT-FRGT = 'S'.
    wa_frgt-BEZEI = 'Secondary Freight'.
    Endif.
    endif.
    modify it_frgt from wa_frgt index loop_index .
    Loop_index = loop_index + 1.
    endloop.
    endif.
    Sort it_frgt by Regio dwerks lgort Vkbur district bran1 mvgr1 t_mode.
    Clear:WA_frgt.
    Loop at it_frgt.
    If wa_frgt is initial.
    move-corresponding it_frgt to wa_frgt.
    wa_frgt-NQGEW = 0.
    wa_frgt-NQTWR = 0.
    wa_frgt-NKTWR = 0.
    endif.
    if it_frgt-lfart eq 'ZGDR' .
    it_frgt-NQGEW = it_frgt-NQGEW * -1.
    it_frgt-NQTWR = it_frgt-NQTWR * -1.
    it_frgt-NKTWR = it_frgt-NKTWR * -1.
    endif.
    if it_frgt-regio = wa_frgt-regio and
    it_frgt-dwerks = wa_frgt-dwerks and
    it_frgt-lgort = wa_frgt-lgort and
    it_frgt-vkbur = wa_frgt-vkbur and
    it_frgt-district = wa_frgt-district and
    it_frgt-bran1 = wa_frgt-bran1 and
    it_frgt-t_mode = wa_frgt-t_mode.
    wa_frgt-NQGEW = wa_frgt-NQGEW + it_frgt-NQGEW.
    wa_frgt-NQTWR = wa_frgt-NQTWR + it_frgt-NQTWR.
    wa_frgt-NKTWR = wa_frgt-NKTWR + it_frgt-NKTWR.
    else.
    Append wa_frgt to it_sfrgt.
    Clear wa_frgt.
    move-corresponding it_frgt to wa_frgt.
    wa_frgt-NQGEW = 0.
    wa_frgt-NQTWR = 0.
    wa_frgt-NKTWR = 0.
    wa_frgt-NQGEW = WA_frgt-NQGEW + it_frgt-NQGEW.
    wa_frgt-NQTWR = wa_frgt-NQTWR + it_frgt-NQTWR.
    wa_frgt-NKTWR = wa_frgt-NKTWR + it_frgt-NKTWR.
    endif.
    AT LAST .
    Append wa_frgt to it_sfrgt.
    Clear wa_frgt.
    ENDAT.
    endloop.
    sort it_sfrgt by regio dwerks lgort Vkbur district bran1 t_mode rrkm nqgew nqtwr nktwr avg_frt.
    Loop At IT_SFRGT.
    IT_SFRGT-RRKM = 0 .
    IF IT_SFRGT-NQGEW > 0 AND IT_SFRGT-NQTWR > 0.
    IT_SFRGT-AVG_FRT = IT_SFRGT-NQTWR / IT_SFRGT-NQGEW.
    ENDIF.
    IF IT_SFRGT-NQGEW > 0 AND IT_SFRGT-NKTWR > 0.
    IT_SFRGT-RRKM = IT_SFRGT-NKTWR / IT_SFRGT-NQGEW.
    ENDIF.
    IF IT_SFRGT-RRKM > 0 AND IT_SFRGT-AVG_FRT > 0.
    IT_SFRGT-FRT_RT = IT_SFRGT-AVG_FRT / IT_SFRGT-RRKM.
    ENDIF.
    MODIFY IT_SFRGT .
    Endloop.
    Sort it_sfrgt by REGION vkorg dwerks lgort t_mode rwerks mvgr1.
    loop at it_sfrgt.
    move-corresponding it_sfrgt to itab1.
    append itab1.
    endloop.
    loop at itab1.
    move-corresponding itab1 to IT_FINAL.
    append it_final.
    endloop.
    ENDFUNCTION.
    AND I created another function module ZTEST_RFC.
    In ZTEST_RFC MODULE I AM CALLING ABOVE FUNCTION MODULE ZTEST_FUNC.
    NOW its going to dump its showing the error CALL_FUNCTION_UC_STRUC RUNTIME ERROR IS COMING.
    how can i solve this problem could any body tell me its very urgent.
    In ZTEST_FUNC  function module only i am collecting the data and put into IT_FINAL INTERNAL TABLE.

    According to
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm
    The reason for the Runtime error: CALL_FUNCTION_UC_STRUCT is that "Type conflict while transferring structure ".
    I'd suggest therefore that you check the definition of the variables in ZTEST_RFC where it calls ZTEST_FUNC as there would seem to be a mismatch.  If you are editing ZTEST_RFC, try using the Check > Extended check functionality as this will typically pinpoint such problems for you.

  • Service entry made in TC-ML81N

    Hi
    There is a  document entered to a G/L-85040(LIABILITY FOR PRIMARY FREIGHT) as a credit entry.While verifying the document it is found that it is a service entry made for AMC in TC-ML81N.More over it is a system entry.Then i verified the TC-OBYC & the finding is as follows.
    The valuation area of the plant kkd3 is NFC1, whereas all the other plants will come under NFCL. The service will not have a valaution class. In obyc for the combination of WRX(GR/IR clearing account)/NFC1/blank valuation class we have given 85040 as the gl account code. The mentioned entries are related to service entry postings of the plant KKD3. So the credit will go to 85040 only.
    Now my doubt is what is the relation between the TC-ML81N with that particular G/L& from where it is picking up that G/L automatically.
    Is it the G/L is picked up because of the above assignment in OBYC.Do this entry  have any relation with OBYC.
    PLEASE CLARIFY
    Thanks
    shivaji

    Hi,
    Based on the automatic account assignment determination maintained in OBYC & etc., corresponding G/L account will be picked up at the time of creation of Purchase order(Or work order) itself. The same G/L will be posted with the actual values at the time of GR or Service entry.
    Thanks
    Kishore

  • Freight Calculation in Standard cost Run

    Hi,
    The requirement is while doing the standard cost calculation through CK11N / CK40N system should show seperately how much is freight plan cost &; how much is duty plan cost.e.g.
    100 is material price as per condition PB00 Cost element 355100
    10 is freight cost (ZFR1 10%) Cost element 363170
    5 is duty cost (Zduty lets say 0.5%) Cost element 363171
    So taotal cost will be 115
    I wanted to get this in cost component wise. Client does not want manual intervention so do not want to go for additive cost method
    I had tried through Purchasing info record. I have maintained the valuation variant accordingly. Assigned correct sub strategy to it & also maintained delivery cost button in the same screen to assign conditions to origin group.
    Also I had maintained purchasing info record through me11 ; mainteined conditions there.
    These above mentioned cost elements are mapped in cost component  structure in T code OKTZ. Seperately for material ,freight &; duty
    Now when I make a PO, system is showing correct calculation as per the conditions.When I do the GR the Freight &; duty is getting posted &; these GLs are having above mentioned primary cost elements . .So the primary cost element is also getting posted correctly.
    Now the problem is
    While doing the cost run system shows me Seperate cost for material as 100 , seperate for freight 10 & seperate for duty 5, but to the same cost element i.e. 355100. So all the cost is shown as material cost ; nothing is displayed as freight or duty
    If I see the cost element report the corresponding value is flown to the corresponding cost element. But  it is not reflecting in proper cost component in cost run
    .Please guide me why this is happening. How can I resolve this
    Regards,
    Abhijit

    Hi Ajay,
    I was waiting for your reply.
    As mentioned by you, I have mapped my cost component structure like Raw material, Freigh, Duty & assigned the corresponding cost elements to it.. But still in itemisation view it shows three values
    consumption cost element 355100 - 100
    consumption cost element 355100 - 10  (which should go to freight component where I have assigned the Freight cost element)
    consumption cost element 355100  -5   (which should go to Duty component where I have assigned the Duty cost element)
    FI entries are getting posted correctly. Values are flown to coresponding cost elements.
    For the time being We will keep duty part side. We are discussing with client on this.
    But, what could be the reason of this problem. How I can achieve the below mentioned result.
    Cost component view
    Raw material -100
    Freight  - 10
    Duty - 5

  • Settling Freight Costs

    Gurus u2013 see below regarding SAP shipment cost document (SCD) and the associated Service PO.  Any thoughts on how to correct this?
    CASE:
    u2022     Create SCD with reference to shipment number. This SCD creates a Service purchase order and a Service Entry sheet automatically.
    u2022     The SCD has several conditions types to store different types of costs: Freight, fuel, accessorial, package, etc.
    u2022     The purchase order has only one value, instead the several values in the SCD. Want to replicate all condition types from the SCD  to the PO.
    Example:
    SCD Condition Types:
    u2022     Freight           $80
    u2022     Fuel           $15
    u2022     Accessorial     $5
    u2022     Total          $100 USD
    Automatic Service PO conditions:
    u2022     Price(Limit)          $100
    Would like to have the same breakdown on cost in both documents.  Any thoughts/experience on how to do this in SAP?

    HI,
    once it is secondary cost you cannot bring it back to primary cost.
    Best regards, Christian

  • How can I stop using my primary Apple ID (Gmail) but leave my secondary Apple ID (icloud) as primary ond only ONE?

    Good afternoon friends.
    Please help me and tell how can I stop using my primary Apple ID (Gmail) but leave my secondary Apple ID (icloud) as primary ond only ONE?
    I started using Apple ID in 2011 when iCloud was not exist and was forced to use non-apple e-mail adress as primary ID.
    So I used GMail mailbox.
    When iCloud was started I created my account but unfortunatelly can't remove this Gmail address from my Apple ID and replace it with icloud mail address.
    I was VERY dissapointed because I don't want to use "outside" mailbox to get letters from Apple and ny ID.
    In fact I see the Apple old users and fans discrimination.
    When creating new user accounts are free to create a box on the iCloud mail and use it as a primary ID, and the only ONE.
    At the same time the old user is obliged to keep third-party mail box like Gmail etc. as the primary and can not get such an opportunity, as a new user
    This is extremely inconvenient and a VERY strange logical.
    For example, now I want to stop using this mailbox on Gmail but I can not do that because in this case I lose access to my ID, or run the risk that someone in the future will create a box with the same name on Gmail (when name will be free and available) and will automatically get access to my accounts on Apple and to my Apple ID.
    Now, to avoid this, your team, I offer the only way out: ID, create anew.
    Of course it's possible, but then:
    - I lose all my purchases for 3 years and will be forced to make them again and pay money for the second time for my purchases
    - Lose access to the familiar iCloud e-mail address who now serves as secondary ID because this e-mail address is almost no longer available and will never be released in future.
    And now answer me for ONLY TWO questions:
    - WHERE IS LOGIC?
    - WHAT ABOUT TO BE FRIENDLY FOR YOUR USERS AND FANS?
    Thank you!
    Hopefully for your GOOD answers.

    You cannot make your @icloud.com address the login address for the ID. However you can change your ID, currently a Gmail one, to any other functioning non-Apple email address. The Gmail address would then no longer access your account, and so even if someone were to obtain posession of it (is that even possible) it wouldn't allow them to get into your account.
    If you want to change your ID to another email address please follow the procedure outlined below, particularly noting the first step.
    Firstly, if you have 'Find My iPhone/iPad/iMac' enabled on any of your devices, turn it off.
    Create a new email address, for example  at Yahoo or Gmail, or anywhere convenient (or you can use an existing address as long as it has never been associated with an Apple ID).
    Go to http://appleid.apple.com and click 'Manage your Apple ID'. Sign in with the current ID.
    Where it says 'Apple ID and primary email address' and gives your current ID email address, click 'edit'.
    Enter your new address and click 'Save changes'.
    Now you will need to go to each of your devices and sign out in System Preferences (or Settings)>iCloud - 'Sign out' on a Mac, 'Delete this account' on an iOS device (this will not delete the account from the server).
    Then sign back in with your new ID. Your iCloud data will disappear from your devices when you sign out, but reappear when you sign back in.
    I re-iterate: before you start, turn off 'Find My Mac' (or whatever) or you will need the services of Support.

  • How to create one primary key for each vendor

    Hi all
    i am doing IDOC to jdbc scenario
    i am triggering idoc from R/3 and the data is going into DB table vendor through XI.
    structures are as follows:
    sender side: ZVendorIdoc (this is a customized IDOC , if i triger IDOC for multiple vendors then it triggers only 1 idoc with multiple segment )
    Receiver side:
    DT_testVendor
        Table
            tblVendor
                action UPDATE_INSERT
                access                     1:unbounded
                    cVendorName         1
                    cVendorCode        1
                    fromdate                1
                    todate                    1
                 Key1
                    cVendorName         1
    if i trigger idoc for multiple vendors ,for example vendor 2005,2006 and 2010 . then i can see that the only key comes from the very first field (2005) and the whole record for vendor 2005,2006 and 2010  goes into the table with this(2005) as a primary key
    now again if i send data for these three vendor 2005, 2006 , 2010, in which record for the vendor 2005 is same and for 2006 and 2010 are different than it takes 2005 as a primary key and it does not update the data in the table.
    my requirement is like this:   for each vendor there should be one unique key assigned.
                                              for above said example there should come three keys one for each vendor .
    could you please help me how to do this???????????

    Hi,
      In Mapping Make the statement is 0-unbounded.For each vendor create a statement.This will solve your problem.
    Regards,
    Prakasu.M

  • How can I verify my iCloud account if I can not access the primary email account associated with my Apple ID?

    The email address I had set for my Apple ID when I had originally signed up was through my college.  I have been out of college now for a few years and the email account has been deleted. I was trying to set up iCloud on my iPad and iPhone but it says I need to access the account to verify through email.  I have tried to change my Apple ID email to my current email address but it tells me I can not do this either because that email is set up as my rescue email.  How can I change my primary email address for my Apple ID or get my iCloud verified in this situation I'm in?

    Go to http://appleid.apple.com and click 'Manage your account'. You will be able to change the non-Apple email address you use as a login. You will then need to log out and in again on all your devices.

  • How can I change my primary email address to the one that I use for my rescue email address?

    I no longer use the email address associated with my apple ID account and the rescue email address I used is now my primary email address for everything, since it its not allowing me to just simply change my email address since its my rescue email address i want it changing to, can it be done and how?! :S Thank you!

    You will need to remove it as your rescue email : log into your account via the 'manage your apple id' button on http://appleid.apple.com, select the 'Password And Security' section on your account's screen, and answer the two security questions that show - you should then be taken to another screen where you can change or remove your rescue email address.
    Then try logging out of your account and then log back in and see if you can then use it as your primary email address.

  • Error in checking a primary file

    Hi ,
    I am trying to use the CHECKIN_UNIVERSAL idcservice froma standalone java class. I have appeneded the following xml string in my request and trying to use a primary file from my local m/c.
    <code>
    requestString = "<?xml version='1.0' ?><SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Body><idc:service xmlns:idc=\"http://www.stellent.com/IdcService/\" IdcService=\"CHECKIN_UNIVERSAL\"><idc:document dDocName="+param1+" dDocAuthor=\"sysadmin\" dDocTitle="+param2+" dDocType="+param3+" dSecurityGroup="+param4+" dDocAccount=''>
    <idc:file name=\"primaryFile\" href =`D:/soapfile.txt`></idc:file></idc:document></idc:service></SOAP-ENV:Body></SOAP-ENV:Envelope>";
    </code>
    But when I am trying to invoke the service from a jsp, I am getting the follwoing error in the response:
    <idc:field name="StatusMessage">Content item &#39;test&#39; was not successfully checked in. The content item must have a primary file.</idc:field>
    I need to fix this urgently. Please help!!.

    I've tried to not use CHECKIN_UNIVERSAL. I've written java class (extends ServiceHandler) that changes some binder parameters.
    Written Service on top of this:
    <tr>
         <td>TEST_CHECKIN_BYNAME</td>
         <td>DocService
              34
              null
              null
              null<br>
              null</td>
         <td>3:determineID::2:null
    3:doSubService:TEST_CHECKIN_SUB:0:null</td>
    </tr>
    <tr>
         <td>TEST_CHECKIN_SUB</td>
         <td>DocService
              34
              null
              SubService
              null<br>
              null</td>
         <td>3:TEST_prepareMetaData::0:null
    3:prepareCheckinSecurity::0:null
              3:checkSecurity::0:null
              3:doSubService:CHECKIN_NEW_SUB:0:null</td>
    </tr>
    So:
    1. If I put
    m_binder.addTempFile(tmpFileName);
    in my method TEST_prepareMetaData Checkin succeeds.
    2. If I do not put m_binder.addTempFile(tmpFileName); //tmpFileName is the link to file being uploaded
    The same error is thrown: "The content item must have a primary file"
    First question: Why?
    1. If I put
    m_binder.addTempFile(tmpFileName);
    in method TEST_prepareMetaData Checkin succeeds - status message "<idc:field name="StatusMessage">Successfully checked in content item 'TTT_0000001'.</idc:field>";
    BUT there is no content item in the ContentServer!!
    Seqond question: Why?

  • Error While Deploying A CMP Entity Bean With A Composite Primary Key

    Hello all,
    I have a problem deploying CMP Entity beans with composite primary keys. I have a CMP Entity Bean, which contains a composite primary key composed of two local stubs. If you know more about this please respond to my post on the EJB forum (subject: CMP Bean Local Stub as a Field of a Primary Key Class).
    In the mean time, can you please tell me what following error message means and how to resolve it? From what I understand it might be a problem with Sun ONE AS 7, but I would like to make sure it's not me doing something wrong.
    [05/Jan/2005:12:49:03] WARNING ( 1896):      Validation error in bean CustomerSubscription: The type of non-static field customer of the key class
    test.subscription.CustomerSubscriptionCMP_1530383317_JDOState$Oid must be primitive or must implement java.io.Serializable.
         Update the type of the key class field.
         Warning: All primary key columns in primary table CustomerSubscription of the bean corresponding to the generated class test.subscription.CustomerSubscriptionCMP_1530383317_JDOState must be mapped to key fields.
         Map the following primary key columns to key fields: CustomerSubscription.CustomerEmail,CustomerSubscription.SubscriptionType. If you already have fields mapped to these columns, verify that they are key fields.Is it enough that a primary key class be serializable or all fields have to implement Serializable or be a primitive?
    Please let me know if you need more information to answer my question.
    Thanks.
    Nikola

    Hi Nikola,
    There are several problems with your CMP bean.
    1. Fields of a Primary Key Class must be a subset of CMP fields, so yes, they must be either a primitive or a Serializable type.
    2. Sun Application Server does not support Primary Key fields of an arbitrary Serializable type (i.e. those that will be stored
    as BLOB in the database), but only primitives, Java wrappers, String, and Date/Time types.
    Do you try to use stubs instead of relationships or for some other reason?
    If it's the former - look at the CMR fields.
    If it's the latter, I suggest to store these fields as regular CMP fields and use some other value as the PK. If you prefer that
    the CMP container generates the PK values, use the Unknown
    PrimaryKey feature.
    Regards,
    -marina

  • Free goods but want to freight cost updation upon GR

    Hi,
    Scenario:
    I have a PO with 20 line items and header freight cost.
    There are few more items in PO which are ticked as free goods.
    There is a stock of those materials with certain MAP.
    Freight condition has been configured as vendor GR so that it gets loaded on materials upon GR.
    Requirement is that
    Upon GR of this PO,MAPshould get updated with the freight cost for those materials also which have been marked as free goods.
    How this can be achieved ?
    Regards,
    manOO

    Hi Rang,
    Thanks for the feedback.However service PO is out of scope as client do not want to go for servicees.
    I could not understand your suggestion
    <u>you give PO to frieght vendor for freight value & in remarks you mention reciving as FREE GOODS from vendor xxxxx & do GR load cost to material & pay to freight vendor. (this is not advisible, but one solution for your problem).</u>
    I have to receive one material via purchase order as a free item but I need to pay vendor for the freight charges that will be incurred to ship this item along with all the other items in the same PO.
    Can you please explain me further as what you mean to say in your post.
    I should be able to load these freight cost on all the materials in PO including the material with 'free' indiactor.
    In short upon GR MAP should affect with freight cost as there will not be value addition of the material since received as free.
    Please suggest.
    Thanks in advance
    Regards,
    manOO

  • Free Goods Import Process with Customs, Freight, and Other Taxes.

    hi,
    I have to import free goods but have to pay for Customs, Freight, and other Taxes.
    1. If I tick Free Goods Indicator in PO Line Item, Condition Tab at line item disappears. It will not to calculate other conditions at Header level also. - So I cant execute this option.
    2. If i take price of material and insert Condition Type: R001:Discount/Quantity with material price/qty, then it gives Error Message - "Price Must be greater than 0".
    So, Is there any way through which I can procure Free Goods and can maintain conditions for Customs, Freight, and other Taxes in Purchase Order.
    Please help me in this regard.
    - Jignesh

    Hi,
    1) Create an import PO in ME21N with material price and all custom duty conditions (as you normally create). no need to put free tick indicator.
    2) Process MIRO for goods and delivery costs simultaneously.
    3) Maintain zero amount for goods item and actual values for the duties (Ensure selection of goods item including delivery cost items)
    4) Save the LIV document
    5) Check PO item history got updated with IR-L and DCIn. (IR-L will updated with zero amount)
    6) Do  MIGO w.r.t. IR document number.
    7) GR FI document will get updated with the non-set off duty values only.
    Regards
    Rajesh

  • FREE PO WITH FREIGHT CHARGES

    I HAD A PO SCENARIO WHERE I AM GETTING THE MATERIAL AT FREE OF COST.
    FOR THAT I HAVE TO PAY FREIGHT CHARGES.
    FURTHER WE NEED TO UPDATE GOODS RECEIPT , STOCKS AND ISSUES ALSO.
    PLEASE ADVISE IN THIS REGARD FOR CREATION OF PO .

    One way is removing GR based I/V tick and keep FOC indicator in PO  and finally book frieght cost as unplanned delivery cost but like this GR valuation will still be zero.
    Another method is do not use FOC and feed a minimum basic price  say 0.01 Rs and feed actuall freight charges. Finally clear 0.01 Rs entry manually thru MR11 (GR/IR maintenance). I prefer second method if freight charges are considerable.
    Regards
    Avinash

Maybe you are looking for