Item Text in FBL3N copied automatically from MIRO line item
All,
When a purchase order is created to a cost centre, G/L account and cost centre are entered manually. Often Purchase Order only uses short text field as reference, ie, Material is not mandatory.
MIRO process is then done for PO after GR, and the PO text (short text) is copied into MIRO.
G/L account line items can be displayed in FBL3N, detailing the document numbers related to the invoice/PO once posted.
The field "Text" is defaulted as blank, even if created with reference to a PO which contains text. Does anybody know of a way to automate process so that the text field is populated with the text from MIRO.
Thanks.
Hi Jacob,
You can transfer what ever the data from the MIRO to Accounting document using BTE.
Goto SE37 - SAMPLE_PROCESS_00001120 (this is the standard BTE for account document posting). copy this with ZSAMPLE_PROCESS_00001120.
In this you cannot modify the tables t_bkpf and t_bseg. you can use t_bkpfsub and t_bsegsub.
For this a little bit config is required.
1) Goto t-code FIBF-> settings->Products->... of a customer.
Click new entries -> product name- ZPRODUCT , text - any text, RFC dest - ZSAMPLE_PROCESS_00001120, A - enable check box -> save.
2) Go back -> settings -> P/S Modules -> ... of a customer.
Click new entries -> event - 00001120, Product - ZPRODUCT, Ctr - Country key, Appl - FI-FI, Function module - ZSAMPLE_PROCESS_00001120 -> save.
3) Go back -> settings -> Process Modules -> ... of a customer.
Click new entries ->Process - 00001120, Ctr - Country key, Appl - FI-FI, Func module - ZSAMPLE_PROCESS_00001120, Product - ZPRODUCT -> save.
Now goto SE37->ZSAMPLE_PROCESS_00001120
logic.
loop at t_bkpf.
loop at t_bkpfsub.
move 'your value' to t_bkpfsub-value.
modify t_bkpfsub index sy-tabix.
endloop.
endloop.
loop at t_bseg.
loop at t_bsegsub.
move 'your value' to t_bsegsub-value.
modify t_bsegsub index sy-tabix.
endloop.
endloop.
''your value' is imported value.
no need to worry abt modified values. after execution of BTE it will go to standard prog and copy the values of t_bkpfsub] and t_bsegsub[ to SAP tables. so pls be perfect with code. SAP wouldn't allow change the values in t_bkpf] and t_bseg[ values. you can add your own fields in bkpf_subst and bseg_subst.
But make sure that, pls write the code in FM with conditions like cocode doc type etc. bcz this BTE is very important. it will executes before acc doc is posted.if you do not specify any conditions it will execute for all co codes in acc doc. it will affect business. you can debug this BTE. put a break point in FM and see the values while post the MIRO.
once import the values free memory id and clear the variables what ever u used in BTE.
Best Regards,
Mohan.
Similar Messages
-
Copy texts from parent line item to substituted line item in Sales order
Hi Guys,
I want to copy texts from parent line item to substituted line item in a sales order where the material is substituted by SCM.Can you guide me which FM can be used in which user exit or any new suggestion?
Thanks
SwathiHi,
do you want to set long text or just short one? Obviously you can not use this BADI to set different fields than are available in the method interface. But I found thread with a similar problem here on SDN.
Re: Automatic Population of Texts during Sales Order Processing
If you call subroutine on commit, it should be working. -
Copy Trading Partner to Asset line items from Vendor line items in F-90
Dear Friends,
I want to copy trading partner field from Vendor line item to other line items like Asset and Tax in T.code - F-90
Client want to use Transaction type - 100
Is it feasible?
Thanks in advancetry:
1) substitution - tcode OBBH
or
2) open FI - menu FIBF tcode BF44
- event 1120 or 1130
A. -
To display line item text in FBL3N as it is displayed in FBL1N
Hi Experts,
Though the subject line presumes it to be a redundantly asked question but I could not comprehend the exact solution of this. So posting my entire scenario in a hope to get an effective response.
Scenario: -
We are not able to see the text when we run GL account balances. The text is maintained in the field text (in Basic data) and PO text (in fields PO Reference) . Now when you use transaction FBL1N to see vendor Open items, you can see the text (line item text) but the same is not seen when we run FBL3N (GL Account Line Items).
In Technical (simpler) terms: -
When we display an invoice using MIR4 say invoice number is 123456 (Vendor - 4567, GL account - 78946) , we can see line item text maintained there in field "Text" in Basic data tab. Now run transaction FBL1N for vendor 4567, text (BSEG-SGTXT) is displayed in line item text. But when we run FBL3N text (BSEG-SGTXT) is not seen.
How to display the line item text in FBL3N as well ?? In my initial manouver of SDN forum, i found solutions like BTE and pointers to substitutions. Kindly let me know a probable solution.
Thanks a lot in advance.
~
ShreyaHi,
program RFITEMGL calls fm FI_ITEMS_DISPLAY thus:
call function 'FI_ITEMS_DISPLAY'
exporting
caller_repid = c_repid_gl
acctype = c_koart_gl
x_opvw = x_gl_opvw
x_change = x_change
i_u_save = gd_alvsave
is_u_variant = gs_variant
it_u_fieldcat = gt_fieldcat[]
it_kontab = it_accts[]
it_slbtab = it_comps[]
it_t001 = it_h_t001[]
it_skat = it_h_skat[]
it_skb1 = it_h_skb1[]
x_grid = x_grid
x_inet = pa_inet
tables
it_items = it_pos.
where c_koart_gl like bseg-koart value 'S'.
BSEG-SGTXT has value when BSEG-KOART = 'K' and this might be the reason why it is not displayed.
It seems the report only displays records with BSEG-KOART = 'S'.
Best regards. -
Automatic deletion of Line item at GR level
Hi All,
I have a requirement,
The client will hire security service from the vendor, they will create service PO with 12line item and each line item cost will distribute to 5 cost center. they want a report which shows the pending quantity month wise for which month its has been delivered and pending.
So we create a Service PO with 12 line items for one year each line item will be delivered every month and service period is defined at PO level for each line item and each line item cost is distribute to 5 cost center. we are able to achieve the Report as per the client requirement.
The issue is at GR level, we can see 60 line item as we defined each line item cost is distributed to five cost center at PO level.
and we have remove 55 line item manually in GR level to receive one line item qty.
So is their any option where, we can get the line item based on the Date which we have provided at PO level.
NOTE: Client do not want from Contract process.
Thanks & Regards
AfsarHi,
In attributes of system Message setting for PO try to add message no.06 115 as error and assign the same to users.Moreover this message comes as a standard setting and prevents from deleting the PO line if Gr is made .But this will not restrict if MIRO is done after GR.
Dhruba -
Dear Forum,
In miro line item, there is a drop down list on indicator. There are 3 item to choose from but I would just like to ask on
1 planned delivery costs
2 goods/service items + planned delivery costs
What is the implication of choosing 1)planned delivery costs or 2)goods/service items + planned delivery costs?
Thankshi srina,
when we say that we only want to settle the planned delivery cost, then we go for settling the planned delivery cost,
now the question arrises that why do we go for settling this only, this is done when u have ur main vendor different from the supplying vendor, generally at that time we settle both the costs differently,
and when we have the the main vendor acting as a the delivery vendor also, then we settle both the cost together...
Hope it helps....
regards,
yk -
Dear All,
I have facing one issue at the time posting in MIRO.
I post one of migo doc in date 03/01/2010 , the entry is:( with same material )
Post key description amt curr.( USD)
89 Stk.RM -IMP 32100.00
96 PL.VND.RM.IMP GR/IR 32100.00
40 Purchase RM-IMP 32100.00
50 Purchase offset. 32100.00
And Miro Posting on date 23/03/2010
Post key description amt curr.( USD)
31 xyz Vendor 32100.00
86 PL.VND.RM.IMP GR/IR 32100.oo
89 Stk.RM -IMP -
40 Purchase RM-IMP -
50 Purchase offset. -
But when I post for another po in migo on date 03/01/2010
Post key description amt curr.( USD)
89 Stk.RM -IMP 76800.00
96 PL.VND.RM.IMP GR/IR 76800.00
40 Purchase RM-IMP 76800.00
50 Purchase offset. 76800.00
and miro posting on date 19/02/2010
Post key description amt curr.( USD)
32 yz Vendor 76800.00
86 PL.VND.RM.IMP GR/IR 76800.00
89 Stk.RM -IMP Line item not generated
40 Purchase RM-IMP Line item not generated
50 Purchase offset. Line item not generated
Can any one tell why line item not generated for miro posting .
Regards
MilindHi,
The extra line items will be generated when there are any exchange rate diffrences are there then only shows.
Other wise it wont show those extra line items
Please check group currency , global currency etc. for your extra line items -
Automatic Payment program -line item cleared not displaying in table
automatic Payment program -line item cleared not displaying in table
i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
Can some one please guide me on this.Hi Priyanka,
First, which table are you referring to. If your fist APP run clears the line item, it will no longer be available in the open item.
Please be more specific on the problem so that we can try to help you. If possible, please provide screenshots.
Regards,
Ganesh -
Exit for automatic creation of line items in VA01
Hello All,
I have a requirement wherein I need to create next blank new line item (with predefined line item no) upon creation of one line item. When user opens sales order creation screen there should be default line item (say line item no 10) created. If user fills data in item 10 & press enter exit should create next line item (say item 20) automatically.
Currently line item get created after user enter item details. I want this to happen before user enters data.
Regards,
Abhijeet moreThere is a customizing for this. You can also make it using MV45AFZZ but really difficult coding. You must debug what system do while you create a line item manually then u need to use every routine which system uses and even there is no error message it's still possible that you'll face with inconsistencies in billing.
I don't suggest you to try this using exit, unless you have 2-3 years SD experience. Best thing to do is inspecting customizing part.
Edited by: Gungor Ozcelebi on Jul 15, 2009 9:20 AM -
Prevent user from view line item details in KSB1 report
Hi,
how to restricting user from view line item details by double-click on it or highlight an item click on Document?
Regards,
KelvinHi,
This issue got resolved.
SAP suggested to execute the program "FAGL_CORR_0001" for company code wise.
In ECC 5.00 from support pack 10 onwards two new fields has been added to table FAGLFLEXA. (earlier we are on support pack 9, recently we applied the latest support pack)
If we can execute the above program FAGL_CORR_0001, the two new fields will filled with relevant data and then we can able to use drill down option.
This is for your information.
Message was edited by:
prasad naga -
Customer in PSG from FI line item
Hi,
we need to get customer in PSG while creating an invoice in F-02, FB01,FB70...
For example, the 1st line item: posting key 01, customer XXXXXX, the 2nd line item: posting key 50, revenue account XXXXXX.
In the second line item we have PSG where have to populate the customer number from the previous line item.
I think we can use enhancement COPA0005, exit EXIT_SAPLKEII_001. But I don't know which tables or structures should we use.
Can we use ACCIT and ACCIT_PA, because I think that BSEG will not help?
Thanks in advance,
Jasmina.
EDIT: Problem solved via ACCIT
Edited by: Jasmina Miteva on Feb 3, 2010 2:24 PMDO the config for AP -AR
IMG>Fi>AP-AR>Customer/vendor acounts>line items> Define additional fields for line item display
Table-BKPF, Field-GRPID
And for GL do the same
Thanks
Ron -
Dear Forum,
I would like to seek clarification on miro line item. Below are few scenario which I need help.
1) when PO number is entered, why item lines are still grey out?
2) when PO number is entered, item lines not grey out but quantity and amount fields empty
3) when PO number is entered, item lines not grey out and quantity and amount fields with value
4) all in all, how system decides to populate or not to populate value in columns in miro line item
Thanks
RgdsHi,
Pls find the reasons for the same
1) when PO number is entered, why item lines are still grey out?
It means that the PO line item has GR based invoince verification and no GR has been happened yet.
2) when PO number is entered, item lines not grey out but quantity and amount fields empty
It means that that the GRN has been happenned for the PO line item and invoice is also happenned for that GR.
3) when PO number is entered, item lines not grey out and quantity and amount fields with value
It means that GRN is processed for the PO line item and no IR has been happenned
4) all in all, how system decides to populate or not to populate value in columns in miro line item
The main setting depends upon the GR based invoice verification indicator in the PO line item.
Regards, -
Can I summarize data from a line item ODS into a higher summary level?
Hello friends,
1) Can I summarize data from a line item ODS into a high summary level and store the results into another ODS? If so, can you discuss the approach at a high level...i.e. whether or not a start up routine is needed?
2) Once data is stored in an ODS, can a routine be written to update specific fields in the ODS after the data has already been loaded into the ODS. As a simple example, is it possible to write a routine that simply multiplies "Field A" by "Field B" and stores the result in the ODS as "Field C"? (Most of the time I would do this calculation in Bex, but in this one case, I have the need to calculate and store "Field C" in the ODS.)
Thank you.1.- Yes, you can sumarize data in other ODS. Connect both ODS and use aditions for key figures intead of overwriting.
2.- You can do it in load time, in update rules, is not necesary to wait for ODS was loaded -
Item Message text LTxt 2A Message(s) when structuring line items for
Hi ,
Please can any body help on this below errror message.
At the time of executing depreciation (AFAB) we are getting below error message.
Item Message text LTxt
2A Message(s) when structuring line items for document number ERROR00001
2A Account 'Accumulated dep. account unpl. deprec.' could not be found for area 01
END Error messages after processing of assets
END Posting run ended with errors
Please can any body help on this issue.
Thanks in advance for your help.
Edited by: seshu_sapfico on Nov 2, 2009 5:12 PMHi Seshu
Please go to T-code AO90 and assign an accumulated depreciation account .
To find the correct place , check your asset class and check which account determination you have in it.
Once you know your account determination go to T-code AO90
enter chart of depreciation
double click on account determination on left hand side of screen
click on correct account determination on right hand side
double click on depreciation a/c on left hand side
and enter your g/l for Acc.dep. accnt.for ordinary depreciation
hope this should solve your problem
Thanks and regards
Sanjeev -
Not able to create DIR from PR line Item
Dear Friends,
I have Cretaed Doc Type "CON" and entered "EBAN - Purchase Req. Item" in the object link and in Create Document I have mentioned " 1 - Create simple document".
When I try to create a DIR from PR Line Item, there is no option or a logo in the Popup where I can click and create DIR from The Object PR Line Item.
I get the create Document icon in WBS element for same document type.
Can anybody guide me the if I have missed any config.
With Warm Regards
Mangesh Pande
Edited by: MANGESH PANDE on May 23, 2011 11:33 AMScreen calling is controlled by MM module -
check
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=68747578
I dont think its possible to create document from PR
Maybe you are looking for
-
Creating PDF file in XI using iText
Hi all, I am trying to create a PDF file in XI using itext. The PDF file is getting created in my target ftp server but I am not able to open the PDF. It is throwing the below error while opening. "Adobe Reader could not open the sample.pdf because i
-
How to refresh the input text value in backing bean
hi all i want to know how to refresh the input text value in backing bean? i have tried this code ,but it doesnt work public void click(ActionEvent actionEvent) { tempConId.setValue("111111111111111"); AdfFacesContext.getCurrentInstance().addPartialT
-
Hi, I am using iWork '09 through the 1 month trial version and was hesitating to buy it. One function that I really wanted was: For example, John and I are having a trip somewhere, and I paid everything in advance. He wants to pay me in several times
-
How do I reset Airport Extreme Model A1034?
How do I reset Airport Extreme Model A1034? I am using a MacBook Pro to set up the airport, but, I get this message: "This version of AirPort Utility doesn't support this base station. Go to AirPort Service and Support for more information."
-
Friends have a problem! component dropDown
Friends have a problem! I have a value selected in a component dropDown. When I am going to the second page, and I go back to the first page, the dropDown loses the selected value. Thank you!