VF01 and VF02
Hi all,
I have defined same output type for VF01 and VF02 and with same parameters. My user settings are set to my default printer PRINT. However when i do an issue output to, it picks up PRINT when done thru vf02 but picks up LOCL when done thru vf01.
Can you please guide how to ensure the entries in NAST table has same printer as the one in user default setting ?
thanks,
Hi,
Confirm with your SD consultant first what are all the settings that he has done for printing the forms.
Even your Basis guy can make the printer settings default as PRINT so that when ever output device is triggered then the settings done by basis guy will call.
Cheers!!
Balu
Similar Messages
-
Output type works different when VF01 and VF02 ,why?
For Invoices related to a B2B order the output type ZB01 does not always come up during invoice creation time. If we go into the invoice via VF02 it will pop up immediate. But invoices are created by batch jobs and then not 100% of the ZB01 get created. Partners are complaining and need this to be 100% working.
what's the probable problem with it?Atish
I Searched 'VF02' already ,but there is no user exit to handle with it .
Maybe because it's B2B ,we can't find it in our SAP system ..
What's the next step should I do -
Out type for B2B invoice works different via VF01 and VF02
For Invoices related to a B2B order the output type ZB01 does not always come up during invoice creation time. If we go into the invoice via VF02 it will pop up immediate. But invoices are created by batch jobs and then not 100% of the ZB01 get created. Partners are complaining and need this to be 100% working.
what's the probable problem with it?
Appreciate your help ,Thanks in advanceAtish
I Searched 'VF02' already ,but there is no user exit to handle with it .
Maybe because it's B2B ,we can't find it in our SAP system ..
What's the next step should I do -
Optimization of VF01 and VF02 transactions
I have the below query - which is a great performance killer.
SELECT SINGLE KUNNR NAME1 STRAS ORT01 PSTLZ FROM KNA1 INTO CORRESPONDING FIELDS OF ITADD WHERE KUNNR = ITADD-KUNRG.
SELECT SINGLE LANDX FROM T005T INTO CORRESPONDING FIELDS OF ITADD WHERE SPRAS = 'EN' and LAND1 = ITADD-LAND1.
SELECT SINGLE BEZEI FROM T005U INTO CORRESPONDING FIELDS OF ITADD WHERE SPRAS = 'EN' AND LAND1 = ITADD-LAND1
AND BLAND = ITADD-REGIO.
SELECT SINGLE VBELV FROM VBFA INTO CORRESPONDING FIELDS OF ITADD WHERE VBELN = ITADD-VBELN
AND VBTYP_V = 'C'.
SELECT SINGLE BSTNK BSTDK FROM VBAK INTO CORRESPONDING FIELDS OF ITADD WHERE VBELN = ITADD-VBELV.
SELECT SINGLE LIFEX KUNNR BOLNR ANZPK FROM LIKP INTO CORRESPONDING FIELDS OF ITADD WHERE VBELN = ITADD-VBELV .
SELECT SINGLE ORT01 FROM KNA1 INTO CORRESPONDING FIELDS OF ITADD WHERE KUNNR = ITADD-KUNNR.
SELECT SINGLE ZTERM FROM VBRK INTO CORRESPONDING FIELDS OF ITADD WHERE VBELN = VBELN.
SELECT SINGLE VTEXT FROM TVZBT INTO CORRESPONDING FIELDS OF ITADD WHERE ZTERM = ITADD-ZTERM
AND SPRAS = 'EN'.
SELECT SINGLE STCD2 FROM KNA1 INTO CORRESPONDING FIELDS OF (ITADD-VATNO) WHERE KUNNR = ITADD-KUNNR.
SELECT SINGLE J_1IEXCD J_1ICSTNO J_1ILSTNO FROM J_1IMOCUST INTO CORRESPONDING FIELDS OF ITADD WHERE KUNNR = ITADD-KUNNR.
APPEND ITADD.
SELECT SINGLE VBELV FROM VBFA INTO CORRESPONDING FIELDS OF ITD WHERE VBELN = VBELN AND VBTYP_V = 'J'.
APPEND ITD.
SELECT SINGLE
MATNR " MAT NO
ARKTX " TXT FOR SALES ORDER ITEM
FKIMG " INVOICED QUANTITY
POSNR " BILLING ITEM
VBKME " BASIC UNIT
PSTYV " DOC TYPE
INTO CORRESPONDING FIELDS OF ITAB1 FROM VBRP WHERE VBELN = VBELN.
SELECT SINGLE KNUMV FROM VBRK INTO CORRESPONDING FIELDS OF ITAB1 WHERE VBELN = VBELN.
***JCST
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_JC)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KSCHL = 'JCST'
AND KBETR <> 0.
****JLST
IF ITAB1-KBETR_JC = 0.
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_JT)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KSCHL = 'JLST'
AND KBETR <> 0.
****SURCHARGE
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_SC)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KSCHL = 'JLSR'
AND KBETR <> 0.
ENDIF.
**VAT
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_VT)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KSCHL = 'ZIVP'
AND KBETR <> 0.
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_VT_ADT)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KHERK = 'D'
AND KSCHL = 'ZADT'
AND KBETR <> 0
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_VT_AVT)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KSCHL = 'ZAVT'
AND KBETR <> 0.
DISCOUNT
SELECT SINGLE KBETR FROM KONV INTO CORRESPONDING FIELDS OF (ITAB1-KBETR_DC)
WHERE KNUMV = ITAB1-KNUMV
AND KPOSN = ITAB1-POSNR
AND KHERK = 'D'
AND KSCHL = 'ZTRD'
AND KBETR <> 0.
ITAB1-KBETR_DC = ITAB1-KBETR_DC * -1.
How can I optimize this? Please help me to rewrite the same.
thanksHi,
you don't create index for program but for table. The database indexes are pretty broad subject but no worries. There are plenty of documentation. You can create secondary index in SE11 but you need to know consequences of your decision. The bad index can even slower your system and it will not improve performance of your program at all. Check this [SAP documentation for table|http://help.sap.com/saphelp_nw04/helpdata/en/9b/c743f5b40711d194f900a0c929b3c3/frameset.htm].
As I said in my previous post, try to minimize number of queries in your program. So create one general query for table KONV and then read all records from internal table.
Cheers -
Balancing field "Profit Center" in line item 002 not filled and VF02
Dear All,
Below mentioned error we got in VF02 while releasing the billing to Accounting document.
In this case SO has created. Later with out delivery has been created Billing ( VF01) And Later Releasing through VF02 ( For only 1 specific Billing type )
But we have CRM Integration also from CRM 7.0 TO ECC 5.0 ( New GL Is there in ECC 5.0)
Here alternative solution is there i.e In OKKP T code if we deselect Profit center Button Issue will be resolved from SD side ( PC Issue )
Then problem will come to CRM with another message as ( Account-based PCA not active in year 2011 in controlling area 1001 (Notification I KM 029) Message no. CRM_ORDER_MISC 060)
Balancing field "Profit Center" in line item 002 not filled
Message no. GLT2201
Diagnosis
The field Profit Center marked as balancing is not filled with any value in line item 002, even after document splitting.
System response
The document cannot be posted.
Procedure
First check your entries.
Additional causes could be:
No value can be derived for this field from the current document data.
You have entered a document type that is not designed for this business purpose.
Please help on same.Hi
If i am selecting that indicator in 0KE5 Problem will be resolved in CRM.
But VF02 Is getting this Balancing field "Profit Center" in line item 002 not filled problem.
With out selecting that indicator please suggest. From Last 5 years we are using this Production System.
0KE5 indicator has not selected from 2005 to 2011 also.
CRM Is is process. we have selected in QA, But problm occurs to VF01 and CRM Process.
Simply if i select 0KE5 CRM problm will resolved.
Later SD Problem will come into the pictute.
Note: In PD1 System we hav not selected for 2011 also.
Pls put more inputs. -
Billing Output Access Sequence behaving differently in VF01 Vs VF02
Hi All,
Scenario: For RD00 output from G2 Credit memos there is a customised access sequence. At the top as a first sequence a new table was added with fields as Sales Org/Billing Types/ Billed-to/ Order Reason. All the required changes to add 'order reason' in field catalogue and in output structures are done with development. System allows to maintain required output master record in VV31 as required.
Issue: Upon creating a credit memo the output access sequence ignores the newly added first table at the top (most specific) and jumps to the second one and output gets determined with second access although it should have considered the first one first. (Exclusive indicator marked for each step in Acc Seq) This is the case when the credit memo is seen in VF03 upon creation. But if the same document is opened in change mode VF02 it corrects the output and as required the first access gets determined.
Please advise what could be different in VF01 Vs VF02 as the first leads to wrong output and the later determines the right one, keeping all settings same.
Thanks,
HemantThis is a bit of a long shot, but hereu2019s an idea.
The problem may be that your order reason gets populated by a user exit in the billing document creation process, and this user exit has not yet executed when the output determination kicks off.
Put a break point in the user exit. If an output from the second key combination is already determined when the break point is reached, then the source of the problem is confirmed.
Regards,
Ken -
Billing Document not getting release to Accounting. (VF01 and VF04).
Dear All,
I am facing an Urgent Issue. The User is Generating Invoices using VF01 and VF04. The Invoices is getting generated but not getting released to Accounting. When the User goes in VF02 or in VFX3 and then releasing the Billing Document. The Account Detemination is correctly maintained and G/L is also getting determined.
Please could you advice what may the Issue. Your Urgent Help is appreciated.
Thanks.
Farhan.Dear Alan,
Yes I got the error message by pressing SHIFT + F4. Invoice Generated but no Accounting Document Getting Generated. A Balance has occured in Transaction Currency AED with the following details.
Technical data
Tech. data details
Client
Group Number
Sales Document Number 0004803850
Item Number of the SD Document 000000
Schedule Line Number 0050
Counter in Control Tables 00
Message Identification VF
System Message Number 050
Output Type W
Message Variable 01 0004803850
Message Variable 02
Message Variable 03
Message Variable 04
Detail
Diagnosis
A balance has occurred in transaction currency 'AED' with
the following details:
Exchange rate '00', amount ' 8,600.00-' and
currency key 'AED'.
The data in the transaction currency were transferred from
the calling application.
System response
Your data cannot be processed in FI.
Procedure
The error is probably in the calling application.
nical data
Tech. data details
Client
Group Number
Sales Document Number 0004803850
Item Number of the SD Document 000000
Schedule Line Number 0702
Counter in Control Tables 00
Message Identification F5
System Message Number 702
Output Type E
Message Variable 01 00
Message Variable 02 8,600.00-
Message Variable 03 AED
Message Variable 04
Group Type
Group Type
Same error I am getting when I am releasing the Billing Document to Accounting in VFX3.
But When I generate the Invoice using VF01 its getting released to Accounting.
Please advice why the Issue is only coming in VF04 Collective Invoice and in VFX3.
Your Urgent Help is appreciated.
Thanks,
Farhan. -
VA02 and VF02 User Exit - entering transaction
Hi all,
I am trying to find a user exit that will be called when the user opens a document.
For example the user types in VA02 and enters the sales order number. When they press enter, the user exit is called.
Can someone tell me which user exit can be used for VA02 and VF02 (or how to find it)?
Thanks,Following are the BADI's called while opening a sales document in VA02.
<BADI farm removed by moderator>
Following are the user exits called while opening a sales document in VA02
<exit farm removed by moderator>
Moderator message: please reply with specific information only, not a long list of technical objects that might or might not help.
Edited by: Thomas Zloch on May 20, 2011 9:28 AM -
Read header text from vf01 and print in script main window
Hi Gurus,
I need to read text from vf01 header note 1, there user type max 10 lines i want to read that 10 lines and print in sap script main window after line item printed. i used read text but one line only fetched. i declare variable like data : NEXRSP LIKE TLINE-TDLINE and read_text function module. pls provide solution for this.
Regards
G.VendhanHI GURUS,
Thank u for reply i declare like
ID = '0002'.
PERFORM READTEXT USING EN NAME OBJECT ID TEXT_OUTPUT.
NEXRSP = TEXT_OUTPUT . CLEAR TEXT_OUTPUT.
FORM READTEXT USING P_EN
P_NAME
P_OBJECT
P_ID
P_TEXT_OUTPUT.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = P_ID
LANGUAGE = P_EN
NAME = P_NAME
OBJECT = P_OBJECT
TABLES
LINES = LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT LINES.
P_TEXT_OUTPUT = LINES-TDLINE.
EXIT.
ENDLOOP.
FREE LINES. CLEAR LINES.
ENDFORM. " READTEXT -
Different Exchange Rate in VF01 And J1IIN (CIN Version).
I have released a document in vf01(IN USD).There my exchange rate is 46.95 and in j1iin my exchange rate is 46.0655.So its creating difference in duties of billing and excise invoice.In Company code setting exchange rate type is M.Can any one suggest.
From where it is picking this 46.0655 in j1iin.I have also checked in ob08 there exchange rate is 46.95. not 46.065.Suggest.
Edited by: Pritesh kumar on Jul 6, 2010 11:29 AMIn company code setting already maintained M for ex invoice.APP / F110?Whats that.
Edited by: Pritesh kumar on Jul 6, 2010 1:24 PM
Edited by: Pritesh kumar on Jul 6, 2010 1:31 PM
Edited by: Pritesh kumar on Jul 6, 2010 1:31 PM -
Hi all experts,
When ever i enter a document number in va22 or vf02 and navigate as Sales document--> Issue to output i get a pop up for selecting the output type(Please see the picture 1 below). after selecting any of the given output and on clicking on print preview again am popped up with another pop up for selecting the output device(please see the picture 2 below) which is not required as per my requirement. can you please help me in eliminating the second pop up.
PICTURE 1:
PICTURE 2:
Regards,
SatishHi Satya,
Thanks a lot for your suggestion. it is working fine.
But i have a small concern here now am not able to see the print preview of my smart form. on clicking the print preview i directly an information as document created.
Can you please help me how to see the preview of my smart form.
thanks,
Satish -
Add a new field in va02,va03 and vf02 & data tran. in these fields VOFM
Hi All,
I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once I add this field up in both the documents in the header part i need to create a copy routine using the VOFM transaction,
Can any body help me on what's the procedure to add a field in billing document as i dont find any screen exit for doing it and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
Regards.Hi,
The procedure to create the new VOFM.
1. Go to VOFM transaction
2. Page down until you find a new spot on the page to put in the VOFM number and description.
3. Put in the VOFM number and the description of the VOFM.
4. Now the VERY IMPORTANT part of the process. Double click on the VOFM description not the VOFM number to create this as a Development/Correction and not as a repair. If you double click on the number then this copies some existing code and prompts you for a repair.
5. Activate and generate the VOFM routine. Note: Configuration must be setup by the OM team for this step.
for example Go to the routine number that needs to be copied.
Put your cursor on the routine number field that needs to be copied.
Overwrite that number with your new routine number and hit enter.
The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.
Ex.
You have to copy routine 104 to 904
Routine number Description Active
104 Bill.bus.item data X
Put your cursor on 104 and then change it to 904 and hit enter.
904 will be created as a copy of 104 and you can make your changes in 904.
Don't forget to activate it after you are done.
refer the below link
https://forums.sdn.sap.com/click.jspa?searchID=3604222&messageID=994791
Regards -
Vf01 or vf02 transfer to accounting document
Hello, everyone, I want to find a customer exit or badi or other enhancement that achieve the FI account document when billing document transfer to accounting document via push the button ''transfer to accounting'' in VF02 or VFX3 , that is to say, I want to do something according to the accounting document please help me, thanks, additional, the FI substitute as if doesn't work , thanks.
Please take a look at SDVFX008
-
Screen Exit / Badi for VF01 in ECC 5.0 Version
Dear experts,
I want to add some customized field(Bill of lading date) to the screen of billing header and the field should be displayed in the screens of t-code VF01 and VF02 always.
I found that the BAdi: BADI_SD_CUST_HEAD
But When I try to create implementation for the Badi. The following error is coming Badi definition BADI_SD_CUST_HEAD is only provided for SAP internal use. Our client using sap ecc 5.0 version.
Is there any screen exit or how to add a popup on the billing screen in user exit rv60afzc . Adding popup enter bill of lading date Causes any problems?
Pleaes give me ur help ASAP. Thanks a lot!Added zfiled in vbrk table.and user exit Called popup.
-
VF01 tansaction Kurrf (Exchange Rate) need to change as enable
Hi all,
I need to change the Kurrf (exchange rate) for VF01 and Vf02 as enable.
Can u please suggest me how can i do this.
Regards
MadhuHi Madhu,
there are two options here.
One is by using the SHD0 T.Code by entering the valid values in the screen variant.
Second one is Press F1 on the field and check for technical information.
Check the program name and screen number.
Goto T.Code SE51,enter the program name and screen number in that.
Check the layout and in the field you requested there you can find in the layout.
Click on the field and go to attributes where you can make it as editable or inputtable text box.
Regards,
Krishna.
Maybe you are looking for
-
IF Form region AND report + search tool in same page THEN = problem
Helllo everybody I posted an initial and now the advanced as I received helpful comments but still is unsolved: Problem: If I have a Form, and a Report With a Search feature on the same page the problem is that when I click on the button of Search to
-
How do I Fix a 403 Forbidden Error in my Calendar app on my iMac
Re my 403 problem..didn't get my whole paragraph there. It's a 403 which opens a window saying, "... Access to XXX in "My Calendar" in account iCloud is not permitted. The server responded: 403 to operation CalDavWriteEntityQueueableOperation. How
-
Hello! I am having a problem with a Pages document that has many footnotes. On some pages the body of the text is blurring into/overlayed with the footnotes. I can find no pattern to this; it is not happening any more frequently on pages with many
-
Automatic registration of the mac adress on wlc
Hi evrybody, At this moment, I'm working with an WLC 5508 and the authentication is done with Freeradius,till now every thing is working correctly, when I entered my radius login the connexion was successful; if I exceed the timeout session for expam
-
Who will support me know in this case
Good morning Dear sir,, I have bought my dream MacBook Pro from your agent in Bahrain (iMachines) back in 28th November 2007 , when I received my MacBook Pro I was surprised that came with (Tiger 10.4) operating system pre-installed and when I asked