on 04-15-2010 10:46 AM
Dear Experts,
We are working on Invoice list it gives output with LR00.
but we have created a new output type ZPGR and assigned in
SD>Billing>Billing document>Invoice List>Maintain Output for Invoice list
Prgram-RLB_INVOICE and smart form ZS_INVOICE_PACK_2_GRP
and VF21 i was able club billing documents. but in VF22 while issuing output it give error 'Billing document does not exist'
checked and found because VBTYP in VBRK for invoice list document(LR) it is 3. but RLB_INVOICE program checking values MNOPSU56.
any idea how to deal with, is there any other program instead of RLB_INVOICE to assign smart form
Please suggest
Regards
Siva
Hi All,
Sorry for didn't update the solution.
We've created a Z print program to resolve this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunkesula,
below is the sample Z print program.
i copy some of the code from RLB_INVOICE and change the sapscript calling method to smartform calling method.
REPORT Z_TEST.
INCLUDE XXXX. "you may define any include you want
INCLUDE XXXX. ""you may define any include you want
*---------------------------------------------------------------------*
* FORM ENTRY
*---------------------------------------------------------------------*
FORM entry USING return_code us_screen.
DATA: lf_retcode TYPE sy-subrc.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing USING us_screen
CHANGING lf_retcode.
IF lf_retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM. "ENTRY
*---------------------------------------------------------------------*
* FORM PROCESSING *
*---------------------------------------------------------------------*
FORM processing USING proc_screen
CHANGING cf_retcode.
DATA: lf_formname TYPE tdsfname,
lf_fm_name TYPE rs38l_fnam.
* SmartForm from customizing table TNAPR
lf_formname = tnapr-sform.
* determine smartform function module for invoice
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname
* variant = ' '
* direct_call = ' '
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
* error handling
cf_retcode = sy-subrc.
PERFORM protocol_update.
ENDIF.
ENDIF.
"call the fm of the smartform. You may pass in any data you would like to display here
CALL FUNCTION lf_fm_name
ENDFORM. " processing
Hello Siva ,
Please try to learn how to close posts, as peoples are spending time and replaying to your queries and guyslike you are just posting answer'ed or solved '.. but not the actual answer .
What is the use of your posts in scn forum . Absolutely no use ... keep in mind and please share your answers and solutions so that in future it would be helpful to many people .
Kindly thing about others also ... Try to be helpful to others also instead of being useless .
Hope you understand . Thnks .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gafoor,
Try to be helpful to others also instead of being useless .
I understand your intention...but, please don't be so harsh. Since it is a professional forum...it is good to deal with others professionally and make them understand.
You have joined the fourm 19 months back and did anybody asked you about your contribution to this forum? Any community will have a mix of different kind of people.
Note: Please do not forget to use the Spell Checker in your future posts.
Thanks,
Ravi Sankar
Thank you for your understanding and, kind reply Shiva .
I may not be the active contributor , but I wish one should respect others response and close the discussion, It will be really helpful for the people like me .
Kindly discuss the solution as descriptive as you ask the question .
Sorry & Thanks for the reply ...
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shiva,
What is the Error Message your are getting?
Thx,
Edited by: Raga on Apr 15, 2010 6:08 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.