999 Line items for bdc f-02
Hi experts,
I have one validation its like suppose if u have 999 line items then that record should b closed and the both +ve, -ve values should be equal to 0 n new record should start again.
if any body can help me in this regard then i will b thankful to them.
Regards
Bohra
Because there may be automatic entries created, you shouldn't go to 999 entries. It should be OK to use 950.
Let's say you have 1100 entries. the first 950 total 10,000 credit. You create the first transaction with 950 entries and then an entry to a control account for 10,000 debit. Then another transaction with the remaining 150 entries and an entry to the same control account for 10,000 credit.
Rob
Similar Messages
-
How to upload a file which has more than 999 line item through BDC ?
Hello Techards
Hi to all
Can any body tell me how to upload a file which has more than 999 line item through BDC for traction F-02 ?
Thanks in advance.
ShovanHello Shovan,
You split it up to post two accounting documents with the help of a "suspense" a/c.
Say, you have to post the following line items below:
line 1 - dr. - GL a/c X - $1000
line 2 - cr. - GL a/c Y - $1
line 3 - cr. - GL a/c Y - $1
line 1001 - cr. - GL a/c Y - $1
You cannot post the above as a single doc in SAP (because of technical reasons), so you need to break it up into 2 documents as below:
Doc1
line 1 - dr - GL a/c X - $1000
line 2 - cr - GL a/c Y - $1
line 3 - cr - GL a/c Y - $1
line 998 - cr - GL a/c Y - $1
line 999 - cr - SUSPENSE a/c - $3
Doc2
line 1 - dr - SUSPENSE a/c - $3
line 2 - cr - GL a/c Y - $3
Note that there is no incorrect impact on accounting as first we credit suspense a/c by $3 and next we debit the same suspense a/c by $3 as a result the effect is nil. Similarly, we credit $997 to GL a/c Y (which is less by $3) in the first doc which is compensated by the second doc by crediting the shortfall of $3.
Hope this helps,
Cheers,
Sougata. -
Morethan 999 line items for vendor invoices
Hi All,
we had issue for an Invoice upload.
we are uploading the Invoice contains morethan 999 line items. but we are facing error for morethn 999 line items can't post when uploading thorugh ZFB60 transaction.
please advise if any SAP notes are exist or any idea.
Thanks and regards
Prathap
< Please search. >Hi,
What error you are getting? Can you tell me clearly....
Regards,
Mohan. -
More than 999 line items for an FI Document
Hello All,
Per SAP standard, an accounting document can only contain up to 999 line items. However, we have Logistics posting (Backflush) that would yield more than 999 line items in FI. We can't opt for setting summarization in transaction OBCY (FI Summarization based on Object Type) since this would affect GR/IR clearing. We can select reference transaction key MKPF (Material Doc Table) and table BSEG (Field MENGE <Qty>) but GR/IR clearing would be affected since definition of clearing is at Purchasing Doc (EBELN) and Item (EBELP).
Do you have other recommendations?
Thanks.Dear scorpio0485,
Yes ! I have already done posting for morethan 999 line items. but in the standard program we cant do it. We need to go for Z process.
In Zprocess we need to put one cut off line item for ex : 900 or 950. After that hardcode one GL code(clearing GL Code) in program to split the line items. Means the system generates 2 documents.
Please give the following Code to ABAPer
AT END OF xblnr.
mtab[] = ttab[].
CLEAR v_count1.
DESCRIBE TABLE ttab LINES v_lines.
LOOP AT ttab INTO wa_ttab.
v_tabix = sy-tabix.
v_count = v_count + 1.
IF v_count EQ 900.
count = count + 1.
v_count1 = v_count + v_count1.
MOVE-CORRESPONDING wa_ttab TO wa_xtab.
IF v_wtotal < 0.
wa_xtab-newbs = '40'.
wa_xtab-newko = '00003100001'.
ELSE.
wa_xtab-newbs = '50'.
wa_xtab-newko = '00003100001'.
ENDIF.
IF v_dtotal < 0.
wa_xtab-newbs = '40'.
wa_xtab-newko = '0003100001'.
ELSE.
wa_xtab-newbs = '50'.
wa_xtab-newko = '0003100001'.
ENDIF.
IF v_dtotal LE 0.
v_dtotal = v_dtotal * -1.
ENDIF.
IF v_wtotal LE 0.
v_wtotal = v_wtotal * -1.
ENDIF.
wa_xtab-prctr = '0000900008'.
wa_xtab-dmbtr = v_dtotal .
wa_xtab-wrbtr = v_wtotal .
If you need anymore,please let us know -
How to upload morethan 999 line items for a document?
if we need to upload more than 999 lines for a header.
How can we do that?hi,
you have to post like that
line P-key account value
Document 1001
898 40 123456 100
899 40 234567 200
900 50 333333 300-
Document 1002
001 40 333333 300
002 50 345678 250-
003 50 789654 50-
acc. 333333 is a interim account(in german: Zwischenkonto)
Message was edited by: Andreas Mann -
More than 1 line items in bdc using table controls for BOM
Hi....
how do u update more than one line item for BOM using BDC table control.......
is there any specific command for doing that.......
hav tried d following code bt it takes the flatfile i/p FOR 2 LINE ITEMS as 2 different BOM'S.....
would appreciate ur help....plz provide code.............
REPORT zbdc4_cs01
NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE bdcrecx1.
DATA : a TYPE i,
b type i,
c type i.
DATA : BEGIN OF it_rec OCCURS 0,
rec(200) TYPE c,
END OF it_rec.
DATA : BEGIN OF ctab OCCURS 0,
matnr(18),
werks(4),
stlan(1),
END OF ctab.
DATA : BEGIN OF xtab OCCURS 0,
idnrk(18),
menge(13),
postp(1),
END OF xtab.
DATA : BEGIN OF itab OCCURS 0,
matnr(18),
werks(4),
stlan(1),
idnrk(18),
menge(13),
postp(1),
END OF itab.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:/TEST4.TXT'
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = it_rec.
LOOP AT it_rec.
a = strlen( it_rec-rec ).
if a = 55.
itab-matnr = it_rec-rec+0(18).
itab-werks = it_rec-rec+18(4).
itab-stlan = it_rec-rec+22(1).
itab-idnrk = it_rec-rec+23(18).
itab-menge = it_rec-rec+41(13).
itab-postp = it_rec-rec+54(1).
APPEND itab.
elseif a > 55.
itab-matnr = it_rec-rec+0(18).
itab-werks = it_rec-rec+18(4).
itab-stlan = it_rec-rec+22(1).
itab-idnrk = it_rec-rec+23(18).
itab-menge = it_rec-rec+41(13).
itab-postp = it_rec-rec+54(1).
APPEND itab.
itab-idnrk = it_rec-rec+55(18).
itab-menge = it_rec-rec+73(13).
itab-postp = it_rec-rec+86(1).
APPEND itab.
endif.
ENDLOOP.
PERFORM open_group.
LOOP AT itab.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29N-STLAN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RC29N-MATNR'
itab-matnr. "'3000000107'.
PERFORM bdc_field USING 'RC29N-WERKS'
itab-werks. "'UN02'.
PERFORM bdc_field USING 'RC29N-STLAN'
itab-stlan. "'1'.
PERFORM bdc_field USING 'RC29N-STLAL'
PERFORM bdc_field USING 'RC29N-DATUV'
'11.08.2008'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0110'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RC29K-BMENG'
'1'.
PERFORM bdc_field USING 'RC29K-STLST'
'1'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29K-EXSTL'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0111'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29K-LABOR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0140'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29P-POSTP(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RC29P-IDNRK(01)'
itab-idnrk. "'1000000232'.
PERFORM bdc_field USING 'RC29P-MENGE(01)'
itab-menge. "'100'.
PERFORM bdc_field USING 'RC29P-POSTP(01)'
itab-postp. "'L'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0130'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29P-POSNR'.
PERFORM bdc_field USING 'RC29P-POSNR'
'0010'.
PERFORM bdc_field USING 'RC29P-IDNRK'
'1000000232'.
PERFORM bdc_field USING 'RC29P-MENGE'
'100'.
PERFORM bdc_field USING 'RC29P-MEINS'
'KG'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0131'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29P-POTX1'.
PERFORM bdc_field USING 'RC29P-SANKA'
'X'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0140'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29P-POSNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0140'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29P-POSNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=FCBU'.
PERFORM bdc_transaction USING 'CS01'.
ENDLOOP.
PERFORM close_group.Hi
Check this sample code for the Table Control in BDC:
data: fnam(20) type c.
move 1 to id.
loop at TI_STAGING WHERE VENDOR = IT_STAGING-VENDOR AND DOCDATE = IT_STAGING-DOCDATE.
concatenate 'RM06E-EPSTP(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-itmcategory.
concatenate 'EKPO-KNTTP(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-accassignment.
concatenate 'EKPO-EMATN(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-material.
concatenate 'EKPO-TXZ01(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-shortxt.
quan = ti_staging-poqty.
concatenate 'EKPO-MENGE(0' id ')' into fnam.
perform bdc_field using fnam quan.
concatenate 'RM06E-EEIND(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-deliverydate.
netpr = ti_staging-netpr.
concatenate 'EKPO-NETPR(0' id ')' into fnam.
perform bdc_field using fnam netpr.
concatenate 'EKPO-MATKL(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-mategroup.
concatenate 'EKPO-WERKS(0' id ')' into fnam.
perform bdc_field using fnam TI_STAGING-plant.
ID = ID + 1.
ENDLOOP.
Regards,
Vishwa. -
Need some help on workaround for more than 999 line items in a FI document
Hi all,
user would like to know if there is any way to increase the maximum # of lines for an FI document. Currently, as SAP only allows 999 lines per FI document. The user is encountering an issue when a taxable invoice is uploaded because SAP creates additonal lines for the taxes thereby increasing the line item count beyond the 999 limit. This causes the user to separate out the upload files into several different files which is very time consuming. i have read some replies from previous questions posted on this but none were clear enough on how to actually split the lines and what will happen after the split to the rest of the line items how is the continuation with the first document. can some one give me the explanation or steps on how we can do the split on this document please. we are on 4.6c version. if we have to write some code, what should i explain to the abaper? any kind of inputs would be greatly appreciable.
Thanks in Advance
JayHi,
From your comments, I understand that you are uploading the journals. The steps to handle 999 line items limitation is through functional and technical help.
1. create a dummy GL account
2. In the code, ask the abaper to have a logic such that if more than 900 lineitems (dont check for 999, as some auto postings will be done), then the balance should be loaded to the dummy GL account created and a document should be posted
3. Start reading the remaining docs and follow the same logic as in 2 and ensure that the posting happened in step 2 against dummy GL account should have reversal posting. That is, if step 2 dummy GL account has a credit balance then in step 3 against the same amount a debit entry for the GL account should be posted.
This will ensure that once all the line items are posted, the balance in dummy GL is Zero.
Regards,
Sridevi -
How to limit line items for 999
Hi Gurus
i heard that a standard setting should be there to all company codes to create a second accounting document as soon as the number of lines reaches 800 or above lines. Can you tell me where to check this settings ?
can you tell me the check on number of lines in the accounting document that is being generated.
kind regards
SunithaHi Sunitha,
As far as my knowledge goes, there is no specific configuration from FI side where you tell the system the maximum line items to be posted in a FI document. The limit of 999 is inbuilt in SAP programs. You have some options to summarise the line items in configuration.
SAP has given various notes on summarisation as well as problems we encounter when we post a document with more than 999 line items. In my experience, I have seen a second document being posted automatically when you have more line items with the 1st document containing 991 lines and where the second one has the rest of the lines.
Thanks
Aravind -
Incoming Payment - Posting more than 999 line items through EDI
Hi guys,
I having following issues.
1. incoming 820 is not posting into customer a/c even I configured processing - REMC but creating payment advice
2. once i tried to process payment advice by using f-28 it is posting in to custmer a/c without payment advice ref. also the payment advice still exist in the system.
3. trying to post payment advice having more than 999 items by using f-28 system shows error after 999 items.
4. I tried to process payment advice executing through RFAVIS40 error displays "Payment advice note in Customizing not defined for posting"
I appreciate if some one guide me to solve above.
Thanks,
RK
Message was edited by: RK TalabathulaHi RK,
Pt 3: There is an SAP Notes on this issue 117708 ,
also refer Re: F-44 - Clearing of more than 999 line items
Pt 4: Check OSS note 17449 see for "Payment
advice upon form overflow"
hope this helps.
Please assign points as way to say thanks
Ravi Rana -
Hi,
When we are trying to release a billing document we are getting the below error message "999 line items reached in FI". Please through a light on this.
Thanks,
KumarHi
In SAP version 4.6c there is a limitation of posting more than 999 line items in a single document.
In ECC version this limitation is not there.
Now what next for you in order to post document?
Please try to split the document in 2 parts and post it..There is no other alternative to this
If this solves your problem then please award points.
Kind Regards, -
More than 999 line items in Invoice
Hi All,
We are having a scenario where more than 999 line items needs to be invoiced in a single billing document. If more than 999 line items are invocied in a single billing document, system can not post the acct document. Our requirement is to create single billing doc for more than 999 and post acct document also successfully.
Please advise if any one has worked on the simillar issue.
Thanks,
RaviHi,
You can not do that with 999 line items in one billing document, the reason is the line items limit in the accounting document, because one line item of billing document must generate two line items (D&C) in the accounting document, although you can maintain the max 999 line items in billing document, but actually the max line items of billing document is 499.
So the other line items more 499 must be generate in a new billing document! Hope can help you understand the scenario.
Regards
Tao -
F-44 - Clearing of more than 999 line items
Hi,
I am using transaction code F-44 for clearing vendor line items but vendor line items are more than 999 (In fact they are well above 65000) SAP does not allow postings in a single doc of more than 999 line items.
can someone suggest methe procedure of doing this in a batch?? If so, please specify the procedure and transaction code.
Thanks in advanceHi rajesh,
There is an SAP Notes on this issue <b>117708</b>
Please Read the link below:
Posting document with more than 999 items
Also:
Table inserting 999 recorgs
Hope this helps.
Please assign points as way to say thanks. -
J1INCHLN posting Error: a maximum of 999 line items are allowed
The local currency of the company code is INR and the the 2. local currency is EUR (Group currency)
When we pay withholding tax (T_Code=J1INCHLN) for a particular months it clears all open items for that month.
After simulation of TDS a/c with various posting dates , it calculates exchange fluctuation gain/loss for group currencies. As a result exchange rate gain and loss accounts are automatically posted compared with each open item posting dates and the posting dates for this transaction.
If there are average 10 business Areas and 25 posting dates with 4 TDS G/L accounts
it has to be crossed more than 999 line items.
Is there a slolution for this problem?
How can we avaoid this problem?
Your replies are mostly appreciated
ThanksHi,
the field for cheque no. assignment is not available in payment screen J1INCHLN, we need to assign the cheque no with T_Code:FCH5 after the document posted. Once we assign one cheque number to a particular document No1.,that cheque no will not be available to assign to another document no2 as it has been already assigned in doc1.
Looking forward to your solution proposals?
How indian companies solve this problem?
BR Tarik -
Maximum line items for one billing document
Hello Friends,
We have a business requirement to invoice 50000 line items in a billing document. Could you please advice the approach to fulfill this requirement. As per my understanding, there are some limitations for billing item and accouting document item.
Appreaciate for your valuable inputs.
Best Regards,
GouthamYes your understanding is correct. It is not possible to achieve this requirement.
You can also go through some of the threads where the same topic was discussed
[accounting document limit 999 |accounting document limit 999;
[Re: More than 999 line items in Invoice|More than 999 line items in Invoice;
thanks
G. Lakshmipathi -
LSMW- line items thru bdc recording
I m creating a lsmw thru bdc recodring for me21.
the prob is ...how to upload the line items ? if i do in general it will only upload one line item for order....help me in solving this.Hi
When you do the recording in LSMW then if the options for multiple line items are available in ME21 then you can do the same with the LSMW recording also.
All you have to do is map the line items fields of the SAP structure to the line items of your upload source structure.
The Source Structure has to be defined as HEADER structure and the LINE item strucuture at the next level.
Then in the HEADER structure in the Source Field steps ,Name the first field as Record Identiifer and for the properties of the field give the value for Identifying Field Content as 'HEADER'.
Similarily for the LINE structure in the Source Field steps ,Name the first field as Record Identiifer and for the properties of the field give the value for Identifying Field Content as 'LINE'.
This would allow you to identify the HEADER and LINE for the files to be uploaded.
Please check this link also
Conversion - Doc with multiple line items - LSMW
Hope this is clear and is helpful.
Maybe you are looking for
-
I installed an application in Ovi Store and my pho...
Hi Every body Few weeks ago i installed a new Application in ovi store in my nokia X6 , suddenly the screen turned black n turned off , now i try to turn it on but it only shows me a white screen n the Vibrating , but all that appears is a white scre
-
Adobe Muse 1.0 Release - a disgrace to Adobe @ 25
I'm sincerely disappointed that after going through the beta stages for over 9months, promises, contribution, expectations. Adobe would release an incomplete and feature-less product as part of its creative cloud release. Several ideas contributed by
-
Hi What are new functions in 9i compared with 8i ? tks
-
NVision not running excel.exe
Hello, I'm working with Peopletools 8.52 and trying to run an nVision report. The process gets stuck on initiated in Process Monitor and doesn't continue on. I have run psnvs.exe with the /register option as well as restarted the NT process scheduler
-
Error running applet, java.lang.UnsatisfiedLinkError: enableModeless
hi guys I write an applet with JDevloper 3.1 using Oracle's B4J to connect to oracle 8.1.5. In Jdev all works fine. After deploying with the wizard to a webserver und running the applet using JRE 1.2.2 i got the following exception: Opening http://te