Partner Text in CJ20N tcode
Hello ,
Can anyone tell me how do i get the partner text in CJ20N tcode for a Project and WBS element.
In CJ20N i have a project which has 3 wbs elements . For project and WBS i have the Partner and Name resp. in the Partner TAB .
I am able to view the partner names for these but i don't know from where these name are getting populated in the grid .
Can anyone tell me the table or FM that help's me in getting the partner name for a given partner number.
Thanks,
Ravi Aswani
Hi,
You can able to retrieve all the project related information from the tables PROJ and PRPS table. Please check and get bact to me.
Similar Messages
-
Hi,
I need to get the long text that we maintained in CJ20n tcode under long text at project level. I need to display the same in Script layout or report. I didnot find any table or functional module to get it. please help me out.
regards,
ChandraHi
Double click on the Long text, it will take you to Text editor
from the Menu GOTO-> HEADER
you will find the OBJECT,ID,OBJECTNAME and LANGUAGE parameters for that lang text which are to be passed to the READ_TEXT fun module
for displaying it on report use the above fun module and fetch the text in IT_LINES internal table and write it on report output
You can also see the doc of the read_text
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
IN SCRIPTS you can use the INCLUDE statement to print the Long texts
/: INCLUDE TEXT<name> ID <id> Lang <en> paragraph <za>
Regards
Anji -
Dear Experts,
I have a task step in workflow. I use a BO method in it . In that method I need to write code to open CJ20N tcode in display mode. I want to know is there any tcode to display CJ20N in display mode. If yes then using call transaction i can go directly to that tcode.
If not then please tell me what code or procedure should i do in order to open CJ20N tcode in display mode. (As per requirement i want to open that tcode in display mode alone. No need to go back to change mode. The task is only for reviewing the tcode).Hello Bharath,
I am not sure as to whether you can call the tcode CJ20N directly in a method. Instead of that, you can use separate methods to display the project definition, WBS and Network activity.
Use the respective display methods in the following BOs...
BUS2001 -- Project Definition
BUS2054 -- WBS
BUS2002 -- Network
PSAFRU --- Network confirmation
Hope this will help you.
Thanks,
Samson -
Dear All,
Can we do CJ40 - Change Cost Planning & KKE1 - Base Planning Object through CJ20N - Project builder Transaction.
Like Easy Cost planning we can do thro' CJ20N Tcode.
Pls confirm me this feature is available in CJ20N Tcode.
Regards,
Sandeep N.TheurkarHi,
CJ40 is actually a manual cost planning method for the projects where the network costing method is not used.
So in those projects the cost planning will be done via CJ40.
And KKE1 uses the unit costing method:
This can be achieved in CJ20n, but not for the WBS elements but for the cost activities.
Assign the cost activity to any WBS element and click on the icon in costs tab where the amount is to be assigned.
this will take you to the unit costing screen..Before that select the costing variant and the abse object as desired..
Hope its useful.
Reward points if useful. Revert abck if any other issue.
Thanks.. -
Dear All,
My requirement is something like this . In cj20n tcode when i try to delete the third level WBS element i need to add some code can you plz suggest me a solution as what badi or useexit do i need to reach this functionality..
Immediat reply will be appreciated .
Thanks in advance
Regards,
Sana.Hi,
There may be lots of Badi existing for every functionality.
Hence, please put a break point on the function module: SXV_GET_CLIF_BY_NAME
And, check for the BADI.
Rgds,
Ramani N -
PS:CJ20N(Tcode) - Substitution of Network Text
Hi All,
I need to subusitute the project text to network text.
I have a Z include which gets trigerred at the time of saving - in that i am taking project description from PROJ table and passing to the field CAUFVD-KTEXT, but after this include - again the flow is going to standard the text is getting chaged to Network definition.
Please let me know how to over come from this.
Thanks
SenthilHi ,
For changing the activity user field u can use mass change option. from header menu Goto > mass change.
Rgds -
FI document Header text formation using tcode F110 (Automatic payment )
After completion of tcode F110 i.e. completion of a cycle of automatic payment transaction
Then we can see header text of created FI document number by using tcode fb03.
But the header text created through F110 has a concatenation of Run Date and Identification.
There is problem that how it can happen?
I have gone through all program code; there is no such direct coding for concatenation of header text, rather concatenate happens at different level of coding.
We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
Any one has any IDEA regarding this?
Thanks,
SuyogHi
I'm not sure it's helpful answer. The code below shows the way to change FI document header text (BKPF-BKTXT).
tables: bkdf, bkpf, bsec, bsed, bseg, bset.
constants: c_bukrs type bkpf-bukrs value '11',
c_belnr type bkpf-belnr value '1900000001',
c_gjahr type bkpf-gjahr value '2011'.
data: t_bkdf type standard table of bkdf with header line,
t_bkpf type standard table of bkpf with header line,
t_bsec type standard table of bsec with header line,
t_bsed type standard table of bsed with header line,
t_bseg type standard table of bseg with header line,
t_bset type standard table of bset with header line.
start-of-selection.
* BKDF
select *
from bkdf
into table t_bkdf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BKPF
select *
from bkpf
into table t_bkpf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
loop at t_bkpf.
concatenate t_bkpf-bktxt '-R'
into t_bkpf-bktxt.
modify t_bkpf.
endloop.
* BSEC
select *
from bsec
into table t_bsec
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSED
select *
from bsed
into table t_bsed
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSEG
select *
from bseg
into table t_bseg
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSET
select *
from bset
into table t_bset
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
end-of-selection.
call function 'CHANGE_DOCUMENT'
tables
t_bkdf = t_bkdf
t_bkpf = t_bkpf
t_bsec = t_bsec
t_bsed = t_bsed
t_bseg = t_bseg
t_bset = t_bset
* T_BSEG_ADD =
hope it's help.
Peerasit -
Where to find "Partner Text", field from inside transaction IW33?
Hi all!
Inside the transaction IW33, there is a folder/screen Partner. Inside this Partner screen it is a field u201CNameu201D. This is the third line from left. Do anyone now where in the database the data inside the field u201CNameu201D is been read? If I look into the technical details, I do only se the structure name. And that is DIADR-NAME_LIST. I do want to find out where this data has been read from.Hi,
In Tcode: ME42, enter the request for quotation number (RFQ) and press enter. System will take you to 'Item Overview' screen. From menu select 'Header' -- 'Details' or press F6. Then the system will take you to 'Header screen' there you can see the 'company code' after RFQ number field.
Or
Directly from Tcode: ME42, enter the request for quotation number,then from menu select 'Header' -- details. Here you can have the company code field.
The data for company here too will get updated in table and field EKKO-BUKRS.
Hope this helps.
Thanks,
Viswanath -
Is there Method to make Header Text empty for Tcode: COR1?
When we use tcode COR1 to create a process order, there is a long text near by the process order number. Generally, after we create a process order, the long text will be filled by relevant material description in my Production system, My requirement is that when I create a process order, the long text should be Empty or should be filled by specific value automatically.
Please suggest how to do this????
Thanks in Advance
MudassarHi,
There are a lot of Exits for COR1 and otherwise try the (new) possibility of program enhancement.
Exits on COR1:
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determinatio
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
Success,
Rob -
Recording 'partners' and 'texts' in VA01 Tcode
Hi,
while recording VA01 tcode i'm not able to record partners and also texts.
can any one tell me how to record the partners and texts in VA01.
Thanks & Regards,
Prasad.Prasad,
In regards to Text, you can save text using FM 'SAVE_TEXT' provided you know the ID and OBJECT. For Sales Order Header text usually the OBJECT is 'VBBK' and the NUMBER is '<SO Number>'. For Sales Order Item text usually the OBJECT is 'VBBP' and the NUMBER is '<SO Number><Item Number>'. You will have to find out the ID of the Text from its attributes.
Thanks -
Hi All,
I wish to delete a text object on a business partner. I have tried using the FM 'DELETE_TEXT' and it is causing me issues.
Is there anyother way I can delete this text object?
Many Thanks,
ColmHello Colm,
You have to fill SAVEMODE_DIRECT parameter with 'X'.
An example:
CLIENT = 010
ID = 0001
LANGUAGE = PT
NAME = PT10000000
OBJECT = BUT000
SAVEMODE_DIRECT =X
Kind regards.
Bruno -
Hii Friends....
I am currently working for a smartform where i want to fetch text elements from IW32 .In IW32 the user enters texts in every components or materials .My requirement is to fetch those text. I tried it using READ_TEXT_ELEMENTS function module but could not fetch it..
Can anyone know any other alternative to fetch the data.
Regards,
Sany.Use FM READ_TEXT to read texts.
Text Name 020100000004100000001(client order, item)
Language EN
Text ID AVOT Transaction text
Text object AUFK Order text
You can find more about text id and text object by selecting the text button. Now in the sap script editor choose the GoTo Menu button on top and select header. A popup has all the details which can be used in the READ_TEXT FM. -
Import a text file of Tcode in PFCG to generate roles
Hi All
For generating large files by module we get the list of transactions by module from the applicative components.
The problem is that the upload functionality of a flat text doesn't work.
Does anyone know how to transfer like 700 to 1000 transactions from a file or a context screen to the PFCG menu ?
Without doing a paste and copy modulo 8 lines ?
thanks> The problem is that the upload functionality of a flat text doesn't work.
PFCG has its own upload file format, described in [note 389675|https://service.sap.com/sap/support/notes/389675]. This note comes with an example file. -
IT 1008 tab is missing text in PPOME tcode.
Hello Experts,
We have added Infotype 1008 as tab page in PPOME. While viewing the tab page it shows up the input fields but once the values are entered the text description of inserted value does not show up.
The IT 1008 uses programme MP100800 and Screen 7000.
thanks
SunnyHi Jürgen L. ,
This problem is not yet resolved.
I have checked for all the Doc type by changing the Text filed as optional, still it is not appearing, I have replied to you also.
Pls can you help me out.
is thr any wey like can it got suppressed,
How tis is supressed.
Regards, -
Partner profit center in tcode FB50
Hi friends,
i have a requirement . i need to derive partner profit center in transaction FB50 using BADI FAGL_DEFPPRCTR .but when i am trying to do that it is giving error as BALANCING FIELD PROFIT CENTRE IN LINE ITEM 002 is not filled.is it a config issue or is there any other way we can derive that.
please give me a solution.
thanks and regards
srinivasHi Srini,
In that case, you are not using substitutions in your system. You would be having program RGGBS000 in your system. Also check if you have any entry in table T80D with input as Application area = 'GBLS'.
Pls ask your functional consultant if you can go ahead substitution or probably you would be using BTE's in your system. Please confirm
Cheers,
Vikram
Maybe you are looking for
-
Running a Swing program from another program
I'm having what is most likely newbie problems since I'm relatively new to Swing programming. Basically my situation is this: I've got a program that looks at its command line parameters and either runs through a series of actions or presents a Swing
-
"some audio data is no longer available"
How can I resolve this file problem? I spent a couple of hours recording a narration as a STAP file that was about 30 minutes long. After the recording (the second action after "Empty File") I added several actions to delete unwanted portions (errors
-
Can't display a Tile Layer using JAVA API V2 (based on HTML5)
Hi Experts, I am trying to display a tile layer using JAVA API V2 but i get the below error and nothing shows after that. MAPVIEWER-05501: Map tile layer not found. Check map tile layer name and/or data source name. Source: OM.layer.Tilelayer.getTile
-
Sync itunes from Apple desktop to macBook Pro
I have my iTunes on my apple mac and wnat to sync it so i have it all on my laptop (a macbook pro) when i travel so i can sync my iPhone iwh tlaptop as well as desk top. Can it be done? and if so, how?
-
Data Source for 0CANC_DATE
Hi Experts, I Cannot find any data source for 0CANC_DATE. ¿Can anyone please help me with this? Thanks! Artur.