SAPF150D-Dunning Notice Print - With Update of Line Items and Master Record
When I am running this program SAPF150D(Dunning Notice Print - With Update of Line Items and Master Records) with a variant containing run date, runc id, update mode, pimmed & pcount; the job is failing to execute. It is giving message like,
"The field symbol is no longer assigned because there was an attempt makde previously in a Unicode program to set the field symbol using ASSIGN with offset and/or length specification. Here, the memory addressed by the offset/length specification was not within the allowed area."
"GETWA_NOT_ASSIGNED_RANGE" "SAPF150D" or "F150DFS0" "SORTFELDER_ERMITTELN"
Hi,
Search for routine FORM SORTFELDER_ERMITTELN
in SAPF150D.
Put a breakpoint in statement
ASSIGN (T047F-FELDN) TO <H1>.
in above routine and debug to the point where error is occuring.
Most likely there is a mismatch in the length assigned to some field FELDN in table T047F.
In that case, simply change the T047F-LENGT field accordingly in change mode.
Cheers,
Vikram
Edited by: Vikram Jalali on May 27, 2008 5:56 PM
Similar Messages
-
Line item and header records in the same infopackage
Gurus,
I wanted to check how can I make sure that I get all the line item documents in the same package with the header document record in the same infopackage? Is there some setting for that? If I am writing a custom extractore how can I make sure of this in ABAP?
Thanks
AKDear AKBW,
This is not very clear why you want to use same infopackage for line-item as well as header data. Normally there are 2 different datasources for line item and for header data.
Say you are woking with Sales Order Data in ECC.
So Line-item datasource for sales order data - 2LIS_11_VAITM
and Header datasource for sales order data - 2LIS_11_VAHDR.
Now as they are 2 different datasource, so you must need 2 different infopackages.
Now if you have created one custom datasource in ECC, then just check if its extracting line-item level or header level data. Normally when we create any custom datasource, we try to make it line-item level, to have all the itemwise detail. Though its not mandatory.
So if you have 2 different datasources (SAP or Custom), you definitely need 2 different infopackages.
Please let me know, if you still have any more doubt. You can also give me the other detail of the custom datsource you are creating.( type, fields, what it is supposed to extract etc).. -
Matching FI Line Items and Total Records for FM
Dear Friends,
Currently, we are implementing Public Sector Management using Former Budgeting.
Some PR and PO has been created, before the FM budget data transferred from Cost Center Planning using FM9C.
Using FMRP_2FMB4002 report, the u2018Available Amountu2019 still equal to u2018Curr. Budget Amountu2019, even though we can display the detail PR and PO by double-click the column u2018Assignedu2019 and u2018Commts/Act.u2019 in this report.
After executing RFFMRC04, system shows many line items containing Fund Center, Commitment Items, and its Amount.
I need your assistance to resolve these issues, so that the FM Report can be analyzed accordingly.
Thanks for your kind attention.
Regards,
(Vincent)Hi,
This thread has been created some time ago and recieved no response. Can you please close if you feel this issue/query has been resolved in the meantime. If it has not then please provide additional information in relation to your query. By providing updates to your thread it moves you thread to the first page of thread and increases visibility and possiblity for the multiptude of experts in SDN Forums to offer their support.
Therefore please update with more information or close thread.
Thank you for your assistance.
Regards,
Brendan.
(ERP FI/CO SDN/WIKI Moderator)
http://wiki.sdn.sap.com/wiki/display/ERPFI/ERP+Financials -
STO or PO for multiple line items and multiple destinations
I am working in retail enviornment and I have folloowing two questions:
1- we need to push articles( materials) to approx 1400store- we need to create STO with approx 10 line items and send materails to 1400 stores- this happens several times a year.
what is the easiest way to create this document without having to create either 1400 documents or create one document for all stores and enter 14000 lines? (Sames items/ and qty going to all stores)
2- We also have to send approx 600 items to one or two stores at a time ( when a new store is opened)- these items are same.
Is there a way to create this STO/ PO and keep reusing this document again and again withoiut entering 600 line items everytime this requirement comes up ( this requirements comes up anywhere from 10 times per year to 50 times/yr
Does anyone have any idea on how to simplyfy this process. Any help/ idea would be of great help.
Thanks
RajA PO once entered can be copied in ME21N, by drag-n-drop into the shopping cart. The problem might be changing delivery dates and delivery plants.
Another option is to use BOMs. -
Dunning Notice created with blank details
Dear experts,
We have an issue with Highest dunning level notice. After generating the 3rd level(highest level) dunning notice, in the next dunning run, system is generating 3rd level dunning notice without any line items - blank details (open items with 3rd level dunning notice are not cleared)
I have checked the configuration in FBMP. we have ALWAYS DUN ticked for 3rd level.
Is it causing this issue of Dunning letter getting generated without any line items?
Request you to clarify.Hi,
You need to give interest indicator in FBMP. indicator only becomes effective if there is no interestcalculation indicator entered in the master record. Otherwise the
indicator in the master record has priority. If there is no indicator at
either level (dunning procedure or master record), i.e. 'BLANK' is
entered, then no dunning interest is calculated by the system.
check this.....
sridhar -
Dunning Notice print/email using both Smartform and SAP-Script
Hello Gurus,
I have developed the Customized SAP Sript (Copy of 150_DUNN_01) for Dunning NOtice to be send to Domestic Customer and
Cutomized Smartform (copy of F150_DUNN_SF) for Foreign Customer.
Now Issue is that when I assign the Customized script to SPRO setting and standrd setting for BTE '00001720' with function
module 'FI_PRINT_DUNNING_NOTICE', if I want to assign smartform to SPRO setting then I need to replace same FM with
'FI_PRINT_DUNNING_NOTICE_SMARTF'.
how it is possible to work with both SAP-Script and Smartforms for dunning Procedure.
Please gurus let me help for this solution...
Thanks in Advance,
Mahesh SachaniHello Gurus,
Please reply with any solution available with any...
Thanks,
Mahesh -
Dunning letters printing with zero balance and no invoice listing
How to trouble shoot 'Dunning letters printing with zero balance and no invoice listing' problem
As per my understanding it could be due to OB22 settings.
refer following SAP notes
335608,191927,
373296 -
Hp photosmart premium wireless C309 can't print after updating to IE 9 and i think java script
hp photosmart premium wireless C309 can't print after updating to IE 9 and i think java script. I am a realtor working from home and inorder to use the forms it required I update to IE9 and I think java, this is the link. http://www.car.org/tools/zipform6/ After doing so my printer does not work. I tried to go on line and reinstall from a link on line but it did not work. I don't know what to delete and what to add and how to get the " HP sSolution center" to work again. the printer was already poor performance from day one. Always having to unplug and restart and the black ink always runs out too quick. but right now my concern is just being able to print and scan. I am in the middle of a deal and can not communicate with all parties effectively. please help
What error messages are you getting?
What OS are you using?
How is the printer connected to the computer?
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
Header Details to be Printed only for the line item details.
Hi All,
I have the following requirement.
I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
Thank you.Dear Vasudha,
I am a little bit confused regarding your query,
"In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
Well my suggestion for your issue is,
1.I hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using the command node which you have used.In your case you will have to use a combination of both.
2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2) and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
In the footer section of the table which you have used, use a command node set to PAGE3. After the command node and under the same footer section now insert your terms and condition lineitem.
Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
So now this footer section will be triggered only once after all the data in the table is displayed
4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
Hope this helps.
Regards,
Riju -
Fbl1n txn for updating vendor line item
hello every one iam trying to update vendor line item when a billing document get cancelled in vf11 i have tried bapi BAPI_ACC_DOCUMENT_REV_POST .
the requirement is whenever a billing document get cancelled the commision need to get credited again for example if vendor line item is
St Assignment DocumentNo Type Doc. Date S DD Amount in local cur. LCurr Clrng doc. Text
COMMISSION 1700000014 CP 31.08.2011 71.26- INR
it need to get like this
St Assignment DocumentNo Type Doc. Date S DD Amount in local cur. LCurr Clrng doc. Text
COMMISSION 1700000014 CP 31.08.2011 71.26 INR
that means the amount in local currency need to get into + one like above
Please help ASAP & if some one give me code also that will be very helpul for meHii ali this is my code & below iam showing u what wasthe data in my return table please suggest me what to do
DATA : P_REVERSAL LIKE BAPIACREV ,
TRAN_DOC(20) TYPE C ,
p_busact LIKE BAPIACHE09-BUS_ACT ,
p_objkey LIKE BAPIACREV-OBJ_KEY .
DATA : P_RETURN LIKE TABLE OF BAPIRET2 ,
WA_RETURN TYPE BAPIRET2 ,
WF_REMARKS ,
PLANT TYPE VBRP-WERKS ,
bill_no type vbrk-vbeln ,
belnr type BELNR_D ,
AWKEY type AWKEY .
data : date1 type sy-datum .
date1 = sy-datum+0(4) .
select single belnr AWKEY from bkpf into (belnr , AWKEY) where blart = 'CP' and
budat = sy-datum and
xblnr = vbrk-kidno . "bill_no .
IF SY-SUBRC = 0 .
CONCATENATE belnr AWKEY+10(4) date1 INTO TRAN_DOC .
ENDIF .
SELECT SINGLE WERKS FROM VBRP INTO PLANT WHERE VBELN = vbrk-kidno .
p_reversal-obj_type = 'BKPFF'.
p_reversal-obj_key = tran_doc.
p_reversal-obj_key_r = tran_doc.
p_reversal-pstng_date = sy-datum.
p_reversal-comp_code = tran_doc+10(4).
p_reversal-reason_rev = '02'.
p_reversal-ac_doc_no = tran_doc+0(10).
p_busact = ' '.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'
EXPORTING
reversal = p_reversal
bus_act = p_busact
IMPORTING
obj_key = p_objkey
TABLES
return = p_return.
IF sy-subrc = 0.
---commit Work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ELSE .
*****Use the below statement, if the BAPI is sending back the 'RETURN' internal table.
READ TABLE p_return INTO WA_RETURN WITH KEY TYPE = 'F'.
IF SY-SUBRC EQ 0 .
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
EXPORTING
MSGID = WA_RETURN-ID
MSGNR = WA_RETURN-NUMBER
MSGV1 = WA_RETURN-MESSAGE_V1
MSGV2 = WA_RETURN-MESSAGE_V2
MSGV3 = WA_RETURN-MESSAGE_V3
MSGV4 = WA_RETURN-MESSAGE_V4
IMPORTING
MESSAGE_TEXT_OUTPUT = WF_REMARKS.
ENDIF.
ENDIF.
1 E RW 609 Error in document: BKPFF $ DEVCLNT300 000000 BKPFF $
2 E RW 632 Document BKPFF 1700000061WPL12011 DEVCLNT300 cannot be reversed 000000 BKPFF 1700000061WPL12011
3 E F5 814 Document type ZX not defined 000000 ZX
4 E F5 814 Document type ZX not defined 000000 ZX -
BDC recording(updating two line items in a single call)
Hi,
I have a problem with the transaction PK31,while recording we enterd material number,plant,supply area in the first screen,after that it display line items for that control cycle,I want to update some fields in that line items,when i updated quantity and status fields in the first line item after that i cliked the change "qty/status button" and it saves that field values and it comes out from the transaction.
can you please suggest what is the solution for updating two line items in a single call(PK31 transaction).Hi,
In one screen . Put 2 containers with different names.
cont1,cont2
on each of the container call grid,grid1 like below .
1. this is for item line display
IF g_r_grid IS INITIAL.
CREATE OBJECT g_r_cont
EXPORTING container_name = 'CONT1'.
g_r_variant = sy-repid.
*--Build field catalog
PERFORM build_field_catalog.
*--Layout selection
g_r_layo-cwidth_opt = g_c_set.
g_r_layo-no_rowmark = g_c_set.
g_r_layo-sel_mode = space.
CALL METHOD g_r_grid->set_table_for_first_display
EXPORTING
i_buffer_active = g_c_set
is_variant = g_r_variant
is_layout = g_r_layo
i_save = g_c_set
i_default = g_c_set
CHANGING
it_outtab = g_t_alv
it_fieldcatalog = g_t_fieldcat
it_sort = g_t_sort.
endif
1. this is for error data display
IF g_r_grid1 IS INITIAL.
CREATE OBJECT g_r_cont
EXPORTING container_name = 'CONT2'.
g_r_variant = sy-repid.
*--Build field catalog
PERFORM build_field_catalog.
*--Layout selection
g_r_layo-cwidth_opt = g_c_set.
g_r_layo-no_rowmark = g_c_set.
g_r_layo-sel_mode = space.
CALL METHOD g_r_grid->set_table_for_first_display
EXPORTING
i_buffer_active = g_c_set
is_variant = g_r_variant
is_layout = g_r_layo
i_save = g_c_set
i_default = g_c_set
CHANGING
it_outtab = g_t_error
it_fieldcatalog = g_t_fieldcat
it_sort = g_t_sort.
endif -
Printing in only last line item printing in main window
Hi All,
My requiremnet is to print same data in two blocks for F110 payment cheque
Iam using 2 main windows to print same data if block exceeds it will go to next page
iam calling the windows as shown below
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN00'
element = hlp_ep_element
function = 'APPEND'
EXCEPTIONS
window = 1
element = 2.
IF sy-subrc EQ 2.
err_element-fname = t042e-zforn.
err_element-fenst = 'MAIN00'.
err_element-elemt = hlp_ep_element.
err_element-text = text_525.
COLLECT err_element.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN01'
element = hlp_ep_element
function = 'APPEND'
EXCEPTIONS
window = 1
element = 2.
IF sy-subrc EQ 2.
err_element-fname = t042e-zforn.
err_element-fenst = 'MAIN01'.
err_element-elemt = hlp_ep_element.
err_element-text = text_525.
COLLECT err_element.
ENDIF.
Iam getting only last line item printing in main window
Please provide the inputs.
Thanks,
Kamalakar.
Please use code tags.
Edited by: Rob Burbank on Nov 25, 2011 11:51 AMHi,
My requirement was to print same block twice in cheque printing of F110.
I have used the function module 'WRITE_FORM_LINES' to print more than one line item in secondary window in the script .
fill the Lines internal table as shown below.
Example :
lines-tdformat = 'TM'.
CONCATENATE regup-xblnr ',,' w_date ',,' w_bsak-sgtxt ',,' w_gross ',,' w_dis ',,'
w_net INTO lines-tdline.
APPEND lines.
CALL FUNCTION 'WRITE_FORM_LINES'
EXPORTING
function = 'APPEND'
header = header_t
type = 'BODY'
window = 'MAIN01'
IMPORTING
FROMPAGE =
PENDING_LINES =
TABLES
lines = lines
EXCEPTIONS
function = 1
type = 2
unopened = 3
unstarted = 4
window = 5
bad_pageformat_for_print = 6
spool_error = 7
codepage = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. -
Function module for FI document change with G/L line items
Hi!
Does anybody know how to change FI document with G/L line items (fields like XREF3, SGTXT, ZUONR - generally speaking, all the fields can be changed with FB02)?
FM FI_DOCUMENT_CHANGE has needed functionality and works well for account payables and account receivables line items, but it doesn't handle general ledger line items.
Regards,
Maxim.Hello!
The function has some mandatory fields to use:
I_AWTYP -> get value from BKPF-AWTYP for the specific document;
I_AWREF -> number of the document to change;
I_AWORG-> concatenate document's company with respective year;
Then, only one of the following fields should be filled:
i_lifnr,
i_kunnr,
i_obzei,
i_buzei.
You can find the relevant data for this fields in BSEG.
The structure I_BSEGC should be filled with data you think appropriate. I didn't tested it, but i think the first fields are sufficient.
Then, add lines (1 for each field you wish to change) in table T_ACCCHG.
However, you should notice that you're not allowed to change all fields. For instance, KKBER is one of the fields that is forbidden to change in this FM.
Hope that helps.
Rui Delca Mendes -
Current;y have to expand each major line item and check all the minor line items, I just want a list of SNs associated with the contract. Any way to get this mailed to me every month?
Hi
I am sorry to see you are having problems
I suggest you contact the forum mods they should be able to get this problem sorted for you this is a link to them http://bt.custhelp.com/app/contact_email/c/4951
They normally reply by email or phone directly to you within 3 working days they will take personal ownership of your problem until resolved and will keep you informed of progress
They are a UK based BT specialist team who have a good record at getting problems solved
This is a customer to customer self help forum the only BT presence here are the forum moderators
If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’ -
BAPI_BILLINGDOC_CREATEMULTIPLE, creating a Bill doc with a single line item
Hi there,
I am trying to create a Billing document with reference to Sales document using this BAPI (BAPI_BILLINGDOC_CREATEMULTIPLE)
..but the generated billing document is creating only single line item where as the original Sales document is containing a Two line items, ie. 1 main line item an a Sub line item for this .
I am passing the Values mentioned below..
As per requirement is need to create a Pre invoice or a Proforma with Provided Sales Document.
it_billingdata_in-ORDBILLTYP = Proforma/Preinvoice
it_billingdata_in-REF_DOC = Reference Sales doc number
it_billingdata_in-REF_DOC_CA = Reference Sales document category('C').
Can some one please suggest any thing else do i need to pass apart of these field..
Appreciate of some one answer me.
thanks
SrinivasHi Srinivas,
You need to loop on the internal table 'it_billingdata_in' based on the Sales Order line items and pass the value to 'it_billingdata_in-REF_ITEM' for every line item of the Sales Order.
Hope this helps.
Regards,
Pranav.
Maybe you are looking for
-
I am trying to "upgrade" an old ibook g3 (800MHz) I have managed to get it up to OS 10.2.8 with automatic updates, but I would like to install OSX 10.4 Tiger (The most advanced compatible os for this ibook), But I have not managed to find anywhere on
-
Getting a "driver error" message when syncing
The trouble started when my iPod keep getting hung up on a few songs, or would only play half a song, or skip over a bunch of songs. They guy at the apple store said I should wipe it and install the latest iPod software - which is did. At the same ti
-
Hey, Can anybody tell where I can find online tutorials on how to build a server using java? Thanks
-
WRE54G is already connected to WRT160N Router, but can not get access to internet?
Hello,,, I have seven of rung expanders WRE54G and all settings i set as this link http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=4104&p_created=11611... * same wireless SSID name * same Channle ( What is the differe
-
Dear experts How do i get a list of vendors and customers with open items for a given company code at a given date