Need to populate text/ref fields for docs generated by allocation cycles
When executing distribution or assessment cycles the doc header text, reference field and line item text are all left blank in the generated accounting document. We would like to populate these fields with some reference to the cycle or segment names. Is there any doc type or cycle setting or standard config that would allow us to populate these fields without the use of an exit? Thank you in advance.
Hi
Goto GGB1 TCode
under Cost Accounting you can find three allocation areas
Find out right one and create new substitution rule to update text or ref
Reg
Vishnu
Similar Messages
-
Populate customer reference field for credit memo from RMA order
There is requirement to populate customer reference field for credit memo generated for RMA order..
In RMA order which filed i need to populate which will come as customer reference in credit memo.
Please help me to populate customer reference field from RMA orderesHi Javier,
Please check following site:
http://help.sap.com/saphelp_crm60/helpdata/en/2e/b0da18dbe84ed9bdff9a5d6d91f531/frameset.htm
Cheers,
Gun. -
Hi SAP Gurus,
Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
Regards
MohanHi Ramakrishnappa,
If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
Regards,
Mukthar -
Customer no to populate the Assignment field for Sales A/c using sort key
Dear All,
In 6.0, I am trying to get the Customer number to populate the Assignment field for Sales Account
We have set the sales account to a 031 sort key - sort by customer, in FS00. When 031 is set, SAP goes to the BSEG table and looks at the KUNNR (customer) field and populates the Assignment field with what is in the KUNNR field of BSEG.
The problem is: the customer number (KUNNR) does not contain any data in BSEG.
The KUNNR field of all the other account lines for the document number are blank.
Is it possible to bring the field in the General Ledger display?
Does anyone know of a user exit or other solution?
Thanks,
GovHi,
Check with SD consultant and use Copy control. -
End Routine to populate custom AFS field for Billing Item extractor
I have the following scenario for Billing 2LIS_13_VDITM datasource
Doc_No Item Material Item_Categ AFS_field
2000 11 XYZ 123
2000 12 XYZ 123 US1
3000 11 PQR 456
3000 12 PQR 456 CA1
I need to populate the AFS_field in the first row also for all Doc Nos for certain Item categories (eg 123 & 456). I need to do this on the first transformation from PSA to DSO. I was planning to write a SELECT statement in the Start Routine with the PSA table as the reference as seen below and then write an End Routine calling this reference table. But the PSA table name is different in Dev, QA and Prod so I cannot use this.
TYPES: BEGIN OF S_AFS,
VBELN TYPE C LENGTH 10,
PSTYV TYPE C LENGTH 4,
MATNR TYPE C LENGTH 18,
J_4KRCAT TYPE C LENGTH 16,
J_4KSCAT TYPE C LENGTH 16,
END OF S_AFS.
DATA: LT_AFS TYPE STANDARD TABLE OF S_AFS,
LS_AFS TYPE S_AFS.
DATA: LT_DATA TYPE tyt_SC_1.
LT_DATA[] = SOURCE_PACKAGE[].
SORT LT_DATA DESCENDING BY VBELN MATNR J_4KRCAT.
DELETE ADJACENT DUPLICATES FROM LT_DATA COMPARING VBELN MATNR.
SELECT VBELN MATNR J_4KRCAT J_4KSCAT
INTO CORRESPONDING FIELDS OF TABLE LT_AFS
FROM /BIC/B0000777001
FOR ALL ENTRIES IN LT_DATA WHERE VBELN = LT_DATA-VBELN AND MATNR =
LT_DATA-MATNR.
SORT LT_AFS BY VBELN MATNR.
I am not an expert in writing ABAP code. Any suggestions are greatly appreciated and points will be assigned. Thank you.Hi
why do want to select the data from PSA table ?Already your trying to load data from PSA to DSO.
you want to populate the AFS field value in DSO right?
1. First you have to add AFS field in ur DSO
2. Write the Start routine based on ur scenario(select the data based on ur scenario and put into internal table).
3. wirte AFS field leval transfer routine(Read the corresponding record based on docu num,item num) pass into RESULT.
Regards,
GR -
Urgent: Field for doc currency?
Hi experts,
we have a generic extrator that brings in netwr(net value in document currency) also.
The infoobject 0net_value has document currency as its reference currency.
There is no field to map 0DOC_CURRCY in this extractor.
Is it necessary to change the extractor in R/3 to get a field for document currency??Hi:
If the currency is going to be always the same, maybe you could fix it in the object definition.
Kind regards, -
Populate text in field 1 based on calculation in another field
Hello,
Currently, I have a calculated field that is the sum of 7 numeric fields. I then have a text field that I would like to populate based on the calculation.
For example, if the value in the calculated field (Total) is "27", textfield should read "Great Job". If Total is >27, the textfield should read "Keep Trying".
I have two questions... What script should I try? and Where should the script reside?
I have tried to add script in the 'change' section of the Total field, but since the user is not changing this field (it is calculated), the script is not being triggered. I have tried the script in the 'change' section of each of the 7 numeric fields, but am having trouble referencing the Total field value.
Any help would be appreciated.
Thanks
EEric,
I added 8 Numeric Fields named MonTotal, TueTotal, WedTotal, ThurTotal, FriTotal, SatTotal, SunTotal and WeekTotal.
I added a FormCalc script to the calculate event of the WeekTotal Numeric Field shown below:
form1.#subform[0].MonTotal + form1.#subform[0].TueTotal + form1.#subform[0].WedTotal + form1.#subform[0].ThuTotal
+ form1.#subform[0].FriTotal + form1.#subform[0].SatTotal + form1.#subform[0].SunTotal
Once I saw the calculation was working I inserted a new text field named "Comment" and a standard button (Labeled "Click on Completion" and added a FormCalc script to the click event of the standard button shown below:
if (form1.#subform[0].WeekTotal == 27) then
form1.#subform[0].Comment = "Great Job!!!"
elseif (form1.#subform[0].WeekTotal > 27) then
form1.#subform[0].Comment = "Keep Trying!!!"
endif
Hopefully this is helpful.
Have a great day!
Pam -
Need exit to add new fields for Vendor master creation
Hi All,
I have to add a new screen with some fields in Vendor master (Xk01) creation. Can any one suggest me
any screen exit / user exit through which I can add these fields.
Please explain the procedure to add the fields through exit.This will be of great help.
Thanks
Vinod.run the following program which ggives available exits for tcode
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN. -
Required Text Field for automatically generated line items
Hi Experts,
I have noticed that when additional line items is automatically generated by SAP, the line item text field becomes required for those items. This happens regardless of the configuration made in the field status group....
For example, when posting cross company code transactions using account assignment model, the balancing entries (automatically generated by SAP) requires an input for text field. The same scenario happened when I run F-58 in background (BDC), and there are additional line items in my entry.
Can you please share some insights on SAP's behavior. And is it possible to turn it off?
Thank you.
Regards,
Reiko
Edited by: P. Reiko on May 16, 2011 10:25 AMDear:
1st check out the configuration for text filed that whether it has been set mandatory in the following FSG
1.... Field status groups which we assign to Recon Accounts of customer--OBC4
2..... Posting keys---OB41
3....... Field status group for Customer account group
SPRO>> FA>> AP & AR>> Customer Acct >> Master Data >>Preparations for Creating Customer Master Data Define Acct Groups with Screen Layout(Customers)
See if it has been set mandatory there. Revert back in case issue is not resolved.
Regards -
Performing calculation on text data fields - for Master Data infoobjects
Gurus,
I've a MD InfoObject Z_Obj containing set of attributes - Z_Attr1, Z_Attr2 and Z_Attr3 , the data for this fields contains text ( of single character)
The requirement goes like this
Attribute Value Value to be displyed in the Report
Z_Attr1 - Y A
Z_Attr1 - N <Blank>
Z_Attr2 - Y B
Z_Attr3 - N <Blank>
Z_Attr4 - Y C
Z_Attr5 - N <Blank>
Without making use of any ABAP routine , What are the possible ways we can achieve this in Output.
Remember I want the validation of the fields at report level not at the ODS/DSO/MD InfoObject level.
Please do help me about the various possibilites.
Thanks in advance <removed by moderator>
Regards,
Yaseen
Edited by: Siegfried Szameitat on Nov 7, 2008 9:15 AMThis can be done :
Create 3 formula variables of type replacement path.
While creating :
In the general tab, choose reference characteristic as Z_Obj.
In Replacement Path tab,
Replace variable with : Infoobject
Replace with : Attribute value
In below drop down choose your attribute appropriately.
Now you can use this formula variables to create formula or CKF.
Hope this helps. -
How to Populate a Dropdown field for a table control with different keys
Hi All,
I have Table control with abt eight columns (fields). Out of these eight field one field is with dropdown list. In table control Project ID is Primary key column. Depending upon this Project ID value, i have different values which is to be populated in dropdown boxes. In table control if there is only one project ID value say 'P000715' i can populate it but when i have more than one project ID (P000715, p000716, P000717.....) in display in rows of table control i want to have different values in my dropdown field corresponding to that row of project id. Experts please tell me how to achieve this functionality.
Thankx in Advance
Rizwan Ahmad SiddiquiThe only way you may be able to do this is using
MODULE PROCESS ON VALUE-REQUEST. User-programmer F4 help
in your PAI routine.
In this routine you would build the list and get the returned value to update the field.
Something like this.
DATA: BEGIN OF value_tab OCCURS 0,
field1 TYPE zlmltype,
field2 TYPE zltypex,
END OF value_tab.
* Drop down values
REFRESH it_return_tab. CLEAR it_return_tab.
REFRESH value_tab. CLEAR value_tab.
SELECT ltype ltypex
INTO TABLE value_tab
FROM zlmltyp
WHERE auth NE '9'. "System Only
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FIELD1'
value_org = 'S'
TABLES
value_tab = value_tab[]
return_tab = it_return_tab.
READ TABLE it_return_tab INDEX 1 INTO wa_return_tab.
CHECK sy-subrc EQ 0.
p_pleadtyp = wa_return_tab-fieldval. -
Need to prep some still photos for doc project & don't have photoshop
My producer just sent me some photos to use but they are way too hires for Final Cut and also some need to be rotated and cropped. Usually I use photoshop for this but haven't upgraded to the new version and the old version won't work with OS 10.5 so what can I use? Does Final Cut studio include software that would help me do some basic photo manipulation? I have never used Motion but it seems way too complicated for what I need to do.
Can I use iPhoto or will that compromise my picture quality in some way?
Thanks!
christyGraphicConverter.
On Apple Downloads: http://www.apple.com/downloads/macosx/imaging_3d/graphicconverter.html,
Or search for it on versiontracker.com or lemkesoft.com
It is fully functional unlicensed, but well worth the money.
Message was edited by: Nick Holmes -
Dynamic input fields for Doc Props in Batch Mode; Acrobat Pro 9
I'm using Acrobat Pro 9. I'm looking for a way for Acrobat to automatically fill/replace the Title and Subject fields of the document properties with the file name of the PDF it is processing during batch mode. Currently I have this step set to interactive and must type the name in for each file as it is processed. Is there a script I can use? A macro? Heck! A Hack? It would literally take weeks off of my monotonous work load as the file names are long and there are thousnds of them to be processed.
Thanks,
PhotonogonIf you want the file name with the path, you could add the following JavaScript:
title = path;
subject = path;
If you just want the file name:
var filename = path.split("/").pop();
title = filename;
subject = filename; -
Line Item : New dispaly field for Report generated using Tcode FBL1N
Hi Geeks,
I want to display further fields in the line item report generated using Tcode FBL1N . i have refered OSS note 373268 it only discuss about fields available from index table ( BSID/BSAD/BSIK/BASK/BSIS/BSAS ) and special field from tables ( BKPF, BSEG, BSEC, BSED... ) using FAKP .My requirement is to add NAME1 from LFA1. Pls suggest a solution.
Thanks,
KarthikHi Ushma,
Its possible.No need to cpy into Z transaction. You'll have to use a BTE for it.
Go to FIBF.
Create a 'Z' product.
Put your own. Goto settings-> P/S modules-> of a customer.
Now in the event 00001650 of z product there is a function module.
It'll be 'LINE_ITEMS_GET_GKONT'.
make a z by copying this and then put it here.
Put code in that ZLINE_ITEMS_GET_GKONT.
Also create append structure in RFPOS and RFPOSX with the fields you want.
And activate.
varun -
Populate New Value field in COPA for Previous periods
Hi All,
I have added a new value field to COPA structure and regenerated the Operating Concern. But I dont know how to populate this value field for all the exsiting records. Any help would be appreciated.
Thanks
MKRI have to manually update all the COPA tables for reporting.
Maybe you are looking for
-
Kernel panics/crashes persistent, replaced HDD, RAM, Logic board
I have a 2010 white unibody macbook that for the first couple years of it's life gave me no issues whatsoever. Recently, I upgraded from snow leopard to mountain lion and replaced my stock apple 2G RAM for two 4G sticks I bought brand new. Everything
-
"Do not Disturb" feature is not working with iOS6 update in iPhone4
I have updated iOS6 on my iphone 4. I tried to turn on "Do not Disturb" feature, schedule time then test it but it is not working. Phone is ringing with vibrate & tone. kindly fix this bug.
-
Error: Exception in thread "main" java.lang.NoClassDefFoundError:
Hi I have seen this problem on a few forums but have not found an answer that works for me, sorry if missed it!! The command I am giving is: C:\Program Files\Rococo\ImprontoSimulator\examples\echo\bin>echo-server Exception in thread "main" java.lang.
-
Iphone 3g doesnt work after ios5 upgrade
i upgraded my iphone 4 but now i can't use facebook, get my emails...anything that uses the internet isn't working anymore!! it says 'could not activate cellular data network...'etc...please help!! i can only use it for texts, phone calls and camera
-
Odd fonts in CS5 Design Premium: Hooge, Ceriph, Kroeger
What are these really ugly computer style fonts that showed up with CS5? Hooge, Ceriph, Kroeger, Mono, Monooge, Schoenecker, etc. They all look like old style computer fonts: formed of dots. Sample image below. I think this has been answered on a Fre