PRELIMINARY_POSTING_FB01 Cuatomer Expenses Park
Hi Experts,
We are trying to use mentioned FM to park customer expenses in SAP. Required entry as follows.
Expenses Account Dr.......
To Customer Account ........Cr.....
While using the mentioned FM,docuemnt has been parked and saved in VBKPF table but not in VBSEGD table. Kindly help me in this regard.
Rgds
Suma
Closed
Similar Messages
-
PRELIMINARY_POSTING_FB01
I can use the function 'PRELIMINARY_POSTING_FB01' to generate parked account document, it need to be posted by transaction 'FBV0' manually, but how can it be posted automatically thru this function or other one, please advise, thanks!!!
If you don't find any FM, try with this little BDC:
PERFORM comptabiliser-annuler
USING '=STER'.
modus = 'N'.
CALL TRANSACTION 'FBV0'
USING bdcdata
MODE modus.
IF sy-subrc EQ 0.
*& Form COMPTABILISER-ANNULER
text
-->BDC_OKCODE text
FORM comptabiliser-annuler
USING p_okcode TYPE okcode.
REFRESH bdcdata.
Dynpro 0100
PERFORM bdc-dynpro
USING 'SAPMF05V' "Program SAPMF05V
'0100'. "Dynpro 0100
PERFORM bdc-field
USING 'BDC_OKCODE' "Okcode - ENTER
'/00' '' ''.
PERFORM bdc-field
USING 'RF05V-BUKRS'
t9fac_h-bukrs '' ''.
PERFORM bdc-field
USING 'RF05V-BELNR'
t9fac_h-belnr '' ''.
PERFORM bdc-field
USING 'RF05V-GJAHR'
t9fac_h-gjahr '' ''.
Dynpro 0700
PERFORM bdc-dynpro
USING 'SAPLF040' "Program SAPLF040
'0700'. "Dynpro 0700
PERFORM bdc-field
USING 'BDC_OKCODE' "Okcode - Book
p_okcode '' ''.
ENDFORM. " COMPTABILISER-ANNULER
Nota: the fields called t9fac_h- are part of one of my application tables -
How come I have 2 different Apple Store Apps on iPad mini?
i Noticed that for some reason I have 2 different Apple Store apps on my iPad mini. I think this may have somehow happened when I upgraded to iOS 8.3.
One has has image of shopping cart the other has image of I guess a shopping bag. Not sure why the newer one didn't just replace the older one.
I Guess the one w the shopping bag is the newer one & it looks like it only retained orders for the last 18 mo, saying I have none.
I Wasn't wxpecting that it would lose the prior history, including purchase info for this iPad mini & my MacBookPro.
THe one w the shopping cart image seems to just refer to the newer 1 asking to go there. Don't see any other options. Confused by this.
IOs 8.3TTry re-reading my post. Apparently the one showing the shopping cart is the old Apple Store app.
Both of them I was asking about say Apple store--not App Store. TThat is a separate app.
& Actually in the past, when there was an Apple Store more conveniently located to where I lived, I was able to use the Apple Store app to make in-store purchases at the brick & mortar Apple Store.
i Never tried using it for online purchases. But in CA there were 2 Apple stores w in about 15 min drive of where I lived. Not so in the Portland, OR area. Well, downtown might be 15 min away & then expensive parking or taking public transportation.
this seems to have happened when I upgraded to iOS 8.3. -
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 -
Parking documents using PRELIMINARY_POSTING_FB01
Hi,
I am a writing a custom program to park documents through FBV1. Here I using PRELIMINARY_POSTING_FB01. But as it doesn't have a return table of type bapiret, I am not able to catch the messages. Once an error message comes, it is exiting from the program itself. But I need to save the error messages. How will I do this ?Hi,
I think that FM PRELIMINARY_POSTING_FB01 is for internal use only and was created just to be called from transaction FB01. I do not thing there is some way how to get error messages and supress terminating a program, because there are error messages without raising any exceptions. I have not found a BAPI for parking documents. The best way to solve your issue is probably creating a batch input. It should be easy. If You want still to use FM PRELIMINARY_POSTING_FB01 , the only idea I have is a little bit complicated. You can call FM in background task, wait until job finishes and than read a job jog to get messages. But I do not think it is a good looking solution, but by this You can achieve that You will be able to get messages of FM without terminating a program. There are some other threads about BAPIs for parking documents:
FM/BAPI for Parking a document ( FBV1 )
BAPI to PARK accounting document
FB01 and BAPI_ACC_DOCUMENT_POST
Regards,
Adrian -
PRELIMINARY_POSTING_FB01 not parking document
Hi All,
I am trying to use the BAPI 'PRELIMINARY_POSTING_FB01' to park a document the way we park using FV60 and for this I have written the following code but when I run this program and put the breakpoint after the I call the BAPI but it's not doing anything and just returning back to the program. Can you please help me with this what i am doing wrong here.
data: lt_bkpf type table of bkpf,
ls_bkpf like line of lt_bkpf,
lt_bseg type table of bseg,
ls_bseg like line of lt_bseg,
lt_bsec type table of bsec, "not used, required for call
lt_bset type table of bset, "not used, required for call
lt_bsez type table of bsez, "not used, required for call
p_return LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
* Invoice header structure - BKPF table
ls_bkpf-bukrs = '001'.
ls_bkpf-blart = 'KR'.
ls_bkpf-bldat = sy-datum.
ls_bkpf-budat = sy-datum.
ls_bkpf-usnam = sy-uname.
ls_bkpf-tcode = 'FV60'.
ls_bkpf-glvor = 'RFBU'.
ls_bkpf-xblnr = 'test doc'.
ls_bseg-wrbtr = '100'.
* Set posting key and d/c indicator based on amt_doccur
if ls_bseg-wrbtr > 0.
ls_bseg-bschl = '31'."Posting Key 31=Vendor Invoice
ls_bseg-shkzg = 'H'. "D/C indicator H=Debit
else.
ls_bseg-bschl = '21'."Posting Key 21=Credit Memo
ls_bseg-shkzg = 'S'. "D/C indicator S=Credit
endif.
* local currency not required for header
ls_bseg-pswsl = 'USD'.
ls_bkpf-waers = 'USD'.
* Do not clear out ls_bkpf - needed for vendor line item
append ls_bkpf to lt_bkpf.
clear ls_bkpf.
* Vendor line item - required even for header only - BSEG table
ls_bseg-buzei = '001'.
ls_bseg-bukrs = '001'.
ls_bseg-gjahr = '2010'.
ls_bseg-augdt = sy-datum.
ls_bseg-koart = 'K'. "Account Type -> K for Inv and CM
ls_bseg-lifnr = '1234567'.
"G/L Account information defaulted from vendor
ls_bseg-saknr = '0000999999'.
ls_bseg-hkont = '0000999999'.
append ls_bseg to lt_bseg.
clear ls_bseg.
call function 'PRELIMINARY_POSTING_FB01'
exporting
i_tcode = 'FV60'
I_XCMPL = 'X'
I_TCODE_INT = 'FV60'
tables
t_bkpf = lt_bkpf
t_bseg = lt_bseg
t_bsec = lt_bsec
t_bset = lt_bset
t_bsez = lt_bsez
exceptions
error_message = 1.
p_return-id = sy-msgid.
p_return-type = sy-msgty.
p_return-number = sy-msgno.
if sy-subrc = 0.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
endif.Hi,
Try like this
CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
EXPORTING
fs006_fb01 = wa_fs006
i_tcode = c_fb01
i_tcode_int = c_fb01
TABLES
t_bkpf = i_bkpf
t_bseg = i_bseg
t_bsec = i_bsec
t_bset = i_bset
t_bsez = i_bsez
EXCEPTIONS
error_message = 1. -
Posting a document using FM PRELIMINARY_POSTING_FB01
Hello Experts,
I know we can FM PRELIMINARY_POSTING_FB01 to PARK a Document. But I think we can also use this FM to Post the Document. The reason I want to use this FM, not other BAPI's, is I have all the structures (BSEG, BKPF, BSET etc) that I needed to populate. So I passed I_XCMPL = 'X'. However, it still Parked the Document not Posted.
Can anybody please let me know what I missed?
Thanks a lot. Sadly this FM does not have any documentation.
Here's my code:
w_bkpf-bukrs = p_bukrs.
w_bkpf-gjahr = p_gjahr.
w_bkpf-blart = p_blart.
w_bkpf-bldat = p_dat.
w_bkpf-budat = p_dat.
w_bkpf-monat = '01'.
w_bkpf-cpudt = p_dat.
w_bkpf-cputm = sy-uzeit.
w_bkpf-wwert = p_dat.
w_bkpf-usnam = sy-uname.
w_bkpf-tcode = 'FB01'.
w_bkpf-xblnr = 'ZTEST1'.
w_bkpf-waers = p_waers.
w_bkpf-glvor = 'RFBV'.
w_bkpf-ausbk = p_bukrs.
w_bkpf-bktxt = 'TEST'.
append w_bkpf to t_bkpf.
w_bseg-bukrs = p_bukrs.
w_bseg-gjahr = '2010'.
w_bseg-bschl = '40'.
w_bseg-koart = 'S'.
w_bseg-shkzg = 'S'.
w_bseg-dmbtr = '2000.00'.
w_bseg-wrbtr = '2000.00'.
w_bseg-pswsl = p_waers.
w_bseg-altkt = '0001298232'.
w_bseg-vorgn = 'RFBU'.
w_bseg-kokrs = 'ABC'.
w_bseg-xkres = 'X'.
w_bseg-hkont = '0001298232'.
w_bseg-saknr = '0001298232'.
w_bseg-lifnr = '0000100000'.
w_bseg-zterm = 'CN30'.
w_bseg-projk = '00001111'.
append w_bseg to t_bseg.
CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
EXPORTING
* TEXT_UPDATE = ' '
* TEXT_ITEM_UPDATE = ' '
* I_UF05A =
I_XCMPL = 'X'
* FS006_FB01 =
I_TCODE = 'FB01'
* I_PARGB =
* I_TCODE_INT =
* IMPORTING
* XEPBBP =
TABLES
T_BKPF = t_bkpf
T_BSEG = t_bseg
T_BSEC = t_bsec
T_BSET = t_bset
T_BSEZ = t_bsez
* T_BKORM =
* T_THEAD =
* T_SPLTTAB =
* T_SPLTWT =
EXCEPTIONS
ERROR_MESSAGE = 1.Hi,
Thanks for the response. I wanted to check the FM which gets triggered in the BTE. However I could find one in FIBF.
Can you please let me know if you have any documentation on FM PRELIMINARY_POSTING_FB01? That would help me understanding its functionality.
Thanks a lot.
Should I use "IN UPDATE TASK" when calling this FM? Thanks.
Edited by: lope jie on Apr 28, 2010 8:10 PM -
Change of local currency amount in park document
Dear SAP Experts,
I have some queries regarding the local currency in parked document.
Here are the steps to generate the issues:
1. Enter vendor invoice using FB01 tcode. E.g the company code currency is MYR, then change the document currency to USD. Maintain both debit and credit leg for the document. Please enter more than one expense account with different amount at debit side.
Enter the amount in document currency (in this example is USD) field and enter. System will populate the local curreny (in this case is MYR) based on the table currenct updated in the system.
At this point, the local currency (MYR) need to be changed based on user's requirement. In this case,they will be some deviation of currency rate since user has manually entered the desired amount for local currency.
2. Park the document once finished.
3.Goto transaction FBV0 and open the parked document.
4. You can see the ammended local currency amount still populated correctly in local currency field.
5. Post parked document.
6. Display the document posted and see that the local currency amount has been changed to the amount based on table rate in system.
Queries:
a. Is there any way to make sure that the ammended amount would not be changed after the document has been parked and then get posted? Please be informed that this scenario would not happened if the document is directly being posted without parked.
b. If the exchange rate at document header is being changed based on the desired amount of local currency, this would not be an issue. Since the requirement is only to change the local currency amount at GL level and not at Vendor line item. But at the end the total ammended amount at GL level has to be equal to the vendor total amount. how to resolve this issue? Can standard SAP process/configuration can catered this scenarios..?
Thanks a lot for you help.
Your kind cooperation is highly appreciated.
Kind regards,
YuzeilaHi SAP experts ,
My situation is the same - to park GL documents by uploading from a file and then edit the local currency amount if necessary.
However in my case we have an excel sheet generated from an external system and our users want to upload them and park all the journals at a single time.
We are using RFBIBl0 direct input program to upload the file and park then transaction using FBV1. Alll the documents are parked with the data as in the excel sheet.
Next step is that the users go to FBV0 to edit the parked documents and sometimes it is required to change the local currency based on the current exchange rate and then post the journal .
However when the parked documents are edited using FBV0 the local currency amount entered by the user is ignored and the system still overwrites it with the system calculated amount .
b. As per your suggestion - I cannot use FV60 using direct input program as FV60 transaction is not supported.
Please can you suggest if there is any way to park the Gl documents in background from a file and then edit the parked documents as required i.e change amounts and other fields.
You help is much appretiated.
Thanks and Regards,
Aarthi -
Default Value in Number field in Travel Expense Report
Dear All
I have a requirement from my client's side. In the Expense Report, when I coose an expense receipt, say for TAXI, I get a value in the field "Number". I know that the value can be configured or defualted based upon the "From" and "To" date.
My client needs the number field to get defaulted, based on the "Expense Receipt" chosen. For example if somone chooses "Parking Fees" the number field should get defaulted automatically by the value 3 and if somone chooses "Telephone Expenses" the number field should get defaulted automatically by the value 2.
Is there in any user exit or anything that takes care of this?You may take your ABAPer's help to enhence the report.it would be small change.Might be you need access key for this change from your Basis team.
-
I only edit videos every few months and the last time I edited a video was around 6-9 months ago. At that time, I noticed AME was only using a single core of the CPU and contacted Adobe who instructed me to disable core parking, which worked. After disabling core parking AME used 100% of all 12 logical cores to process the video and all was good. Then last week, I decided to edit another video and noticed AME was very slow and checked and it was again only using a single core to process the video, but core parking is still turned off. By slow I mean that a 10 minute video with the lens distortion correction preset and one video transition effect is estimated to take nearly 3 hours to complete. For comparison, the GoPro software processed the same clip with the same effects in 20 minutes. Also, through troubleshooting with Adobe over the last few days, I have also tried downloading previous versions of the software but the prior versions have the same issue.
The video I'm trying to edit was shot on a GoPro Hero 4 Black with 1080p Wide at 60 frames per second. The default video format for GoPro is .mp4. The output settings I'm using when I export from Premiere Pro to AME are H.264 with the YouTube 1080p HD.
My system:
ASUSSabertooth X79
Intel core i7 4930k (6 physical cores, 12 logical cores)
16GB DDR3 Quad channel RAM
Samsung 830 SSD 128GB
NVIDIA GeForce GTX 460 (not CUDA compatible, I know)
Please ask if you need any additional information to help solve this problem.This has been driving me CRAZY... so going over the message boards from 2 to 5 am this morning I found the best explanation I have seen. The problem is that Adobe Creative Cloud is NOT "Processor Group Aware". Windows parses any more than 36 cores into "Processor Groups" and while the Pro version of Windows 7 & 8 can handle 256 threads they have to spread them across multiple processor groups.
Simple Version: AREA | How many cores does 3ds Max support?
Microsoft's Explanation: Processor Groups (Windows)
Clearly, this is an Adobe Problem... If any engineers are reading this PLEASE review the below and incorporate it into your next build of Creative Cloud!!!
https://msdn.microsoft.com/en-us/library/windows/hardware/dn653313%28v=vs.85%29.aspx
Again, I bought a VERY expensive machine based on your white paper that recommended Dual Xeon Workstations. Please, Please Give us the product you PROMISED!!!
Michael -
Possible to parking payment entry ( Ex.vendor payment and customer payment)
Hi Masters
Are you possible to parking payment entry , payment paid to vendor and payment received from customer if there any configuration or guide me how to parking payments.
Regards
SelvaHi Javeed,
I thought wrongly you understand my question, Normally parking for sales invoice (T.code: F-22 Or FB70) purchase invoice (T.Code.F-43 Or FB60), General expenses entry (T.code: F-02). Normally the above documents park T.Code: FBV0,
my question is payment paid to vendor (T.Code: F-53) and payment received from customer (T.code: F-28), payment entry we can possible to parking.
If possible what T.code? or any configuration there tell me.
Thanks & regards
Selva. -
Parking Vendor payment / customer payment
Hi Gurus,
Is it possible to park vendor / customer payments ? As FV60 & FV70 are available for parking vendor and customer invoices is there a similar functionality available to park payments.
We have already configured workflow. But the problem is, workflow is triggered only when the document is parked and as there is no parking facility available in payments the same cannot be done. So workflow is functional only in invoice parking and posting.
Kindly let me know the solution.
Rgds
NikitHello Nikit,
Due to the payment is only for a inovoice,unfortunately the functionality you required is not existed in the SAP standard.
Alternatively you could post a credit memo dodument like below:
revenue 1000 / customer 1000 or vendor 1000/ expense 1000,
by using FV75 or FV65, then clear them in clearing transaction code( FB1K, FB1D....).
Best Regards,
Gladys xing
Edited by: Gladys Xing on Jul 12, 2009 10:26 AM -
Line item and Ledger item difference when parking through BAPI
Hi Friends ,
I have a BAPI for parking the documents in SAP from another system.This BAPI is using the function module PRELIMINARY_POSTING_FB01 to park the documents.But when I park the documents using this BAPI and post the document manually the line item number and ledger item number in the document are posted differently. ie . for line item no 1 ledger item is 24 .But when I am posting it directly it is same.Lot of other programs in our R/3 system is dependent in this logic.Can anybody help me in finding out the reason for this ?
Thanks in advance ,
JobyHello,
Which BAPI you are using. Use BAPI_INCOMINGINVOICE_PARK. -
Hi Experts,
I would like to make a program to Park JV documents using f-65, from forums i found we can do this using : FM "PRELIMINARY_POSTING_FB01".
I Have postings keys as in
GL : 40 , 50
AP:21,31,29,39,26,36
Please suggest weather i can do the task using FM or shall i nee to go for BDC fo cover all scinarios with above GL keys and special G/L indicators.
Anyone with code where I can refer please post it.any other way to do it.
Kindly give your suggestions.
Thanks
sivaramHi suresh,
Yes but that is For Posting JV not for Parking JV ,
I came to know from forum that we cannot park using BAPI,
so i raised if anybody has a BAPI which can park or shall I have to continue with the BDC.
any suggestions ,please le me know.
thanks
sivaram arigela -
Bapi for FB60 - Park an invoice
Hi gurus,
Im trying to park an invoice in transaction FB60. i allready tried an batch inout but it's giving me an error, that i can't park an invoice using a batch input in transaction FB60... Don't know why, if someone can explain me why i cant park using an batch input i'll be appreciated..
Anyway , is it any bapi that i can use to park an invoice to transaction FB60??
Thanks in advance,
Best RegardsI worked with the FV60 transaction and able to park the invoice successfully by batch input method. I am pasting the sample code. Try with the below code::
Populating the Header Details
PERFORM bdc_dynpro USING 'SAPMF05A' '1100'.
PERFORM bdc_field USING 'BDC_OKCODE' '/ECCDE'.
PERFORM bdc_field USING 'INVFO-ACCNT' pv_vendor.
MOVE pv_invoice_date TO lw_date.
WRITE lw_date TO lw_fdate.
PERFORM bdc_field USING 'INVFO-BLDAT' lw_fdate.
PERFORM bdc_field USING 'INVFO-XBLNR' vendor_invoice.
IF pr_posting_date IS INITIAL.
MOVE sy-datum TO pr_posting_date.
ENDIF.
CLEAR: lw_date, lw_fdate.
MOVE pr_posting_date TO lw_date.
WRITE lw_date TO lw_fdate.
PERFORM bdc_field USING 'INVFO-BUDAT' lw_fdate.
PERFORM bdc_field USING 'INVFO-SGTXT' pv_text.
PERFORM bdc_dynpro USING 'SAPLACHD' '1000'.
PERFORM bdc_field USING 'BDC_OKCODE' '=ENTR'.
PERFORM bdc_field USING 'BKPF-BUKRS' pv_bukrs.
Populating the Item Details
LOOP AT pr_item_details INTO fs_item_details.
IF sy-tabix NE 1.
PERFORM bdc_dynpro USING 'SAPMF05A' '1100'.
PERFORM bdc_field USING 'BDC_OKCODE' '=0005'.
PERFORM bdc_field USING 'ACGL_ITEM-MARKSP(01)' 'X'.
ENDIF. " If sy-tabix...
PERFORM bdc_dynpro USING 'SAPMF05A' '1100'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'ACGL_ITEM-HKONT(01)'
fs_item_details-expense.
PERFORM bdc_field USING 'ACGL_ITEM-WRBTR(01)' lw_amount.
PERFORM bdc_field USING 'ACGL_ITEM-MWSKZ(01)' pv_tax.
PERFORM bdc_field USING 'ACGL_ITEM-KOSTL(01)' pv_costcenter.
PERFORM bdc_field USING 'ACGL_ITEM-SGTXT(01)'
fs_item_details-item_text.
lw_totamount = lw_totamount + lw_amount.
ENDLOOP.
lw_totamount = lw_totamount + lw_taxamount.
PERFORM bdc_dynpro USING 'SAPMF05A' '1100'.
PERFORM bdc_field USING 'BDC_OKCODE' '=PBBP'.
PERFORM bdc_field USING 'INVFO-WRBTR' lw_totamount.
PERFORM bdc_field USING 'INVFO-WMWST' lw_taxamount.
CALL TRANSACTION 'FV60' USING t_bdc_data
MODE lw_mode
UPDATE c_update
MESSAGES INTO t_bdcmsgcoll.
**ignore the variable used
Regards,
Kiran Bobbala
Maybe you are looking for
-
Sync "Purchased Playlist" to iphone and ipad
I am having problems getting my purchased playlist to sync to my iphone and ipad. Right now I did something and the playlist exists, but has no songs. HELP!!!
-
ORA-39083,ORA-00959: tablespace 'TEST_LIVE' does not exist
Hi, I am trying to import using impdp but i am facing the below mentioned error.. Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Maste
-
I have purchased several movies from iTunes. Since most of the times these movies are played on my APPLETV. However from time to time the children want to watch the movies in their room. I can not find any menu option that will allow me to burn purch
-
Can't get viewing card to work! Sky Sports. 'VCN i...
Card arrived tuesday, but doesn't seem to work.....inserted right way up, in slot for over an hour on Sky sports channel, tried to activate online.... Keeps saying 'VCN is not the current card for support' .... Pls help as am really fed up now. What
-
Load details into a Sheet to run in subquery
Hi guys Is there a way to get a list of values i.e. references from a column in excel into a Disco sheet to run them as a subquery on a 2nd sheet? I have stacks of references and need to do a select for the values in that custom table. Thank Johan