Query for F.27 print program
Hi abap gurus,
for tcode : f.27
If table bsid or bsad has dunning area with some specific value then i want to split account statement.
(we copied rfkord10 into zprogram and use that one.)
if anyone worked on same then please help me out.
Solution with coding or more technical explanation will be appreciated.
points will be rewarded.
Hi,
There may be two solutions for your problem,
One you can copy the program into zprogram and do the changes according to your requirements. Functional people can assign this sprint program to F.27.
Secondly, you can assign smartfrom to F.27 by using SAPs New Enhancement Frameworks (availabe in ECC 6.0). In this framework you can add your code to SAP's standard program but you can not modify the program. But by doing debuggin you need to locate the exact place where you need to add your code.
If it is helpful assign points.
Ashvender
Similar Messages
-
More than one print program for one sap script
Hi Experts,
I have more than one print program which is attached to one sap script. There is standard text used in the script which has variable as date, i want that date to be converted into the previous date but only for one specific print program. For rest of the print program it should behave as it is.
I have tried it using ( s_date - 1 ) formula and it is working fine. But the variable s_date is used in other parts of the program which is affecting rest of the functionality when i am using above said formula. I can't use other variable in standard text as it is used by other programs.
Please guide me to resolve this, thanks in advance.Well, I'm not sure if I understand the scenario 100%, but I think what you have is a standard text (that you cannot change) referring to variable &S_DATE&. You want this to display the previous day's date when the form is used by one print program but not when it's called by another.
Also, you don't want to change S_DATE to S_DATE - 1 for the whole printout, because apart from the text display, S_DATE is used elsewhere and you want to keep the date as S_DATE, not the previous day.
I assume that you can change the coding of the form.
If all of the above is correct, then you could change the value for S_DATE in the form to the previous day just before it calls the standard text and change it back after the output of the text is done. So right befor the INCLUDE for the standard text, you could use an IF statement in the form logic, query the value of SY-REPID (or SY-CPROG). You'll have to test which one shows the print program name. Depending on that, you can do S_DATE = S_DATE - 1 and after the INCLUDE, do the same thing and change it back to S_DATE = S_DATE + 1.
But honestly, this is a pretty shady programming technique... I mean, hard coding references to the print program name in the form logic is certainly not a very clean method -
Smartform print program for order confirmation
Hi experts.
I am looking for a smartform print program for order confirmation.
The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
If any body written the program already please provide me or provide the link to check.
Thanks in advance
Saithis is the processing form.
form processing.
data: lf_fm_name type rs38l_fnam.
data: ls_control_param type ssfctrlop.
data: ls_composer_param type ssfcompop.
data: ls_recipient type swotobjid.
data: ls_sender type swotobjid.
data: lf_formname type tdsfname.
data: ls_addr_key like addr_key.
data: document_output_info type ssfcrespd,
job_output_info type ssfcrescl,
job_output_options type ssfcresop.
perform get_data.
check retcode = 0.
perform set_print_param using addr_key
changing ls_control_param
ls_composer_param
ls_recipient
ls_sender
retcode.
*Get the Smart Form name.
if not tnapr-sform is initial.
lf_formname = tnapr-sform.
else.
message e001(/smb40/ssfcomposer).
endif.
determine smartform function module for invoice
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = lf_formname
importing
fm_name = lf_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
error handling
retcode = sy-subrc.
if sy-subrc = 1.
message e001(/smb40/ssfcomposer).
endif.
if sy-subrc = 2.
message e002(/smb40/ssfcomposer) with lf_formname.
endif.
perform protocol_update.
endif.
call function lf_fm_name
exporting
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
importing
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
tables
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
retcode = sy-subrc.
perform protocol_update.
get SmartForm protocoll and store it in the NAST protocoll
perform add_smfrm_prot.
endif.
endform. "processing -
Need to find SAP query for corresponding ABAP program.
Hello SAP Experts,
I have an ABAP program "AQDESYSTQV000001ORDERDETAILS==" in ECC 4.7. We had a client copy recently from ECC 4.7 to ECC 6.0. Now in ECC 6.0 I am unable to find this program in SE38.
Can you please tell me how to create this program in ECC 6.0 ? Also, by the name of this program it is clearly seen that this program is automatically created by using SAP query.
I tried to generate the program using SQ01, but system asks me for the SAP query.
Can you please tell me how to find the SAP Query for the corresponding abap program ? Also, the steps as in how to generate the program in ECC 6.0.
Thanks.Hi Danish,
In the program name, the query name is always attached.
For example : The program name is , AQ10SD==========Z10SD_INVPRODL=
Here the query name is Z10SD_INVPRODL and if you go to transaction SQ01 and enter the query name
then you can find the infoset.
And also you can gernate the program with the help of query name.
Please try the same and let me know if any details are required.
Regards,
Darshana -
SAPScript Print Program Entry Point
Dear all,
I try to modify the standard SAPScript form and its related print program. What is the program entry point for those associated print program?? Since, i want to add my own logic and don't know where should i start. I can only find the subroutine FORM_OPEN and ENTRY.
Regards,
Kithi,
u can add u r logic by using form routines.
FORM .. ENDFORM is used when retrieved data
needs to sent back to print program.
In SAPscript:
PERFORM < routine_name> in <report_name>
USING &var1&
CHANGING &var2&.
ENDPERFORM.
in case of reports,
i am giving the sample example for this,
FORM < routine_name> in_tab type ITCSY
out_tab type ITCSY
READ TABLE in_tab WITH KEY NAME = var1.
{Data Selection based on above value. It returns ret_value.}
READ TABLE out_tab WITH KEY name = var2.
out_tab-value = ret_value.
MODIFY out_tab.
ENDFORM.
Reward points if useful,
Thanks,
usha -
Change the print program from the Transaction F150
Hi all.
Does somebody can help how to change the print program in the transaction F150?.
I have copied the F150_dunn_01 (form) and the SAPLF150 (printprogram)
This transaction calls the form F150_dunn_01 I want to know how to assign to this transaction my print program ZSAPLF150
Thanks and regards.Hi Srinivas Adavi.
Ok, I have taken this path...
IMG-->Financial Accounting
-->Accounts Receivable and Accounts Payable
-->Business Transactions
-->Dunning
-->Printout
In this, appears:
Define Dunning Forms (with SAPScript)
Define Dunning Forms (with SAP Smart Forms)
Assign Dunning Forms
Define Sender Details for Dunning Forms
Develop Enhancements for the Dunning Print Program
Attached Payment Media
-->And So On.
What are then next steps to make the configutation; sorry I'm newbe jeje -
Creation of new Print Program & Variant for new Correspondence Type created
Dear Friends,
I have created 2 new Correspondence Types in SAP as SAP61 (Vendor Debit Note) & SAP62 (Vendor Credit Note) by copying SAP09 (Internal Document) properties like itu2019s Name of the print program - RFKORD30 & Name of variant - SAP09.
We are facing problem when we execute print program in F.64 for SAP09 it is coming same like SAP61 or SAP62. Actual script & print values of SAP09 are replaced by SAP61 or SAP62.
Please suggest us how we can differentiate both SAP09 & SAP61/62. Because we use these correspondences for different purposes like SAP09 gives the information for the Line items in the Document whereas SAP61/62 gives the information of vendor line item weather it is debit or credit entry.
Your kind co-operation in this matter is highly appreciated.
Thanks & Regards,
Naveen Kumar.P"Assigned the from to the company code - progam in V_001F_B"
Check 'Form ID' field in this IMG transaction against the program and form that you have created.
I am assuming there are 2 lines with same entries but different form IDs.
Or there are 2 lines with the same entries but different CoCodes (seem to remember that the CoCode is not taken into account as a key in certain programs - not logical i know but remembered a previous issue I had many moons ago - could be to do with the blank entry for CoCode field if there is one being picked up by the program before the entry that has your CoCode).
Now check the variant attached and Form ID in step 'Created new program variants in SA38'
Ensure the correct program and variant are attached in step OB78.
My assumption is Form ID is the key.
Hope this helps -
Standard print program for fi invoice smartform printing
Hi friend,
Is there any standard print program available for printing FI related invoice .
I want print program for printing smartforms.
I want to know any method for searching the standard print program for printing smartform in Fi module.
Thanks & Regards,
SathishHi,
FI related Forms will be configure in SPRO.
Goto SPRO and FI related applivcation.
There you will find the related forms and programs. -
FI standard print program for invoice
Hi,
I want any standard print program and smartform avilable for Fi module to print invoice, like for example we have rlb_invoice in SD module.
Thanks & regards,
Sathish.Hi.
Check this- /SAPDII/FINC_LIST
Please search in Tcode: Smartforms , use F4, U will find all smartforms
Regards
Jana -
Print program name for the dunning form F150_FR_DUNN_01 in sapscript
Hi,
I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
Kindly help me.
Thanking you.
Pujarini PatraHi,
Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP 0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
The corresponding SAP sample Forms are:
- F150_DUNN_SF for Smartform; and
- F150_DUNN_SF for pdf Form (don't let the name confuse you )
I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
- FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
- FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for view Cluster VC_T047_F... That would save the whole effort to try to detect the type for form assigned...
Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
The selected entry is the one you are looking for to assing your custom forms, I believe.
cheers
Janis -
Hello Gurus,
There is a Business requirement to have a separate print forms for every Inventory transactions like Goods Receipt, Goods Issue, Stock Transfer, Sub-Contracting Transfer Posting, Consignment Transfer Posting, etc.
We need to use the Transaction MB90 to print all the Inventory documents.
While checking the Output types, we find that basically WE03 is for Goods Receipt (Collective Slips) & WA03 is for Goods Issue / Transfer postings (Collective Slip)
I would like to know that inorder to assign a different Smart Form & Program (One for each of the transactions listed above) to the output types, is there a way around to work with these 2 Output types & have the 5 different Smart Forms - Programs assigned to these 2 Output types or do I need to create a copy of these output types & use them instead, one output type for each Smart form - Print program combination
Regards,
Zafar.First, you can maintain <B>PRINT ID</B> in the IMG for each movement type<BR>
Second, you can create multiple <B>OUTPUT TYPE</B> - one for each.
Third, in MN21, create ouotput records using a combination of <B>OUTPUT TYPE</B> and <B>PRINT ID</B>
<br>
Example:
GR movement types 101, 105, etc, you can have <B>PRINT ID</B> 1 and <B>OUTPUT TYPE</B> Z001
GI movmeent types 201,261, etc. you can have <B>PRINT ID</B> 2 and <B>OUTPUT TYPE</B> Z002
<BR>
Configure <B>PRINT ID</B>: IMG path: <I>Materials Management > Inventory Management and Physical Inventory > Print Control</I><BR><BR>
Configure <B>OUTPUT TYPE</B>: IMG path: <I>Materials Management > Inventory Management and Physical Inventory > Output Determination</I> -
Reg:Print program For FB03
Hi All,
In the Fb03 Transaction When i give print Preview I want to show the Document Date as Blank, by default print preview its coming, hoe can i restrict this, i have done the following steps i don't know how to proceed after this, the steps are as follows,
I have Created a new correspondence type as ZFB03 in OB77.
For Allocation Program For Correspondence i have given the Correspondence and company code in OB78
I don't Know what to give in the Form Name For Correspondence Print?
and also i don't know which program i have to copy and change to ZProgram and where to assign it?
Does anybody know how to resolve this issue?Hi Suresh,
Goto the TCODE OB96 and click on the position and enter your company code..
you will get directly the print program and its form name... the default print program is RFKORD00.
Else you can do like this....
In SPRO follow this path.
ex:-Form 16A
Financial Accounting
Global settings
withholding tax
Extended Witholdong tax
POstings
India
Withholding tax certificates for vendors
maintain no.groups and script forms.
For cheques and Payment Advisory.
Go to FBZP
click on printmethods in company code
click on position
give Company code and payment method
then in the next screen double click on the payment method
This way you will get to see the forms assigned to it.
For Forms for Correspondence.
Financial Accounting
---Global settings
correspondence
define form names for correspondence print.
Thanks & regards,
Dileep .C -
Triggering print program for shipment creation
Hi All,
I have created a new print output type 'ZEDF',which should ideally generate a spool at the time of saving the shipment. But unfortunately, this is not happening.Whenever I save a newly created shipment,this output type is not getting triggered,but when I repeat the same output type through VT02,a spool is generated automatically.I have maintained all the condition records properly in the system. Please help me on this.
Thank you,
ArchanaHi,
Have you checked the settings in NACE tcode?
Pls check the same and amde the configuration according to your Device Type.. Pls have a look on below points.
Hi,
1. Goto in NACE
2. You need to ask your functional buddy to let you know about Application area, I suppose u need to take EF.
3. Select EF from the list and than click on Output Types, select any output type (Which you wud like to give to your script)
4. Else if you like to create a new one for your script, then on same screen click on change button, then click on New Entries
And give all the detailed info.
5. To use existing output types, select a output type like "ZEDI", at the left hand side double click on Processing Routines.
6. In the Processing Routines block , Give the Program name as print program and here you need to give your SAP scrip name in Form option.
save it.
Regards,
Lokesh. -
Finding Program for triggering Print Program (MIGO - Goods Receipt)
Hi all,
Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
Many thanks.
Best regards,
Patrick
P/S: I'm using SAP ECC6.Actually, this print program is being triggered in the update processing.
Put a breakpoint in your driver program.
In MIGO, before pressing the SAVE button start debugging.
Press the SAVE button.
Start the update debugging by Settings > Update Debugging.
As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
Regards,
Naimesh Patel -
Ho to find script and the related print program for print preview of PO
Hi All,
We are getting some text output on the print preview of a purchase order.
How can we determine the driver script and the corresponding print program for this.
Can you please guide on this.
Thanks in advance.
Regards,
SanjeetU Can check Driver program and form related to that program table is TNAPPR
Goto NACE t.code
Selct Application ---> click on output types
then u wil get one window there select proper output type and
double click on processing routines u wil get form name and related driver program name also
Plz try this....
Edited by: Upender Verma on Feb 9, 2009 1:33 PM
Edited by: Upender Verma on Feb 9, 2009 1:37 PM
Maybe you are looking for
-
How do you specify which email address to use in a group list?
Hi All, I've got several group lists created in Address Book. When I want to send an email to a group using Mail I cannot specify which email address gets used for a person that has multiple addresses in Address Book. My process is as follows: create
-
I recently updated to Lion and have found the most overlooked issue in all OS updates I have ever witnessed. Now when moving folders between finder (or your desktop) to the Mac HD the files or folders no longer just move they copy!!! This is an extre
-
I have mp4 videos on my computer that I want to add to itunes...the add a file or folder is not working. Why?
-
Using iWeb with a hosting service besides .mac?
Hello, I have not yet upgraded to iLife 08, but am deciding whether it is worth it. My question is, is it possible to host your iWeb website on something besides a .mac account (I do not have one). Or is it necessary that you pay the $99 a year to pu
-
Why does Pan and Zoom mess up my timeline
Please forgive my ignorance as I am relatively new to this. I just about have a finished video which include video clips and still images. I just went to add a Pan and Zoom effect to a still image and when I hit done it messed up my timeline - See be