on 09-25-2009 12:56 PM
I need to attach the transaction J1B3N to keep the connection objects.
Perform the steps as the help of SAP:
Object links to other SAP objects
You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140 .
The processing logic must follow that of screen 1204 in program SAPLVC130.
Create function module OBJECT_CHECK_XXXX (XXXX = object name)
If the object can be classified, this function module already exists .
Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
After performing these steps can see the screen with the number of document tab Link Object, but I am having the following problem: I inform the document number field and press Enter this number some of the screen.
Already remade several times but can not find the point I'm failing.
Thank you,
Hi Michely,
could you please check if the necessary object is correctly mainatined in structure MCDOKOB too. Here the following coding part could be useful to analyse why the value disappears after hitting enter:
Main Program SAPLCVOB
Source code of LCVOBU02
FUNCTION KEY_ZU_OBJEKT
SELECT SINGLE * FROM TCLO
WHERE OBTAB EQ OBJEKT.
IF SY-SUBRC NE 0.
RAISE NO_OBJEKT.
ENDIF.
NAME = 'MCDOKOB'.
IF NAME CP '*# '. ENDIF.
WRITE '-' TO NAME+SY-FDPOS.
IF NAME CP '*# '. ENDIF.
IF NOT TCLO-KEYF0 IS INITIAL.
WRITE TCLO-KEYF0 TO NAME+SY-FDPOS.
ASSIGN TABLE FIELD (NAME) TO <KEYF1>.
DESCRIBE FIELD <KEYF1> LENGTH LEN1 IN CHARACTER MODE.
KEY1 = NAME.
ENDIF.
IF TCLO-KEYF0 EQ SPACE.
KEY1 = ' '.
LEN1 = 0.
ENDIF.
Here the keyfield is read from table TCLO and then the length is read from structure MCDOKOB for example. So it is necessary that the same data is maintained in table TCLO and structure MCDOKOB to grant the correct working for new individual objects.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.