FV50-Park a G/L Account Document BDC Warning message in screen 1001
I need some help with a BDC program. I am working on a BDC program to process transaction FV50. I went to SHDB and created a recording macro. When I test the recording with u201Csimpleu201D information the recording works correctly and the document is parked. But, when I try to park a document with todays date for the Document Date and I use a date from a previous period I get a warning message which requires an extra screen to be displayed and u201Centeru201D has to pressed. My recording does not work when I get a warning message. I went back and re-recorded transaction FV50 and cause the u201Cwarningu201D message to be displayed so that I can add the extra screen to my BDC recording. I do not see the u201Cextrau201D screen in the new BDC recording. Anyone know why? How can I make this BDC program handle this extra warning message?
You will have to add some logic to your program to check the date. If it is from the previous period, process the warning screen; otherwise, do not.
You may run into other problems as well. FV50 looks like an EnjoySAP transaction and not well suited to batch input.
Rob
Similar Messages
-
Account document not created Message no. VF062 for the pricing procedure
When I tried to create an invoice I came across this problem of Account document not created Message no. VF062.
I created a pricing procedure with base price,BED,EDU CESS,HIGH EDU CESS ,VAT,CST.
Condtion record was set for each pricing condtion type.
Sale order>delivery->invoice
When invoice was stored i get the message accounting document not created.
After that i changed the condtion class of (BED,EDU CESS,HIGH EDU CESS ,VAT,CST.) from D-tax to B-price.Now the invoice is stored without the messag(accounting document not created).What will be the problem associated with thisi changed the condtion class of (BED,EDU CESS,HIGH
EDU CESS ,VAT,CST.) from D-tax to B-price
Whaterver condition types you have with condition class as D, I am sure, you should have assigned some Account Keys in your Pricing Procedure. Ensure that those Account Keys are appearing in OB40 as otherwise, you will face this issue.
G. Lakshmipathi -
I am now unable to print pdf documents. The message on screen says I have not selected any pages to print, even though the bullet point saying 'All' pages has been clicked. I have recently upgraded to adobe reader XI, could that be the problem? I also cannot sign in to Adobe Export pdf now either. It says 'error occured while signing in'!
Open Adobe Reader | Edit | Preferences | Documents: change View Documents in PDF/A Mode to Never.
Regarding the ExportPDF problem, please start a new topic in the ExportPDF forum. -
Accounting document number display in purchase order history tab
Is it possible to display the accounting document number in the purchase order history tab? Currently it is displaying material document number for Good receipts and LIV (logistic invoice verification) document number for Invoice receipts against material document number colmn. We can get to the accounting document number by drilling into the LIV document number. We are looking for a way to display the accounting document number in the display screen of purchase order history tab instead of drilling down.
Is there an option to display accounting document number of the MIRO posting in ME23N , purchase order history tab?
Truly appreciate any help in this regard.Thanks for the response.
-
No accounting document created (?) for price change MR21
Dear All,
I'm facing a strange issue:
1. I changed the price of a material (MAP price control) in MR21.
2. After price change, on the Accounting view of material master both MAP shows the new value both stock value shows the proper value. So, it is OK.
3. When I want to check the document flow and I go to transaction CKMPCD, SAP doesn't show the belonging FI/CO documents when I click on 'Accounting Documents' button (error message: C+652)
4. If I check whether accounting document exists in FB03 I can find no accounting documents.
What might be the explanation for this? Why no accounting document has been created (the price change was big enough)?
(both qty & value update is set for material type for the valuation area and there's no problem in case of price change for materials with SP)
Thanks,
CsabaMB5L checks if values updated in MM and values updated thanks to FI document on G/L account are the same,
hep.sap.com
"Check if there are data inconsistencies in valuation between the Financial Accounting (FI) and Materials Management (MM) components. To do so, start the List of Stock Values: Balances (report RM07MBS, transaction code MB5L) for the last period of the fiscal year. Enter a company code on the initial screen and set the Totals only indicator. If the report finds differences, inform SAP using the SAPNet - R/3 Frontend (formerly OSS). You can continue processing your year end closing while SAP clears up the data inconsistencies. The creation of the balance sheet is the only thing that has to wait until after the inconsistencies are removed. "
Of course you can run this report in your case for current date.
If there are no inconsistency - it means that FI should be generated - check in FB03 all FI document created by you, please.
If you find no FI document create OSS message - FI account updated without FI document during MR21 price change.
Andrzej -
BAPI to Change an Accounting Document
Hi,
Is there a BAPI function module to Change an Accounting Document...?? Do let me know please.
If there is no BAPI, then please suggest a reliable function module which can change accounting Documents and capture messages (without dialog)
Regards,
AdityaHi,
I don't think there is a BAPI to change an accounting document.
One function module which comes close is FI_DOCUMENT_CHANGE but I am told this function module throws error messages on screen.
The only reliable solution would be to do a CALL TRANSACTION (in background mode) inside a custom RFC function module
Regards,
Aditya -
Account document parking in BDC with multiple records
Hi,
I am writing one BDC program to park document( not posting the document) using transaction u2018FBV1u2019.In the file, we can have multiple item for posting key 40 and single item for posting key 50 and vice-versa. We can have multiple item both for posting key 40 and 50. But the summation of all amount of all record for posting key 40 and 50 should be u20180u2019( for debit and credit).All these multiple records is actually creating one account document.
I have created the recording and written the BDC program, but I hope I am missing the grouping of records for posting key 40 and 50 for single document number. Can pls guide me for the same. If anyone has encountered such problem, can you pls guide me for the same. If you haave the code for BDC, please send me the same.
Edited by: amrita banerjee on Jun 20, 2008 12:53 AMHi amrita,
I do not understand what do you mean by grouping of records. Can you please explain.
Still for parking documents, the recommended solution will be to use the standard batch input program RFBIBL00.
Here is the sample psedo-code
*bgr00
wa_bgr00-stype = 0.
CONCATENATE 'FBV1' sy-uzeit+0(2) '_' sy-uzeit+4(2)
INTO wa_bgr00-group.
wa_bgr00-mandt = sy-mandt.
wa_bgr00-usnam = sy-uname.
wa_bgr00-start = sy-datum.
wa_bgr00-xkeep = space.
wa_bgr00-nodata = '/'.
MOVE wa_bgr00 TO wa_file.
APPEND wa_file TO it_file.
v_empty_indicator = wa_bgr00-nodata .
*bbkpf
PERFORM build_data CHANGING wa_bbkpf.
wa_bbkpf-stype = 1.
wa_bbkpf-tcode = 'FBV1'.
wa_bbkpf-bldat = wa_docheader-doc_date.
wa_bbkpf-blart = wa_docheader-doc_type.
wa_bbkpf-bukrs = wa_docheader-comp_code.
wa_bbkpf-budat = wa_docheader-pstng_date.
wa_bbkpf-monat = wa_docheader-fis_period.
wa_bbkpf-waers = 'USD'.
wa_bbkpf-xblnr = wa_docheader-ref_doc_no.
wa_bbkpf-bktxt = wa_docheader-header_txt.
MOVE wa_bbkpf TO wa_file.
APPEND wa_file TO it_file.
*bbseg
LOOP AT it_accntgl INTO wa_accntgl.
CLEAR wa_bbseg.
PERFORM build_data CHANGING wa_bbseg.
READ TABLE it_curramount INTO wa_curramount INDEX wa_accntgl-itemno_acc.
wa_bbseg-stype = '2'.
wa_bbseg-tbnam = 'BBSEG'.
wa_bbseg-zuonr = wa_accntgl-alloc_nmbr.
wa_bbseg-newbk = wa_accntgl-comp_code.
wa_bbseg-wrbtr = wa_curramount-amt_doccur.
wa_bbseg-kostl = wa_accntgl-costcenter.
wa_bbseg-aufnr = wa_accntgl-orderid.
wa_bbseg-hkont = wa_accntgl-gl_account.
wa_bbseg-prctr = wa_accntgl-profit_ctr..
wa_bbseg-projk = wa_accntgl-wbs_element.
IF wa_curramount-amt_doccur LT 0.
wa_bbseg-newbs = '40'.
ELSE.
wa_bbseg-newbs = '50'.
ENDIF.
MOVE wa_bbseg TO wa_file.
APPEND wa_file TO it_file.
ENDLOOP.
DATA: l_filepath TYPE eseftappl.
CONCATENATE '/tmp/FBV1_load' sy-uzeit '.txt' INTO l_filepath.
*write app file for rfbibl00
PERFORM write_data_appl USING it_file l_filepath.
*Submit the data to post the document
SUBMIT rfbibl00 WITH ds_name = l_filepath
WITH fl_check = ' '
WITH callmode = 'C'
WITH xinf = 'X'
AND RETURN.
form build_data changing pv_header TYPE any.
DATA:
v_field(3) TYPE n.
FIELD-SYMBOLS <fs_field_value> TYPE ANY.
v_field = 1.
DO.
ASSIGN COMPONENT v_field OF STRUCTURE pv_header TO <fs_field_value>.
IF sy-subrc = 0.
* if the field is empty then fill it with nodata indicatort
IF <fs_field_value> IS INITIAL.
<fs_field_value> = v_empty_indicator.
ENDIF.
v_field = v_field + 1.
ELSE.
EXIT.
ENDIF.
ENDDO.
endform. " build_data
form write_data_appl USING pv_file TYPE ty_t_filedata
pv_file_path TYPE eseftappl.
DATA:
wa_file TYPE ty_filedata,
wa_return TYPE bapiret2,
v_msg TYPE string.
*Open the application server file
*and write the data
OPEN DATASET pv_file_path FOR OUTPUT
IN TEXT MODE ENCODING NON-UNICODE
MESSAGE v_msg.
IF sy-subrc = 0.
* write the file to the application server
LOOP AT pv_file INTO wa_file.
TRANSFER wa_file TO pv_file_path.
ENDLOOP.
CLOSE DATASET pv_file_path.
ELSE.
message e000(00) with v_msg.
ENDIF.
endform. " write_data_appl
Thanks
Romit -
BAPI to park G/L Account document with ledger
Hi Experts,
I have been looking for BAPI to park G/L account document with ledger (FV50L).
Can you please let me know, if you have know about it.
I have found the one for posting BAPI_ACC_DOCUMENT_POST, but It should not be used in our case.
It is park G/L account document without ledger.
Thank you in advance.
Kyongkeum Im.
Edited by: Kyoung Keun Im on Aug 13, 2010 1:11 PM
Edited by: Kyoung Keun Im on Aug 13, 2010 1:12 PMHi,
There is not function module for that. I am using BDC to park GL document. For BDC parking you can use Function module -
POSTING_INTERFACE_START and POSTING_INTERFACE_DOCUMENT.
Sample Logic:
Loop at header.
populate header.
loop at item.
populate item.
endloop.
call function POSTING_INTERFACE_START
call function POSTING_INTERFACE_DOCUMENT
call function POSTING_INTERFACE_END
BAPI COMMIT.
Endloop. -
Hello everyone,
I have a requirement where in i need to simulate and park a accounting documents using transactions FB01 and FBV1 respectively.I have following queries.
1) Can we use 'RFBIBL00' program for parking a document in FBV1 transaction.I have gone through the documentation of the program.It says 'No FB05 postings (posting with clearing), FBS1 postings (accrual/deferral documents), FBV1 postings (park document), nor postings with special G/L transactions can be generated.'
If so, Is there any other method to park the accounting documents other than BDC.
2)Is there any BAPI available for simulating the accounting documents in FB01.
Can we use 'BAPI_ACC_GL_POSTING_CHECK' or 'BAPI_ACC_GL_DOCUMENT_CHECK'
If not, please provide me with any other method to simulate the accounting documents.
Please clarify me on above points. Thanks in advance
Regards,
JalendharHi,
OSS message:
25.05.2007 - 11:38:41
A parked document with ACC-Bapis (bapi_acc_*) is not possible.
This interface is for posting only. It is completely different from
the manual posting and parking transactions, and its functionality
is limited in comparison.
In the documentation for this BAPI, there is also a reference to:
More informationen is available in the Interfaces to Accounting documentation in the R/3 Library (under Cross Application Functions ->
Interfaces to External Systems).
xxxxxxx
Support Consultant
Global Support - Financials
Hope this helps some other person who wants to know.
(Maybe I'm only one of a few people that would like to use a BAPI to park accounting documents, but it would probably be helpful to know if there are more. If you ever needed or now need this functionality please post a reply to this message.)
Check the below theard
https://forums.sdn.sap.com/click.jspa?searchID=3300169&messageID=3475534
If yoy are working BAPI for Parking non-PO Invoices
Re: BAPI for Parking non-PO Invoices?
<b>Reward points</b>
Regards -
MIRO - Parked document - Accounting document
Dear all,
When parking document with transaction MIRO, I would like that no accounting document is created, just logistic one.
(up to now my research show that when it happens it is likely an error).
Do you think it's possible (user-exit, Badis, ...) ?
Thanks for your help.
Best regards.
Didier GOBLET.Is there any Business reason you want to hide the accounting document.It is not possible not to display accounting document when you park.It will just show you what the the accounting entries gets generated.
-
Parking an accounting document - PRELIMINARY_POSTING_FB01
Hello experts,
We are using FM PRELIMINARY_POSTING_FB01 to park accounting documents. We are able to successfully park accounting documents using this FM but when we try to post the parked document using this FM, we are getting an error based on missing exchange rate in exchange rate table. Not sure what we are missing or if we are passing wrong/insufficient values to the FM. Can someone who has used this FM before provide sample code for this FM. Thanks.As far as I understand this FM, this FM can only be used for parking a document. You can however post the parked document using the FM PRELIMINARY_POSTING_POST_ALL. The code for how to use this FM can be found in the business object FIPP method POST.
Please do let me know if this helped you.
Regards,
Hari -
Change Accounting Document FB02 without BDC
Hi All,
I want to created ABAP program for Change Accounting Document Information like transaction FB02.
but i dont want to use BDC, cause i don't want to give user authorization FB02,
Can somebody give me the solution.
Best Regards,
FerryHi,
Use the concept of Transaction variants.(Transaction SHD0) You need not copy the standard program for FB02, Just create a transaction variant for FB02 and assign a custom transaction code(also called variant transaction) to access the transaction
Also you can assign authorizations for the custom transaction.
Using transaction variant, you can hide some fields(business critical), input disable, make mandatory and default some values on the screen fields of FB02.
Also note: If you active the transaction variant as Standard variant, then when ever you call FB02, the transaction variant is called with the screens(of the transaction variant)
Documentation for transaction variants is available in SHD0 -> Application tool bar -> icon
Hope this helps
Regards
Shiva -
BAPI to Park the Account document
Dear All,
I need a BAPI to PARK an account document. Will you please help me out in finding the exact BAPI for this.
Thanks in advance,
Ranjancheck this BAPI and its documentation
<b>BAPI_INCOMINGINVOICE_PARK</b>
regards
Prabhu -
Error in Accounting document Posting using - BDC
While creatind document in FB01 using BDC
PERFORM fill_dynpro_fields1 USING:
co_true co_program '0100' lit_bdcdata,
space 'BKPF-BLDAT' it_bkpf-bldat lit_bdcdata,
space 'BKPF-BUDAT' it_bkpf-budat lit_bdcdata,
space 'BKPF-BLART' tp_type1 lit_bdcdata,
space 'BKPF-BUKRS' it_bkpf-bukrs lit_bdcdata,
space 'BKPF-WAERS' it_bkpf-waers lit_bdcdata,
space 'BKPF-XBLNR' it_bkpf-xblnr lit_bdcdata,
space 'RF05A-NEWBS' lco_postkey lit_bdcdata,
space 'RF05A-NEWKO' it_bseg-kunnr lit_bdcdata,
space 'BDC_OKCODE' co_intro lit_bdcdata,
co_true co_program '0301' lit_bdcdata,
space 'BSEG-WRBTR' it_bseg-wrbtr lit_bdcdata,
space 'BSEG-ZTERM' it_bseg-zterm lit_bdcdata,
space 'BSEG-SGTXT' it_bseg-sgtxt lit_bdcdata,
space 'RF05A-NEWBS' lco_postkey1 lit_bdcdata,
space 'RF05A-NEWKO' it_bseg-kunnr lit_bdcdata,
space 'BDC_OKCODE' co_intro lit_bdcdata,
co_true co_program '0301' lit_bdcdata,
space 'BSEG-WRBTR' it_bseg-wrbtr lit_bdcdata,
space 'BSEG-ZTERM' it_bseg-zterm lit_bdcdata,
space 'BSEG-SGTXT' it_bseg-sgtxt lit_bdcdata,
space 'BDC_OKCODE' co_intro lit_bdcdata.
I am getting message like bseg-wrbtr input value is longer than screen field. but i have declare it as same type as above space 'BSEG-WRBTR' it_bseg-wrbtr lit_bdcdata,
Can you help me.
Always use proper subject lineHi Vijay ,
I have one more problem regarding same please help me.
In the program i am calling the transaction FB01 twice and two different document is created of SA and DA type.
After the program is executed i can only see the DA document created log message. But the SA document(message) is getting suppressed but the document is getting created .
How can i get the both document no at a time once i run the program. -
Invoice & Accounting Document Number
Dear Experts,
We are facing number range problem. When we are saveing an invoice then Invoice number and accounting document number showing different. It should come same number. Can you pls advice why this is happening and how I can resolve this issue.
Thanks in advance for your kind support.
Best Regards.
Ripon Kumar PaulDear Ripon,
Please check the below which will help you achieve same document number:
SAP gives you customizing options to make both document numbers the same. The solution lies in the number range assignment of the MM and FI document. You need to configure the MM document number assignment as internal and external for the FI documents. (FI documents are set up with external-assigned numbering, while the MM document has internal, or system-generated, numbering.) In this case, the MM document number is passed on to the FI document, which means that the number of the FI document is identical to the MM document.
Because the document number assignment in MM is not company code-specific, in contrast to the FI document, you need to take the following points into consideration before using external document number assignments for FI documents. They have the following effects on your system:
Continuous number assignments for FI documents are not guaranteed, especially if you have more than one company code.
The document number ranges in MM and FI have to be the same for all company codes.
In Release 4.6C, you need to use internal number assignments for revaluation documents, invoice reduction documents, Evaluated Receipt Settlement (ERS) postings, or reversal documents. There are no restrictions as of SAP Enterprise 4.70.
Use a different number range assignment for FI invoice posting (FB60), because FI invoice postings usually use internal number range assignments and the postings originate in FI, not MM.
If you use document parking and the number range intervals are fiscal year-dependent, you cannot change the posting date of the document if the fiscal year is different to that determined for the previous posting date. In this case you have to delete the document and re-enter it. There are no restrictions for fiscal year-independent number ranges.
What do you do if you have already posted thousands of invoices in your system and the numbers are already different? In this case, you need to find unused number range intervals in MM and FI. Since most companies do not change the SAP standard delivered number ranges during the original implementation, number range interval 52 is usually available in MM and FI.
Now let's look at the detailed customizing steps. With the following customizing steps, you can align the MM and FI document numbers going forward only. No fix is available for invoices already posted in your system, since SAP does not allow the change of document numbers.
Step 1. Maintain FI document number range. Use transaction OMR4 and go to Number range for document types in FI. Select the company code for which you want to create the new number range interval and click on the change interval button. Insert a new document number range by clicking on the insert interval button on top of the screen. In this example, I created number range interval 52 with the document numbers 5200000000 u2013 5299999999. Don't forget to set the external number range check box (Ext).
Step 2. Assign FI number range to FI document types. The second step is to assign the number range created in step 1 to the FI document type for invoices. Again use transaction OMR4 and go to Document type. Double-click on the document type, which you are using for LIV invoices. In my example, I used the SAP standard document type RE. In the number range field, assign the new number range interval 52.
Thanks!!!
Murlidhar Khatri
Maybe you are looking for
-
Hi All, We want to send an HTTP post with parameters, and we are not sure how to do that. We tried to do that like the code below,but we get the parameters in the body and not in the header ... DATA lo_client TYPE REF TO if_http_client. D
-
Preloader does not show up until 90% loaded
Hi, I'm creating a tutorial with voice over and the voice over is an mp3 file and I've checked the 'Export in First Frame' option... and every thing works perfect... on my local machine... Where as when I access the files on the web.. my preloader do
-
Sync 'unwatched only' TV Shows syncs all TV Shows
I have been trying to set my iphone to only sync unwatched TV shows, but it still syncs all my tv shows. I looked further at the TV shows in my Library and although there was only one episode with a blue dot indicating it as new, I actually had to ri
-
I'm thinking of buying a new camera. Does anyone know if can I process RAW images from a Nikon D5100 or Nikon D3200 using IPhoto on a OSX 10.5.8?
-
I'm using QuickTime with my webcam, but it's rather unusabe because the control panel is permanently visible (I need a small window where the CP takes about 15%): Is there a way to turn the CP off and only display the picture? Thanks!