Multipl line item for single line item in smart form

Hi
I have an issue wwith smart form. i Designed a Smarform with main window but each line item have again multilpe line items.Example.My smartform should print like this
SNO.......Descriptions..................................................................Specifications
1..............     Pepsi.......................................................................500ML Bottle
................................................................................................Rs.20.
................................................................................................No sugar COntent
................................................................................................Buy one get one free.
2..............Coke.......................................................................1000ML Bottle
...............................................................................................Rs.$10.
...............................................................................................Added flavours COntent
...............................................................................................Buy one get 2 free.
IN the above example Sno and Descriptions are from one internal table and Specifcations are form
other internal table and both the tables are linked with one common field.
Any inputs please.
Regards
Farook
Edited by: farook shaik on May 15, 2009 11:56 AM

Hi Farook,
Either you cam merge in the driver program as said before -this is the best option.
OR in smartform:
Create a line type with columns for sno ,descr ,specification.
Use a DATA TABLE  for the first internal table with the above line type and fill the first 2 columns.
and a LOOP inside the data table's 3rd column  for specifications with the common field in where condition.
eg
first table - DATA TABLE
HEAD
MAIN
  |___ linetype
          |-cel1
              |-Sno-text
          |-cel2
              |-Descriptions text
          |-cel3-Specifications
                |__loop for second table  in where condition - match common fields.
                      |-text for Specifications
FOOTER
Regards,
Fonseca DC
Edited by: Fonseca Christina on May 15, 2009 1:10 PM

Similar Messages

  • Sales order: Two schedule line items for single order item

    Hi,
    I have an issue with the schedule lines in the sales order. When we create a sales order  with today as the delivery date, it creates two schedule lines for the single order item. But if we give future date as the delivery date, then it creates one schedule line only. The confirmed quantity for the first line item (with today we the delivery date) is zero and second line item confirmed quantity (with delivery date as tomorrow) is actual order quantity. So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do we have stock.
    We donu2019t have availability check on and we use custom line item and schedule line categories.
    Please give some hints on what might be the issue.
    There was on post with this kind of issue, but it was closed without answer.
    Thanks,
    Srini

    Hi Srinivas,
    So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do have stock.
    As per my understanding although you have sufficient stock for the material system may be confirming the quantity in future date because of the forward scheduling. As you know system adds different times while evaluating the  confirmed delivery date. Check the route which system is using.

  • Posting multiple tax codes for single line order in MIRO

    Hi all ,
    I have received a request from my business colleagues to investigate the possibility of posting multiple tax codes against a single line order in MIRO.
    This apparently can be a possibility for such things as training.
    I have searched a number of forums and tried and tested different ways in my develoment client but am unable to find a solution. admittedly I am no real expert in this area and would be gratefu;lt of any ideas / assistance  / etc..

    HI,  There is a possible solution for this scenario.
    1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
    2. While posting the Invoice (TRX - FB60) following steps need to be followed.
    3. Amount has to be split into two line items
    4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
        created for 12.5%
    5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that    
        was created for 12.36%.
    Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
    Regards
    K.Sanjai Babu

  • Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers in fbcj

    Hi all ,
    I have a requirement to Post Cash Journal Document using FBCJ tcode.
    Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers
    for exp:
    pk   GL a/c   description       amount   cost center  profit center
    40  400101  telephone exp   500        1403            P 1000
    40  400101  telephone exp    100       1404            P 2000
    50  200100  cash in hand      600-                             
       This is My requirement  is it possible in fbcj
        Please suggest me.ASAP.
    Regards
       Naresh.

    Hi,
      This you can do it in two ways:
    1. Make three header under top level....one Product A, 2nd Product B ( as Billing element) and third as Common expense ( only cost). Now 1st & 2 nd WBS, you have to have sales order linking with individual lint item, for third you will accumulate all the common expense till the period end then make a reposting of the same in desired proportion to both products WBS hierarchy
    (This is if you want to have a track on the common expense as well.......like planning, budgeting & control)
    After this reposting, run RA for individual billing element and hence you will all the complement detailing and control over Revenue and expense with respect to Product A and Product B individually.
    2. If you don't want to maintain that kind of detailing the common expense and keep track of it through project, then have cost centers accordingly and make an assesment/ distribution with respect to expenses accumulated at those cost centers for the period to the respective WBS under each product. Then execute the period end processes for the project.
    Or
    You can try with have two more line items in the costing sheet as an overhead against common expenses with respect each product.
    I hope this should help you.
    Regards
    Avisek Bhardwaj

  • Amount spliting in 3 line items for single customer

    Hi All,
    Here i am facing one small issue  at the time of billing docment relesing  to finance.
    here i am getting 3 line items for single cumenter, custmoer debited in 3 line itmes.
    why i am geting 3 line items can any one help me in this issue.
    thanks
    kiran

    Hi,
    If you have new GL with document splitting active then if you have created billing for 3 items then system can split the customer line as well into 3 lines in GL view particularly if you have 3 items are getting credited to separate GL Accounts as sales revenue.
    In Classic GL view you will not see customer line getting split. Hoep it helps you.
    Regards,
    Sanjay

  • While Entering a Service Line Item for a Shippable Item under Order Lines.

    Hi all
    I have raised a Sales Order with Shippable Item and Non Shippable Item i.e Service Item for that Shippable Item under Sales Order Lines.
    When i click on Services Tab and enter the relevant details under Service Ref Order Number the system is defaulting the current Sales Order No. correctly but while selecting the Service Ref Line Number it errors out saying
    FRM-40212: Invalid value for field SERVICE_REF_LUNE_NUMBER.
    Please do help me on this.
    Regards
    Nakul.V

    Hi,
    You can easily list out sales order that have been assigned reason for rejection..simple extract of table VBAP-ABGRU = not blank.
    This report should list out the sales order number along with some more details, as required.
    Now the report should allow to choose the documents i.e. like giving checkboxes in the left most side and once the user chooses the sales documents he wants to get processed--> the program should call change Sales Order FM or BAPI. Execute this in background.
    Regards,
    Raghu.

  • Different tax codes in the MIRO for single service item

    Dear all,
    Customer wants to enter 2 different tax codes in the MIRO for single service item. How it can be achieved?

    >
    Milosavljevic Sreten wrote:
    > Just loudly thinking... what can be reason that one service for same invoice is taxable with two different tax codes? 
    >
    It is cross-counties transportation. Part of route outside company country is non-taxable, inside part is taxable. Amounts are proportional to distance and hence become known only at time of invoice receipt.
    Users do not want to create 2 separate invoices. They would like to have ability to enter 2 lines in MIRO. But I need your help to understand, how it can be done? Service receipt is done by single line (because actual taxable / non-taxable amount is unknown at that time). So, is it possible to enter non-taxable amount in MIRO in some additional line?

  • Unable to release planned order for single line from MRP workbench

    Hi
    We are unable to release planned order for single line from MRP Planner workbench,but Select All For Release is working for all the lines for the item
    User want to release a specific line but no new requisition is generated
    It is highly appreciable if anyone could help to resolve this issue
    Appreciate the Help
    Regards
    VKPK

    It sounds like the release goes through in the workbench but the requisition does not show up in source - is this correct? If so I would check item attributes / flags for purchasing and buy. also have found some items require a purchase price to be populated in master and org

  • MessageTransformBean - SimplePlain2XML - Multiple records on a single line

    Hi,
    I am trying to convert multiple record from a single line to multipe rows in an XML message with the MessageTransformBean.
    If the record look like this it's working:
    RECORD1textETC
    RECORD2textETC
    But the incoming message are all on a single line:
    RECORD1textETCRECORD2textETC
    Is there a way to add a linefeed to my incoming message after X characters, or to tell the adapter to split by length instead of spliting on the end of line?
    Thanks,
    Martin

    I had to code a custom Module Adapter to do it.
    Here's the main part of the module adapter EOLConvertBean...
    Message msg = (Message) inputModuleData.getPrincipalData();
    XMLPayload xmlpayload = msg.getDocument();
    byte[] content = xmlpayload.getContent();
    byte crlf = 0x0A; // end of line char
    int current = 0;  // current bytes read     
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    int lines = content.length / recordLen; // record len = insert EOL after X recordLen
    // TODO change for do while for 1x line record
    for (int i = 0; i <= lines; i++) {
         baos.write(content, current, recordLen);
         baos.write(crlf);
         current += recordLen;
    xmlpayload.setContent(baos.toByteArray());
    inputModuleData.setPrincipalData(msg);
    Edited by: Martin Lavoie Rousseau on Oct 6, 2010 9:08 PM

  • Can I add multiple elements on a single line?

    Can I add multiple elements on a single line?

    Not yet. But this is something we plan to support. You can vote on this idea here: http://forums.adobe.com/ideas/1046
    We use this to help prioritize our work.
    Randy

  • Multiple webdynpro applications for single webdynnpro component

    I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications ,it just creates a application how so we assign diff functionality to each of them .Also in the parameter tab of the webdynpro applications ,there is a diff config id mentioned for each application.what is its relavance .
    Rgds,
    Praveen

    Hi Saravanan,
    I need to modify it from the portal end, not at the application level.
    I need some configuration steps which specifies how to modify the Detail Navigation in PPM. Using SPRO we can do some configuration, i wanted to know whether its possible from portal end as well.
    Regards
    Shivas Bhan

  • Multiple contact persons for single vendor--LSMW

    Hi experts,
        i want to upload multiple contact persons for single vendor. using lsmw direct input method or recording method is it possible..if possible can u let me know the procedure.
    Thx in advance,
    Neelu

    Hi
    in our company v wil upload contact person details in Sales Data......
    so its not possible to upload more than one contact person for vendor....
    can u tell me wr u people wil enter the contact person details?
    Regards
    Smitha

  • Multiple storage locations for single material - ECC 6.0

    Hi
    Can anyone let me know, how one can map multiple storage loctions for single material?
    regards
    Sanjay

    hello,
    Go to SPRO --> IMG --> Materials Management --> Inventory Management and Physical Inventory --> Plant Parameters.
    Tick Create storage locations automatically. System will extend the material to the storage location maintained in the transaction.
    Nikhil

  • How to print different  header & item data in new pages using smart forms.

    Hi,
    In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
    I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
    Regards,
    Brajesh

    Hi
    U need to use control break statements to acheive ur requirement.
    Regards,
    Priya

  • GR Printing For Single Line Item With Multiple Account Assignment.

    Hi All,
    There is PO for projects (Account Assignment -P - Network) in which in a single item consist of multiple account assignment.
    Noe while entering the GR I select "Collective Slip" option but when the GR is posted system automatically select option "Individual slip" and seprate line item are printed for each account assignment.
    The printing program is standard SAPM07DR. The SAP version is 4.7. Can anyone tell what is ther any setting in configuration or is it problem in program or smart form
    Thanks & Regards,
    Omkar

    hi
    please check your form and routine used to print.

Maybe you are looking for