cancel
Showing results for 
Search instead for 
Did you mean: 

Structure IS_BIL_INVOICE-IT_KOND is blank

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

prakashjasti
Contributor
0 Kudos

Hi

Check weather you have changed the program also in nace.

If you use the sap given program then the data will come to that structure automatically.

but if you are using the z program then this can happen.

Regards,

Prakash.

Former Member
0 Kudos

Got the same problem, but I didn't understand Nareshs answer. Anyway it doesn't seem to be a permanent solution..(?!)

Any advice?

Former Member
0 Kudos

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.