Structure IS_BIL_INVOICE-IT_KOND is blank

Hi all,
    A strange behaviour of Smartform strcuture is_bil_invoice-it_kond used for printing invoice,
                 I have made a 'Z' of standard Billing SmartForms and using all avialble strcucture of IS_BIL_INVOICE Deep structure
           Here IS_BIL_INVOICE-IT_KOND doesn't have data, however condition types defined for document and the same is available in table KONV for that document.
  Any Help..
Thanks in Advance,
Chetan

hi
the data population depend on the customization.. wht u have to do is
u ahve to retrive the data explicitily by using the FM
   L_COMM_HEAD_I-BELNR =  FP_GS_HD_GEN-BIL_NUMBER.
    L_COMM_HEAD_I-KNUMV =  FP_GS_HD_GEN-KOND_NUMB.
*   Get all conditiion values for the billing document
    CALL FUNCTION 'RV_PRICE_PRINT_HEAD'
      EXPORTING
        COMM_HEAD_I = L_COMM_HEAD_I
        LANGUAGE    = L_V_LANGUAGE
      IMPORTING
        COMM_HEAD_E = L_COMM_HEAD_I
        COMM_MWSKZ  = L_COMM_MWSKZ
      TABLES
        TKOMV       = FP_IT_KOMV
        TKOMVD      = FP_IT_KOMVD.
    IF SY-SUBRC = 0.
      SORT FP_IT_KOMV  BY KNUMV KPOSN KSCHL.
      SORT FP_IT_KOMVD BY KPOSN KSCHL.
    ELSE.
      REFRESH FP_IT_KOMV.
      REFRESH FP_IT_KOMVD.
    ENDIF.

Similar Messages

  • Data Inconsistent at Standard Structure IS_BIL_INVOICE-IT_GEN

    Dear Experts,
                       I am working on an invoice,data is inconsistent at standard structure is_bil_invoice-it_gen.
    I have 26 line items in one invoice but standard structure displays 38 line items. Also i checked standard
    structure at the entry of my form by placing a break-point.I would like to know how data flows to this standard structure ? ,I am not doing anything in my form to move data in to this structure.So please
    provide me a solution to this problem.
    Regards,
    Sujay.

    HI ,
    I dont think you can control the data coming into the standard structure in any possible way . what  i would suggest  is copy this driver program to your own  z program  and use this structure  to get the header values  and texts . for the item level detail you can very well write  your own code inside the smart form  as the key fields are provided at the  header level.

  • WD java -- Bapi - Export structure is blank

    Gurus,
    We are calling R3 to save/change/create data. We do call BAPI_TRANSACTION_COMMIT after this and also they both are imported in the same model.
    The following code executes successfully and bapi gets executed but data in the import structure does not get transfered:
    projectNumber = wdContext.nodeZ_Gp_Save_008_Input().nodeGp_Detl_008().currentGp_Detl_008Element().getProj_Num();
    wdContext.nodeZ_Gp_Save_008_Input().currentZ_Gp_Save_008_InputElement().modelObject().execute();
    wdContext.nodeOutput_save().invalidate();
    msgMgr.reportSuccess(projectNumber);
    The data is in the child node [currentGp_Detl_008Element] equals to export structure in bapi is blank,
    Just to recap bapi is been called successfully we are able to see a new record in R3 table but it is empty. It only has a timestamp and an identity they are both added by a bapi. but the data sent with the inner node [currentGp_Detl_008Element] through export does not make it to R3.
    Help is very much appreciated,
    Thanks
    Shahid

    Hi,
    Did u write Two function modules or one?
    If you are using the one function module Then that function module contains import and export params.
    Here the input of the FNmodule is Import params and outof the Fn module u need to give any message after saving ur data in R/3 side for that sake u need to provide one value attribute from R/3 to WD side.
    Do mapping and binding well and see the input will go correct or not.
    Then it should work.
    Or otherwise send me ur context structure and explain ur BAPI functionality such that we will see where is the problem.
    Thanks,
    Lohi.

  • How to withdraw a wrong open and save of a structured fm file in unstructured mode?

    I opened a structured fm file wrongly in unstructured mode and saved it. When I opened this fm file again in structured mode, the structure view has been blank. Does anyone no how to withdraw this?

    Dragon,
       To expand slightly on what Alex and Russ have said, whenever you delete content from a FrameMaker document  and save the result, the deleted content is gone. It doesn't matter whether the deleted content is the element hierarchy or text and graphics in the document. A recent backup, whether a version of the file that you explicitly saved or one created by FrameMaker's automatic backup, is
       Alex mentioned that a conversion table might help recreate the document's element structure. His comment assumed that a conversion table was used somewhere in the history of this document. Whether or not that is the case, you can create a new conversion table specifically for this document. If you haven't looked at conversion tables yet, a conversion table is a FrameMaker table that describes how to use tagging in an unstructured document to create an equivalent structured document. How successfully it creates the desired structure depends very much on the nature of the tags used in the unstructured document and the desired element structure.
        --Lynne

  • Upgraded to Lion 10.7.2/Aperture 3.2.Thumbnails blank & ! shared user

    Hi there
    All file sharing settings on Read and write but second user on their side of computer sharing aperture library can see folder structure but all thumbnails blank or with yellow !. Strangely tho can see most of photos in viewer mode but not in browser mode. Please help?
    Andy

    I love computers.
    Have managed to fix this already. Been working the issue for a few days now, and a few minutes after writing the above post I decided to reset the Time Capsule to factory default settings.
    After entering all my details again (used same network names, passwords etc) the Time Capsule was rebooted. When it came back on line - guess what? Yep, the MyBook WD drive is now visibile. I can connect via the network from my other machines to the drive, and iTunes is back.
    So - thought I would post my resolution in case it helps others.

  • Help - iWeb blank screen

    Help! iWeb opens with the inspector etc but with no file structure or websites, just blank. Under 'File' it is all greyed out. The file 'Domain.sites2' is still there but nothing is showing up any ideas please?

    Colin:
    The following might help the issue:
    Try the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your User/Library/Preferences folder.
    2 - go to your User/Library/Caches/com.apple.iWeb folder and delete the contents.
    3 - reboot.
    4 - launch iWeb, publish and see if the icons turn and remain blue.
    If that doesn't help continue:
    5 - move the domain file from your User/Library/Application Support/iWeb folder to the Desktop.
    6 - launch iWeb, create a new test site and save.
    7 - go to the your User/Library/Application Support/iWeb folder and delete the new domain file.
    8 - move your original domain file from the Desktop to the iWeb folder.
    9 - launch iWeb and try again.
    OT

  • How to add or delete rows in tablecontrol?

    Hi,
    I am using a tablecontrol to enter data records.
    I want to use 2 buttons, one to insert a row into a tablecontrol and another to delete a selected row of a tablecontrol.
    How do I insert or delete rows of a tablecontrol?
    Thanks.

    Hi Kumar,
    Please look at the below sections......
    ADDING BLANK LINES
    To add blank lines to table control we do not need to change any of the fields of the structure CXTAB_CONTROL simply adding blank lines to the internal table will do.
    INSERT INITIAL LINE INTO itab.
    DELETING SELECTED ROWS
    Deletion of selected rows is simple. To delete selected rows first we will determine the rows which have been selected through selection column .
    FOR SINGLE ROW SELECTION
    IF mark EQ 'X' .             "mark is the name of selection column field
    DELETE itab FROM workarea . 
    ENDIF.
    FOR MULTIPLE ROW SELECTION
    *To deetermine the rows selected we will use the selection column field to loop
    *through the internal table.
    LOOP AT itab WHERE mark EQ 'X'.  "mark is the name of selection column field
    DELETE itab                                    " and is part of the internal table .
    ENDLOOP.
    Thanks,
    Ravi Kanth

  • Sub-items settled to main items in Sales Order

    Guys,
    There is a business requirement that all cost and revenue in sub-items are settled to main item in a sales order.
    Is there a standard SAP solution for this?
    Thanks in advance
    Cheers,
    Jim

    Hello
    The material 'item category group' = ERLA ,pricing is only for the main item
    if  'item category group' = LUMF, then pricing takes place only on subitems.
    so you will have to influence the 'item category group'.
    There is also another factor, for e.g."Item category TAN" does not support explosion of BOM, this is because 'STRUCTURE SCOPE FIELD' is blank..You need to check this , and for this you need to access SPRO, which in your case, as I understand, is a limitation. In other words, you need to check this field for ZTAC (it may be empty).
    Hope this helps.

  • How to see the items attached to a bom in sales order

    hi,
         i have created a sales order with a BOM.   i mainitained the few materials in CS01.    but i dont see the items attached to that bom ... how can i see them in the sales order? ( order type OR and item category - tac)
    rewards for sure
    thanks
    mmn

    Hello
    The material 'item category group' = ERLA ,pricing is only for the main item
    if  'item category group' = LUMF, then pricing takes place only on subitems.
    so you will have to influence the 'item category group'.
    There is also another factor, for e.g."Item category TAN" does not support explosion of BOM, this is because 'STRUCTURE SCOPE FIELD' is blank..You need to check this , and for this you need to access SPRO, which in your case, as I understand, is a limitation. In other words, you need to check this field for ZTAC (it may be empty).
    Hope this helps.

  • JMS Content Conversion with spaces

    Hi
    I am using the JMS Content Conversion to transalte MQ messages ( they come from the Mainframe ),to XML Format.
    These messages are in fixed lenghts structure , the fields contain blanks (spaces)
    The adapter cannot deal with it,only fixed lenghts without spaces , the monitor gives the following error
    XI inbound processing failed for message at 2006-08-24|07:45:25.518+0200. JMS and XI identifiers for message are ID:414d51204445564d41494e31202020207aabe04420c2ea13 and bd95c760-3333-11db-b915-001125a56002 respectively. JMS adapter will rollback database and JMS session transactions
    Have some1 dealed with this issue? managed to solve it?
    Thx,Shai

    Hi Shai.
    Before you call him ,try to use the simple convertion in the sender JMS comm. channel,then after you got the first XML structure to the XI ,use a simple\advanced java function from the message mapping and get rid of the spaces if they bother you.
    Can you post the fixed width message you get from JMS I'd like to have a look.
    By the way ,how did you resolve the File content convertion with 4 levels?
    Regarding Yaki's phone...well I'm sure your Boss have it.
    8-)
    Again ,good luck.
    Nimrod
    Message was edited by: Nimrod Gisis

  • Grouping and Page Break in ALV using Function Modules

    Hi all,
    I am trying to develop an ALV Report that will be grouped by vendor, some vendor information to be displayed on header. And, after each vendor;s records there should be a page break.
    It should be something like this:
    Vendor Number: 00012345454
    Vendor Name: ABC Technologies, Inc
    Vendor Country: USA
    Item....Price...... Descriptopm
    123....100,00......this is description
    124....120.00......this is another description
    PAGE BREAK
    Vendor Number: 000123456545
    Vendor Name: My Bank
    Vendor Country: USA
    Item....Price..... Descriptopm
    223....32,00......this is my description
    224....120.00......this is another description
    Can anybody give some sample code for it ? I have tried a few codes from web, but they are not working.
    Thanks.

    Hi,
    Try the following:
    1. Build your sorting criteria. Pass this to ALV FM.
      gs_sort-fieldname = 'VENDOR'.
      gs_sort-group = '*'. "new page
      gs_sort-up = 'X'.
      APPEND gs_sort TO gt_sort.
    2. Add event group level change. Pass this to ALV FM
      gs_event-name = 'GROUPLEVEL_CHANGE'.
      gs_event-form = 'GROUPLEVEL_CHANGE'.
      APPEND gs_event TO gt_event.
    Inside the form, retrieve your vendor details.
    FORM grouplevel_change USING gs_lineinfo
                                 gs_groups TYPE kkblo_grouplevels.
      DATA: l_index     TYPE i.
      IF gs_groups-level = 1.
        l_index = gs_groups-index_to + 1.
        READ TABLE gt_display INDEX l_index  INTO gw_display.   
      ENDIF.
    3. In the event top-of-page, display vendor details using write statements. For the first record, your structure (gw_display) will be blank, read from your data table first
    FORM top_of_page.
      IF gw_display IS INITIAL.
        READ TABLE gt_display INDEX 1 INTO l_display.
        IF sy-subrc = 0.
          WRITE: / l_display-vendor
        ENDIF.
      ELSE.
        WRITE: / gw_display-vendor.
        CLEAR: gw_display.
      ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_pf_status_set = 'SET_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = gs_layout
          it_fieldcat              = gt_fcat[]
          it_sort                  = gt_sort[]
          i_save                   = 'A'
          it_events                = gt_event
        TABLES
          t_outtab                 = gt_display[]
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    Hope this helps.

  • Dynamic table & data binding

    Hi all,
    I am trying to create an interactive form in WebDynpro ABAP (using Livecycle Designer 8.0).
    This application consists of two screens.
    I have a selection screen which populates an internal table in a context node.
    The next screen has the interactive form and should create the table dynamically to match the internal table.
    I can see the context on this screen as I inserted a simple WD table UI element and it displays the data.
    I created my form in the wizard here which allows you to set the interface to be a context node in the application. However the binding is not working at all. In fact when I set the binding attribute in the various subforms, rows etc I get a warning message
    "Using 'Normal' data binding when a default data connection is defined may produce undesirable results"
    Has anyone experienced this before or can anyone tell me how to set up a dynamic, bound table in WebDynpro ABAP?
    Thanks,
    Gregor

    Hi Gregor,
    From your information, I can say that you are having two Views. In the First View you have a selection screen and by the selection screen you are filling the Internal Table which is being used in the next View.
    To display the Internal in the Adobe Interactive Form from WebDynpro. Firstly you need to create a main context node and in that context node create another sub node with Cardinality "0..n" and Selection "0..1"and link that to a Table or Structure or leave that blank. i you left blank create attributes of your own or select from the table or structure you have referenced.
    Now in the Method you fill sub node after all the select statements written and at end write a code "sub_node_name->bind_table ( internal_table )".
    Now after filling the template source it asks for the interface, when filling select the main context node.
    I think this will solve your problem.
    Regards
    Pradeep Goli

  • Comma is showing in place of  decimal point  ( smartform)

    Dear All
    When i try to display quantity or amount field with decimals in smartform report,  system is displaying comma instead of decimal point. for e.g 1200.50 is displayed as 1200,50.
    Please advice.
    Ravindra Suvarna

    posting part of the code for your verification. Pls let me know is you need any further information.
    Form Interface
    IS_BIL_INVOICE     TYPE     LBBIL_INVOICE
    IS_NAST          TYPE     NAST
    IS_REPEAT     TYPE     NA_REPET
    Global Definitions
    WA_EXCISE     TYPE     LBBIL_HD_KOND-KWERT
    WA_CESS          TYPE     LBBIL_HD_KOND-KWERT
    WA_CST          TYPE     LBBIL_HD_KOND-KWERT
    WA_TCS          TYPE     LBBIL_HD_KOND-KWERT
    WA_FREIGHT     TYPE     LBBIL_HD_KOND-KWERT
    WA_INVVAL     TYPE     LBBIL_HD_KOND-KWERT
    WA_ITMVAL     TYPE     LBBIL_HD_KOND-KWERT
    WA_RATE          TYPE     LBBIL_HD_KOND-KWERT
    WA_EX_WORDS     TYPE     CHAR_200
    WA_IN_WORDS     TYPE     CHAR_200
    WA_NUM_CHR     TYPE     CHAR_18
    WA_VTTK          TYPE     S_VTTK
    TOT_NETWT     TYPE     PNUM
    TOT_GRSWT     TYPE     PNUM
    T_NETWT          TYPE     PNUM
    initialization
      PERFORM CHECK_INVOICE USING  IS_BIL_INVOICE
                            CHANGING WA_EXCISE
                                     WA_CESS
                                     WA_CST
                                     WA_TCS
                                     WA_FREIGHT
                                     WA_INVVAL
                                     WA_ITMVAL.
    Form Routines
    FORM check_invoice USING is_bil_invoice TYPE lbbil_invoice
                       CHANGING wa_excise   TYPE lbbil_hd_kond-kwert
                               wa_cess     TYPE lbbil_hd_kond-kwert
                               wa_cst      TYPE lbbil_hd_kond-kwert
                               wa_tcs      TYPE lbbil_hd_kond-kwert
                               wa_freight  TYPE lbbil_hd_kond-kwert
                               wa_invval   TYPE lbbil_hd_kond-kwert
                               wa_itmval   TYPE lbbil_hd_kond-kwert.
      DATA : wa_kond TYPE lbbil_hd_kond.
      DATA : wa_ikond TYPE  lbbil_it_kond.
      CLEAR wa_excise.
      CLEAR wa_cess.
      CLEAR wa_cst.
      CLEAR wa_tcs.
      CLEAR wa_freight.
      CLEAR wa_invval.
      CLEAR wa_itmval.
      LOOP AT  is_bil_invoice-hd_kond INTO wa_kond. "header sub total
        CASE wa_kond-kschl.
          WHEN 'JEXP'.
            wa_excise = wa_excise + wa_kond-kwert.
            wa_invval = wa_invval + wa_kond-kwert.
          WHEN 'JECP'.
            wa_cess   = wa_cess   + wa_kond-kwert.
            wa_invval = wa_invval + wa_kond-kwert.
          WHEN 'JLST' OR 'JCST' OR 'JIVC' OR 'JIVP'.
            wa_cst    = wa_cst + wa_kond-kwert.
            wa_invval = wa_invval + wa_kond-kwert.
          WHEN 'ZTCS' OR 'ZTCX' OR 'ZENT' .
            wa_tcs    = wa_tcs + wa_kond-kwert.
            wa_invval = wa_invval + wa_kond-kwert.
          WHEN 'ZFRC'.
            wa_freight = wa_freight + wa_kond-kwert.
            wa_invval = wa_invval + wa_kond-kwert.
        ENDCASE.
      ENDLOOP.
      LOOP AT is_bil_invoice-it_kond INTO wa_ikond. "item value
        wa_itmval = wa_itmval + wa_ikond-kwert.
      ENDLOOP.
      wa_invval = wa_invval + wa_itmval.
      IF wa_invval NE  is_bil_invoice-hd_gen-bil_netwr.
        MESSAGE e002(sy) WITH 'Invoice total Error. Pls Check the Pricing Conditions'.
      ENDIF.
    ENDFORM.                    "check_invoice
    Display
    &WA_ITMVAL(11.2)&
    &WA_EXCISE(11.2)&
    &WA_CESS(11.2)&
    &WA_CST(11.2)&

  • Spry examples not working when sitting on UNIX servers

    Hi All,
    I've been looking at the SPry dynamic table examples with the
    intention of using this with my own xml files. When viewing these
    samples locally it displays fine. When uploading onto our server,
    it displays nothing. There is a quick flash of the first two rows
    but then won't parse the XML into the table structure and then is
    blank.
    As I said works fine running locally on Win XP using IE6.0
    but using IE6.0 running off a UNIX server, nothing.
    Baffled. Can anyone help?
    Kind regards
    Paul Pounder

    Hello Paul,
    Maybe this is just a basic permission problem. Maybe the new
    server is configured to serve the .xml files, the read/write
    permissions are correct or the mime-types for this type of file is
    not correct.
    In this situation you should simply try into the browser to
    manually call the XML data file and see if the file is correctly
    delivered. In case this scenario works then please give us an URL
    to take a look too.
    Regards,
    Cristian

  • Grouping - and page break

    Post Author: Gerd
    CA Forum: General
    Hey,
    i have a group and the situation looks like this
    PageBeginn**************************************
    A
    NameA1   ValueA1
    NameA2   ValueA2
    B
    NameB1  ValueB1
    NameB2  ValueB2
    H
    NameH1  ValueH1
    PageEnd*********************************
    PageBeginn******************************
    NameH2  ValueH2
    NameH2  ValueH2
    PageEnd*********************************
    I want that there is no page break between a group. In the example above is a part of the group (H) on one page and a part
    on the other page. How it is possible that the page break is not inside a group ?
    I have set at the section (Section Expert)
    GroupHeader --> to Keep Together
    Details --> to keep Together
    GroupFooter --> to keep Together
    --> This doesn't works
    thanks,

    Hi,
    Try the following:
    1. Build your sorting criteria. Pass this to ALV FM.
      gs_sort-fieldname = 'VENDOR'.
      gs_sort-group = '*'. "new page
      gs_sort-up = 'X'.
      APPEND gs_sort TO gt_sort.
    2. Add event group level change. Pass this to ALV FM
      gs_event-name = 'GROUPLEVEL_CHANGE'.
      gs_event-form = 'GROUPLEVEL_CHANGE'.
      APPEND gs_event TO gt_event.
    Inside the form, retrieve your vendor details.
    FORM grouplevel_change USING gs_lineinfo
                                 gs_groups TYPE kkblo_grouplevels.
      DATA: l_index     TYPE i.
      IF gs_groups-level = 1.
        l_index = gs_groups-index_to + 1.
        READ TABLE gt_display INDEX l_index  INTO gw_display.   
      ENDIF.
    3. In the event top-of-page, display vendor details using write statements. For the first record, your structure (gw_display) will be blank, read from your data table first
    FORM top_of_page.
      IF gw_display IS INITIAL.
        READ TABLE gt_display INDEX 1 INTO l_display.
        IF sy-subrc = 0.
          WRITE: / l_display-vendor
        ENDIF.
      ELSE.
        WRITE: / gw_display-vendor.
        CLEAR: gw_display.
      ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_pf_status_set = 'SET_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = gs_layout
          it_fieldcat              = gt_fcat[]
          it_sort                  = gt_sort[]
          i_save                   = 'A'
          it_events                = gt_event
        TABLES
          t_outtab                 = gt_display[]
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    Hope this helps.

Maybe you are looking for