Shorten string in line item in repetitive area

I have a field with a number that is consistently XXX-XXX-XXX-XXX-R.C   or XXX-XXX-XXX-XXX.c   
I would like to print only the characters before the period, or in other words I would like to drop the .c on each printout.  I had a substring calculation for 15 characters but the client now wants the flexibility to have 17.
Is this possible?

Hi,
Can you used the substring formula in PLD.
for example, Field_123 or F_123 -> XXX-XXX-XXX-XXX-R.C or XXX-XXX-XXX-XXX.c
Substring(Field_123,0,15)
Substring(F_123,0,15)
Result in Print,
XXX-XXX-XXX-XXX
Regards,
Madhan.

Similar Messages

  • Tax amount line item with Business area in Billing Doc generating to A/cing

    Hi,
    While generating the Billing Doc, for the Tax amount line item , the Business area shd be populated. How this can be done? while  for the othter line items it is displaying but not for the tax amount line item.

    In ECC 6.0 with document splitting and new GL business area would be available in the general ledger view for tax postings. For earlier versions than ECC 6.0 use balance sheet adjustment program SAPF180 to populate business area for tax items.
    Thanks and regards
    Kedar

  • PLD: Line items trauncate in repetitive area

    Hi All,
    I'm having issue with the line items truncate in the repetitive area.
    Is there a way to fix the number of items in repetitive area?
    Thanks in advanced.
    Regards,

    HI Tripti Shrestha
    >> Open your PLD and Create new Formula Field and put this formula,
    =>> Create new Formula Field in Repetetive Area Footer and put Formula.
    =>> Create the Seperate FORMULA Field in Repetetive Area Footer,
    for ex. Line No. Item Code, Discription, Qty, Unit Price, Total
    you should put the FORMULA in all FORMULA FIELDS in Repetetive Area Footer.
    Substring('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',0,2*(16-LineNum()))
    AND
    *IF Repetitive Area Footer fields is blank means that
    field should not display in Print AND Repetitive Area Footer decrease in Print*
    Do this,
    ->> Link to all Fields in Repetitive Area Footer.
    for example, DocTotal Field.
    ->> Choose DocTotal Field in Repetitive Area Footer than
    ->> Goto Properties Window and Link to DocTotal fieldID at General Tab.
    ->> put the Tick Mark in Area Height Adjustment at Format Tab.
    Save and Run the Print Preview.
    Thanks
    Khan Imran

  • Balancing figure business area for line item 001 is not found

    hi
    In MB31 while doing Goods Receipt (Movement type:101) i am getting an error like "Balancing figure Business Area for line item001 not founr".  Document splitting is active in my system and i assigned business area for plant and division combination.  Why i am getting this error.  Anywhere else i have to assign business area.  Pls help me.

    hi,
    i am following rule no 1 and the assignment is fine over there
    it is working for all line items except one line item and giving message like above menctioned in subject line but if i check in line item 30 business area is exist like all line item i.e 1100
    for any information revert it
    regards
    bvdv

  • What are the conditions to be able to delete PO line items?

    Hello All,
    We are trying to delete a PO line item as we are unable to make corrections on the Service Entry of that PO - invoice was deleted but generated a credit memo - also  tried unsuccessfully to delete PO line item but got failed.
    Please provide any solution to this issue.
    Regards
    Kalyani
    Hyderabad

    Hi Kalyani,
    you can reverse the invoce by using MR8M and then delete the PO.
    and then delete the p.o.
    Hope, you have not done any GR.
    Is there is any release strategy involved? Pls. check.
    Regards
    Rifaie.M

  • Enhancement for tax line items to post Business area level

    Hi Gurus,
    My Client has Business area at state wise. he wants to state wise Tax reports.
    Can any one help me how to post tax line items at Business area level.
    Please help me if any one know how to do Enhancement on this.
    Appreaciate your great help.
    Regards,
    Ashok

    Hi Gurus,
    Please help on above post.
    Regards,
    Ashok

  • Functional Area in Line Item Display FBL3N

    Dear Expert,
    My system is running on ECC6.0 and functional area is activated.
    I would like to see the Functional Area in Line Item Display (FBL3N) but couldn't get it in any field selection (change layout).
    I have added the field in the GL Accounts> Line Items> Define Special Field for line item display as BSEG - FKBER_LONG
    But I still couldn't get the functional area for each line item in the Line Item Display.
    Please advise. Many thanks.

    Dear Please Configure Through Below Path, You will get Line item wise Functional Area:-
    Financial Accounting (New)>Accounts Receivable and Accounts Payable>>Vendor Accounts>> Line Items >>Display Line Items> Define Special Field for line item display as BSEG - FKBER
    Regards,
    Viswa

  • Business Area in line item of cash journal (FBCJ)

    Dear all,
    I made the cash  payment for expenses in head office  level  in fbcj
    My voucher should be posted like (entry view):
    Dr expense a/c Business Area 1100
    Cr Cash a/c Business Area 1100
    But in my clint need  to post diffrent business area  in line items ( like cash in ho level exp branch level
    so its different business area , in above entry its taking both line items one business area i.e exp business area its taking. How to resolve
    Regards
    nasa

    Dear all,
    I made the cash payment for expenses in head office level in fbcj
    My voucher should be posted like (entry view):
    Dr expense a/c Business Area 1100
    Cr Cash a/c Business Area 1100
    But in my clint need to post diffrent business area in line items ( like cash in ho level exp branch level
    so its different business area , in above entry its taking both line items one business area i.e exp business area its taking. How to resolve
    Regards
    nasa

  • When line item materials are same add the condition rate.

    HI!
    Im my smartform I am trying to get the unit price for the line items. There are are certain scenerions where my code faisl because the billing doc is prepared with multiple sales order which has several materials eneterd twice or thrice . SO as per my code the net value is getting added up for the identical materials but the condition rate is not adding up so when I do teh calculation to get the unit price it gives me wrong values. Like if theer are 3 materials in the billing doc with net price as 5000 each with eachs condition value for the tax is 500  then my code calucltes teh total for 3 items (identical ) as 150000 which is right but I have to substeract the condition value from this as teh condtion value is a tax and that is alreday included in teh net price so   we substarct, hence in this case it should do 15000 - 3*500 but unfortunately it does only 15000 - 500 , I beleive it takes the condition rate only for the last item found and substract that but i need to include all teh three items value so I get correct unit price.
    Following is teh code I used. I need to add functionality such that the gs_it_kond_w-kwert  gets added up each time the material number is same. so that i get the correct unit price.
    loop at  is_bil_invoice-it_kond into gs_it_kond_w where
          bil_number = wa_it_gen-bil_number and
          itm_number = wa_it_gen-itm_number .
        if gs_it_kond_w-kntyp = 'D'.
          gs_unit_price = ( gs_it_cont-netwr - gs_it_kond_w-kwert ) / gs_it_cont-fkimg.
          gs_it_cont-netwr = gs_unit_price * gs_it_cont-fkimg.
          is_bil_invoice-hd_gen-bil_netwr =  is_bil_invoice-hd_gen-bil_netwr  -  gs_it_kond_w-kwert .
        else.
          gs_unit_price = gs_it_cont-netwr / gs_it_cont-fkimg.
          is_bil_invoice-hd_gen-bil_netwr = is_bil_invoice-hd_gen-bil_netwr.
        endif.
      endloop.
      endif.
    Thanks

    Hi Aarav,
    I am not sure how your code behaves but, you can try following ways:
    1.  To ensure that if material for different line item is same, you can put a join on KONV, VBAK and VBAP as KONV-KNUMV = VBAK-KNUMV and VBAK-VBELN = VBAP-VBELN and KONV-KPOSN = VBAP-POSNR. After this, you can loop through the data extracted, sort it with material number and check for repeated materials and from KONV, you can get condition value and condition type etc.
    2.  To ensure that you are considering tax deductions each time a certain material is repeating, you can calculate net value at each material using its calculation type (KONV-KRECH) (percentage or fixed value) and condition value (KONV-KBETR or KONV-KWERT) without checking whether it is repeated or not. So, in the end, you will have exact net value and you will not miss any deduction.
    Let me know if this helps and also, for any clarifications.
    Gouri.

  • Balancing field "business area" in line item 003 is not filled

    Hi
    when i go to release invoice to accounting system is telling that - balancing field "business area" in line item 003 is not filled , even in item wise all business area were only one (1100) .and in header states system is showing that -error in accounting interface.
    can anybody throw light on me on this issue
    regards
    bvdv

    hi,
    i am following rule no 1 and the assignment is fine over there
    it is working for all line items except one line item and giving message like above menctioned in subject line but if i check in line item 30 business area is exist like all line item i.e 1100
    for any information revert it
    regards
    bvdv

  • Header and Line Item reporting (MultiProvider)

    Hello All,
    We have data coming in from a LO Extractor.  There are 2 extractors.  1 for line item the other for Header.  The line item extractor has all the fields for both so we decided to use this extractor (the line item).
    Question is, when extracting this data multiple records come over.  Let's say the order has 2 line items.  It brings over a header record and then 2 line item records.  We have it going to an ODS and then Cube.  The ODS key is order number and item.  Well the header record comes over with item number #, so 3 records hit the ODS.
    How do you handle this?  We saw something about denormalization and make this header record item number a 0.
    Can someone explain to us how to handle this?  We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
    Please help, Thank you

    Item level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
    This will not be good option if you require some fields that may have different records in the header and the item.
    One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
    Constant selection wil be helpful in the report level not during load process.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
    This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown.

  • Master Data Text Used as Line Items in ODS

    Hi Experts! </br></br>
    I would just like to know if I can use the text I loaded of master data Revenue Type from R/3 in BW? </br></br>
    What I have done already is that I have created a customized extractor in R/3 under the CO-PA-IO node in RSA6 (since I think this is where this data is coming from/should belong under. A consultant of ours (before I got here) have already set up the other individual extractors for Sub Product A & B, Product Line, others in the FS10N transaction, document line item details.</br>Hi Experts! </br></br>
    I would just like to know if I can use the text I loaded of master data Revenue Type from R/3 in BW? </br></br>
    What I have done already is that I have created a customized extractor in R/3 under the CO-PA-IO node in RSA6 (since I think this is where this data is coming from/should belong under. A consultant of ours (before I got here) have already set up the other individual extractors for Sub Product A & B, Product Line, others in the FS10N transaction, document line item details.</br></br>
    Once I have created it, I  already replicated it in BW and have already setup the infosource. I created a InfoObject as Master Data with text and I loaded data from infosource. After loading, when I maintain Master Data for the characteristic I created in BW, I can see the pulled data that I have loaded from R/3. It is correct. </br></br>
    Now this is where I am having a problem. I need to know how to be able to use this Master Data text when I load line items (0EC_PCA_3) to my PCA ODS. As it is right now, I have setup the EC_PCA datasource, replicated it and activated it as well, and I have already added a Revenue Type characteristic to this datasource already and have mapped it accordingly. However, I am unable to pull any data when i manage the contents of the ODS, but i can see the it in the maintain master data. </br></br>
    How can i set it up such that I am also able to match my line items with their corresponding Rev Type Text in the ODS results? It is important to note that for Sub Product A, B, and Product Line fields, the previous setup is able to do so, and I am able to see results for these in the ODS line items results. These are also setup as master data text in BW by our previous consultant and I followed the same procedure and setup. </br></br>
    I feel that I am just missing a step on how to tell BW that the master data text should also be matched to the Line Items in the ODS during loading.</br></br>
    Kindly seeking for your assistance and advance thanks!
    Once I have created it, I  already replicated it in BW and have already setup the infosource. I created a InfoObject as Master Data with text and I loaded data from infosource. After loading, when I maintain Master Data for the characteristic I created in BW, I can see the pulled data that I have loaded from R/3. It is correct. </br></br>
    Now this is where I am having a problem. I need to know how to be able to use this Master Data text when I load line items (0EC_PCA_3) to my PCA ODS. As it is right now, I have setup the EC_PCA datasource, replicated it and activated it as well, and I have already added a Revenue Type characteristic to this datasource already and have mapped it accordingly. However, I am unable to pull any data when i manage the contents of the ODS, but i can see the it in the maintain master data. </br></br>
    How can i set it up such that I am also able to match my line items with their corresponding Rev Type Text in the ODS results? It is important to note that for Sub Product A, B, and Product Line fields, the previous setup is able to do so, and I am able to see results for these in the ODS line items results. These are also setup as master data text in BW by our previous consultant and I followed the same procedure and setup. </br></br>
    I feel that I am just missing a step on how to tell BW that the master data text should also be matched to the Line Items in the ODS during loading.</br></br>
    Kindly seeking for your assistance and advance thanks!

    Hi Simon, </br></br>
    Thanks for the reply! </br></br>
    First of all, yes, I think we are on the same page regarding what I want to do... I have created a master data infoObject in BW, created a customized extractor in R/3 under CO-PA-IO node, and mapped them to each other in BW such that when i execute a package in InfoSource in BW, i am able to load master data text in InfoObject Rev Type in BW. </br></br>
    Kindly explain more on "you should have created the revenue type as a text datasource and loaded the data into the text and not the master data". Do you mean to say that I should have just created a regular datasource (i.e. Flexible Update in any Data Target InfoSource), rather than a direct update of Master Data datasource? </br></br>
    However, if this is what you meant, please remember that for other characteristics such as Sub Product A, B, Product Lines, Sales Region, Business Center etc. (as seen in FS10N tcode per GL), are reflected in ODS per line item, and they are setup as master data. So I was thinking maybe i just missed a step in mapping. </br></br>
    Is this what you meant? My main goal is to be able to have the line items i load in ODS be matched to the particular revenue type for that GL's profit center (seen in FS10N tcode in R/3)</br></br>
    Thanks again.

  • Profit Center in Vendor Line Item

    Hi
    We have implemented SAP ECC6 - EHP4 and activated Document spliting and Profit Center field is mandatory.
    Now we need to debit a Vendor and Credit another vendor ( new line item), when we try to post the document
    we are getting error "balance in profit center", whereas we are not able to enter the Profit center during document entry.
    Can we get help on this please.
    Regards
    Chandrasekaran A

    Hi,
    Profit Center field is not available for input in vendor line items.
    There are other options available:-
    1. To assign a default profit center to the vendor reconciliation account in (SPRO> Financial Accounting (New)> General Ledger Accounting (New) > Master Data > Profit Center > Assign Default Profit Center to Accounts)
    Or
    2. To create a substitution in OBBH for populating profit center in vendor line item.
    Or.
    3. If 1 and 2 does not meet your need, to use a BAPI BAPI_ACC_DOCUMENT_POST to posting the vendor documents via a custom program.
    Regards,
    Gaurav

  • Single line item for multiple line item payment.

    Hi
    I have booked the 3 vendor invoices (in FB60) for a single vendor. Now today i paid (with F-53) all the three invoices together. One payment document number was generated.
    However when i saw the vendor line item, i saw that three debit line items was generated for the clearing the open invoices (i..e 3 credit line items). so when i say vendor line item report, there were total 6 cleared line items (3 for credit i.e invoice and 3 for debit i.e. payments)
    But is it possible to get  single debit line item for all the three invoices cleared. If yes, please let me know how i can get it.
    If i will have one single line item for payment, vendor report would be simpler. Please help

    Hi,
    1. If you do payment through F-53, then each invoice have separate payment line item. This is not avoidable. If you do payment through F110, then you can group the line items for payment, so there only one payment line item for many number of invoices.
    2. While clearing through F-44, system is generating automatic line items because, there are exchange rate fluctuations. You can't avoid these line items, as these automatic line items only match Debit and Credit amounts in order to post the document.
    Rgds
    Murali. N

  • How to know the excess stock with in a sales order and line item

    Hi,
          i am running an MRP against a sales order and sales order line item. the materials are getting planned based on the requirement. but due to some reasons the production orders are confirmed with out consumption of the actual required quantity of the  components. so the stock  is kept  ideal in the sales order  though it is not required further.
       do to some othere reasons also the excess stock of componenets exist. the PR or POs may also exist for the materials though they are not required further.
    i am in need of a report for the excess stock or excess PR or Purchase order for a sales order.
      please give me logic to find the excess things in that sales order and sales order line item. the Expensional message 26 is there in stock requirement list . but it does not give the excess quantity existing.
    regards
    madan

    hi rajesh,
      thanks for your reply. please tell me the logic to see when only partial quantity of sale sorder are delivered  and also when no delivery is made also.
    but manufactured and placed in stock.
    please tell me the tables to follow and logic of going ahead with them.
    regards
    madan

Maybe you are looking for

  • Horizontal menu problem in IE

    I am currently working on a website for a company that hired me and I am very new to web design. My problem is with IE. In firefox my menubar works just fine but in IE it is shifted to the left and I dont know how to fix it.  the web site is http://g

  • I write binary file (express) but can't read it (express)

    Hello, I have an application where I will acquire data from several sensors. For most of them (16) a relatively low sampling rate (10000Hz) will be fine, but, for one AE sensor I need a high sampling rate (50k - 100kHz). So, I've decided to store the

  • The high light tool doesn't work

    On a recently downloaded pdf file I cannot get the Highlight tool to function using Adobe Reader XI. It works fine with other pdf files on my computer. What's going on??

  • Validations in a database block before commit

    Hi Folks, I have a database block with three fields : Agency, Start Date, End Date. Agency has a List Of values. I need to change the LOV contents depending upon the values already entered. For example any agency with end date as null should not appe

  • Search Template for shared queues

    Hi, I have created a search template for my process. My business scenario is that a task will be assigned to the shared queue. Users will search the task from the queue, claims the task and do some action from the to-do list. Currenlty the search tem