Freight Breakup of A/R Document in PLD

I need Freight Breakup of A/R Document in PLD.
I have created multiple freight seeting in the the Freight Setup.
When Adding these values in A/R Invoice I need the breakup in PLD
Please help.

Dear Aslam,
Could you please try the following:
1. Create UDFs on Marketing Document header level - number of UDF
   depending on the max number of Additional Expenses from the OEXD
2. Use query like below for UDF1:
   SELECT T2.EXPNSNAME + ' ' + STR(T1.LINETOTAL) + ' ' +
          STR(T1.VATSUM) + ' ' + STR(T1.VATPRCNT)
          + ' ' + STR(T1.LINEVAT)
   FROM   OINV T0
     INNER JOIN INV3 T1
       ON T0.DOCENTRY = T1.DOCENTRY
     INNER JOIN OEXD T2
       ON T1.EXPNSCODE = T2.EXPNSCODE
   WHERE  T0.DOCNUM = $OINV.DocNum
     AND T1.LINENUM = 0
   Use query like below for UDF2:
   SELECT T2.EXPNSNAME + ' ' + STR(T1.LINETOTAL) + ' ' +
          STR(T1.VATSUM) + ' ' + STR(T1.VATPRCNT)
          + ' ' + STR(T1.LINEVAT)
   FROM   OINV T0
     INNER JOIN INV3 T1
       ON T0.DOCENTRY = T1.DOCENTRY
     INNER JOIN OEXD T2
       ON T1.EXPNSCODE = T2.EXPNSCODE
   WHERE  T0.DOCNUM = $OINV.DocNum
     AND T1.LINENUM = 1
and so on.
NOTE: The line number is important as there can be more than
one additional expense for the same Document Number;
Note that the query draws the details of one single record per
from the Add Expenses Table. You can make the amendments in the
query as required by either removing or adding more fields;
like increase space between the fields etc
3. Add the UDF to the Layout.
Hope this will help.
Regards,
Gagan Thareja
SAP Business One Forums Team
Edited by: Gagan Thareja on Apr 6, 2009 3:08 PM

Similar Messages

  • I want to post freight cost in shipping cost document

    Hi all,
    I want to post freight cost in shipping cost document. I have search for standard function module to post this cost, but i could not find out standad idoc. Please help me out
      Thanks a Lot

    Hi Laxmi,
    i cud see that u had a requirement to post frieght cost in shipping cost document...
    May i know, how u did it??
    appreciate ur early reply.
    Tanuja

  • Field Freight 1 Acquisition in marketing documents

    Hello All,
    Can any-one tell me the behaviour of the field Freight 1 Acquisition in the lines of the marketing documents.
    In my case it is automatically filled with the value 'N' and I'm not able to change it.
    Thanks for your help!
    gr. Freek

    Hi Freek
    This is for acquisition tax and will correspond to your tax group settings. The tax group selected under Freight 1 Tax Group in your case will force a no as this tax group is not configured as an acquisition type. The acquisition tax is only relevant to EU countries.
    Kind regards
    Peter Juby

  • UDO document with PLD

    Hi!
    Is there a way to integrate the PLD with a UDO document?
    Regards

    Hi Gianluca,
    Not that I'm aware of.
    Your best approach is to use Crystal Reports because it will be fully integrated from v8.8 onward.
    Regards,
    Vítor Vieira

  • Freight vendor updation in GR document through BAPI

    Dear All
    In my system we are creating Goods Receipt in background through *BAPI BAPI_GOODSMVT_CREATE*. In my PO we have entered freight condition FRB1 for that PO line item and assigned a vendor code different from material vendor. For this freight condition FRB1 in the configuration we have maintained in Control Data 2 field Vendor in GR as 2 ( i.e. Entry always possible). This will help us to change freight vendor different from freight vendor maintained in PO line item.
    Now my query is that how can I achieve this through BAPI  BAPI BAPI_GOODSMVT_CREATE when I am creating GR in background. In which field of BAPI should we pass the freight vendor at the time of GR creation.
    Regards
    Satish Kumar

    Hi Satish,
    With standard SAP this is not Possible
    As indicated in the attached note 356665, the field SUPPL_VEND has no
    function. Please, have a look at this note for further information.
    In dialog (with MB01 or MIGO) you have the possibility to enter another
    freight vendor different than the vendor in your purchase order (or your
    scheduling agreement) as long as you have, in your purchasing condition
    type, "Vendor in GR" (V_T685A-BNKWE) maintained with the appropiate
    value. Then, by posting the Goods Receipt, you will update EKBZ with
    this new freight vendor.
    Unfortunately in the standard system this functionality is not available
    when working with the BAPI BAPI_GOODSMVT_CREATE or with the Idoc
    WMMBID02.
    There is no customizing setting or tool that you could use inside the
    standard system to change it.

  • How to add logo to documents using PLD ?

    Hi all,
    Sorry i am sure this is an easy question but can anyone point my in the direction of the instructions on how to place a logo onto a printed document?
    I have added a picture field and then set the source type,table ,column etc and placed the bitmap logo in the bitmap folder in my SAP B1 folder but it is not being shown when i print preview?
    Thank you,

    Hi!
    Your Client PC should have full Access to the Bitmap Path and it should Connect to the Server automatically when Client Machine Started.
    Try this,
    On your Cliet Machine > Open > Run >
    ServerName or ServerIP, Connect to the Server. Now try the print preview

  • Tax Breakup in PLD

    Dear All,
    I require the following tax breakup in PLD
    Ex:
    Total................................................303743.40.......A
    Packing charges.................................2316............B
    Excise Duty@10%..............................30606..........C=(AB)10%
    ECess@2%..........................................612............D=C*2%
    Hcess@1%..........................................306.............E=C*1%
    Transportation charges(Freight).............3937.............F
    Octroi@3%.......................................10655.............G=((ABCDEF)(ABCDE+F)0.04)3%
    Octroi service charges@1%...................107.............H=G*1%
    VAT@4...............................................14091...........I= (ABCDEFG+H)*4%
    In PLD this is structure which client is expecting for A/R Invoice since this is mandatory for his business practice.
    We have created 2 set of tax code for octroi, octroi service charges, vat which are apllicable at line item and freight charges ie transportation charges.
    In PLD, Till Hcess it is coming fine but tax after transportation are coming twice since we are applying
    octroi_1, octroi service charges_1,VAT_1 at line item and octroi_2, octroi service charges_2 and VAT_2  at freight.
    In PLD it shows
    octroi_1
    octroi service charges_1
    VAT_1
    octroi_2
    octroi service charges_2
    VAT_2
    Instead we want it to as shown in above example.
    Any solution will be highly appreciable..........
    swapnil

    Hi,
    Pls check the link.
    How to convet Amount To Words in PLD
    Also,
    may be the following will help u as u can placed the tax on the position u want.
    If tou want the tax break up , for that you have to mke the formula using the ostt and por4(purchase) and inv4 for invoice pld. table .
    Every taxcode has a unique nota fiscal id .Use that in ur PLD .
    Ex:
    First inser a repetitive area.
    Suppose Hcess id is 90 in ostt.
    1. Make a text field in repetive area and give 90 to it .
    2. make a db field and fetch nota id from ostt.
    3. make a formula field and Compare text field and db field .
    4. link the test field and db field with formula field .
    5. make a db field and fetch taxamount from por4.
    6. link this filed also to formula field
    7 . make a new formula field and multiple the amount field and previous formula field .
    8. make a new formula field in repetitive area footer and do copulmn sum of last formula field which have the result of multiplication.
    Same u have to repeat for taxrate .
    However u should go for Crystal report for such type of requirement .
    Rgds,
    Premraj

  • How the freight cost are transferred from condition type of shipment cost document to service entry sheet and collected in service PO item

    Dear Experts:
    could you please share with me the knowledge for below topic:
    How the freight cost are transferred from condition type of shipment cost document to service entry sheet and collected in service PO item, because these three objects use three different pricing procedures, and different condition type.
    how did the condition type of service entry sheet know to copy the value of whcih condition type in the pricing procedure of shipment cost document?
    Is this SAP standard function OR there need an enhancement to do that?
    I didn’t find related condition value copy setting in background, could you please share related setting with me? Thank you very much for your kind help!
    Best regards,
    Andy

    Hi, Gopi,
    Glad to see your feedback, but i still have question on your feedback:
    which condition type in the pricing procedure of service entry sheet should know to capture the net value of shipment cost doc? becasue there are so many condition types,
    And i have checked the corresponding condition type (PRSX) of service entry sheet pricing procedure in my SAP system, this is a self-defined condition type, but NO any calculation routine maintained for the condition type (PRSX), how did the condition type (PRSX) know to copy the total cost of shipment cost document?
    Below is the example and another question:
    what the relationship between the pricing procedures at service PO item level and service line item level?
    1. The freight cost in shipment cost document—including used condition type and pricing procedure
    The pricing procedure of shipment cost document
    2. The freight cost in service entry sheet—including used condition type and pricing procedure
    The pricing procedure of service entry sheet--the pricing procedure at service line item level
    3. The freight cost in service PO item—including used condition type and pricing procedure:

  • Inbound freight - Goods receipt before Shipment cost document

    Hi,
    We are in process of implementing Transportation module for capturing Inbound freight.
    All our test cases passed except 2) mentioned below:
    Operationally transactions sequence can happen in two ways:
    1) Purchase Order -> Inbound delivery -> Shipment document ->Shipment Cost ->Goods receipt ->Invoice verification - Materials
    > Invoice verification - Freight
    2) Purchase Order -> Inbound delivery -> Goods receipt ->Shipment document -> Shipment Cost ->  Invoice verification - Materials
    > Invoice verification - Freight
    In case 1 we are we are getting correct results as freight amount is getting added in material cost during MIGO as below
    Inventory              Dr          (is sum of GR/IR and Frt Provision)
    GR/IR                    Cr
    Frt Provision         Cr
    While in case 2) since MIGO is done prior to shipment document we are not able to get FI effects for freight cost. Hence Invoice booking is not possible for freight neither it is getting added into materials.
    Results expected as below :
    In case 1 , same as it is happening today.
    In case 2, it should post freight provision at shipment cost document so that freight booking can be done.
            Inventory       Dr
            Frt Provision  Cr
    It will be of great help if anybody suggest solution on this.
    Regards,
    Swanandesh Rane

    Hi Ilya,
    A simple search term "Shipment cost document creation before PGI" and got the below thread which is exactly the same the only difference is for process GR and GI
    May i ask you to go through with existing thread first and if  your question is not answered please let us know
    G/R mandatory before shipment cost....

  • Print Preview of crystal Report without add a document

    Dear All,
    Can i see the Print Preview of Crystal Report without add a document like PLD.
    i have developed a Crystal Report through Add Command by Passing a query.
    if anybody have  idea on this issue please  suggest me.
    Thanks.
    Shekhawat

    Hi Shekhawat....
    Through Query Crystal report it is not possible to view the Layout as Draft withou adding teh docs because Report fetch the details only when itys value goes to Database Table......
    So suggest to use SAP standard CR and modify as you want....
    Regards,
    Rahul

  • How can i  duplicate a document print layout from one DB to another DB?

    hi experts,
    I make all document print layouts in a test DB, and now I want to move them to my production DB.
    is there any easy way to copy a document layout from a database to another? please advise, thanks a lot.

    Hi,
    There is one more option
    1.Open the PLD in the test database
    2.Go to edit-> select all(including hidden fields)
    3.Go to edit->Copy
    4.Log off from test system(Administration-Choose company-select live database),log in live database
    5.Open the corresponding documents system pld
    6.Go to edit-select all
    7.In the properties window uncheck the visible checkbox(Under General tab)
    8.Save layout as different name say <Test>
    9.Again open the layout <Test>
    10.Go to edit-Paste and save layout.
    NB:Don't delete the existing fields,you should only hide them as mentioned in step7

  • Separate line item for taxes in accounting document of MIGO

    All SAP Gurus,
    As we can have separate line item for Freight amount (Freight amt credited) in accounting document for MIGO.
    Similarly is it possible to have separate line item for tax amount which is inventoried.
    Regards,

    Hi Rajan,
    Freight is from pricing procedure whereas tax is from taxing procedure.
    Tax cannot be shown in separate g/l in MIGO.
    Reason:
    If u wanna show tax as separate item then we need to debit tax a/c in migo as well as it has to go to inventory which is not possible(double accounting enrty on debit side).
    I too tried to do the same by specifying 2 for posting indicator and selecting non deductible for the nonsetoff account key used in the taxing proceudre in OBCN but it is behaving like setoff tax.
    U can also try doing the same and then check.
    Reg
    Raja

  • Direct Freight Invoice Processed?

    Hi Guys ,
               Can any body tell me what is meant by Freight and tell some Freight Master tables?My requirement is  i have to download the data based on the below requirement
    4.     If “ISD Wise Direct Freight Invoices Processed” is selected then the following will be the data selection logic –
    a.     Select ALL the parameters entered in the selection screen for this Option. 
    b.     Query the table BKPF with the document type as ‘KR” and the Posting date obtained from the screen and select the list of all the document numbers (BKPF-BELNR).
    c.     Query the table BSEG with the Document numbers from BKPF and the Vendor Number from the selection screen to obtain the list of all invoices along with the relevant data elements.
      The fields which are to be displayed in grid are
         List of Direct Freight Invoices Processed                                             
         Company Code     Document Number     Fiscal Year     Document Type     Document Date     Posting Date     Period     Entered on     Entered at     Changed on     Last update     Translatn Date     User Name     Transaction Code     Cross-CC no.     Reference     Rec.entry doc.     Amount
          Hi guys my doubts what does Amount means in the above  Fields is it the Amount fom BSEG table(DMBTR or BUALT ) or BKPF table(XSNET).?
    Thanks,
    Gopi.

    Hi Balachandar,
    CHECK THESE.
    VBADR,VBDKL,LIKP,LFA1,VBPLF,VBPLK,VTTK,VTTP,VTTS
    Regards,
    Nagaraj

  • Draft Key No in PLD

    Hi all,
    can anyone pls tell me if it is possible to fetch the draft key number of marketing document in pld for that document

    hi mukesh,
    Develop a query using sql code
    Select * from ODRF Where  T0.[ObjType] ='[%0]'
    and save it query manager and develop a report using
    query print layout designer.
    Fill * with required fields at row level and
    header level details in condition variables.
    Jeyakanthan

  • Problem w/ Duplicate PLD Template

    Good day mentors,
    I used Duplicate PLD Template to copy from a source PLD. In which now I have already have the correct design/configuration for client's lx300 printers. The problem I am facing now is that the source document or PLD was from Delivery(System). This pld defaults to printing 2 copies of the pld even if I set the new pld in which i copied from Delivery to print only one copy.
    Steps:
    1. Created customized Delivery PLD.
    2. Copied customized Delivery PLD via "Duplicate Layout Template" into ARInvoice and Purchase Order
    3. Currently printing 2 copies even if repetitive area has only 1 line item for the source and target documents.
    Client is using a preprinted forms w/ tripilicate copies via dot matrix printer. Thus I want to remove the extra copies PLD is making by default.
    If there is another link which answers this please post the link.
    Thanks in advance,
    Sean

    Hi Gordon,
            Sorry. My mistake. I thought there was something wrong w/ the duplicate layout template of SBO, but in fact its a problem of the page size in that I need to adjust the height of the areas inside the pld.
            I am still fixing the pld, but I am certain that its the area height that's the problem.
    Thanks,
    Sean

Maybe you are looking for

  • Error while using pt:standard.choose tag

    Hi, I am getting error while using the ALUI 6.5 Adaptive tags. The details are given below. Can anyone help? The code I am using is <pt:standard.choose>                <pt:standard.when pt:test="stringToACLGroup('user=13009;').isMember($currentUser)"

  • Why are Panasonic GX7 RAW photos not visible in Aperture but in OS X Mavericks and iPhoto?

    My Panasonic GX7 RAW photos seem to be visible in OS X Mavericks and iPhoto, but bizarrely not in Aperture (3.5.1). Does anyone know why this would be? Any solution greatly appreciated. I've been unable to mange a significant number of images for alm

  • Publis HTML content into OBIEE

    Hi all, in 10 g we put some html files under <oracle_home>\bise1\bi\oc4j_bi\j2ee\home\applications\analytics\analytics\res and accessed them on the portal with http://<server_name>:9704/analytics/res/BI/<file_name>.htm How can we do the same on OBIEE

  • How to customize standard BCT InfoCubes?

    Hi gurus,              I am new to BI.I got one scenario like adding 2 new user defined InfoObjects into the cube along with standard business content infoobjects which i delivered with BCT InfoCube (eg:0PAPA_C01).Is it possible to use the same infoc

  • SAP Tutor - tutorial Floorplan Manager cannot be run by version

    Hello, I would like to play the Floorplan Manager tutorial 'Floorplan Manager Tutorial Config.sim' posted on SDN but after installing the recommended SAP Tutor software and selecting the .sim file I get the error message: 'This tutorial cannot be run