on 11-29-2005 3:46 PM
Ok experts, really need you help with this one. I'm upload routings via direct input program RCPTRA02 in LSMW. I need to attach an object dependecy to the operation. I think that I have all the field values that I need, but it does not update when the routings is created. Everthing else is there except for the assigned object dependency. Anyone have any clue what I'm missing here? I implemented a note that I thought would help, but it didn't. Really need some help with this one....
Here is a look at my LSMW structure that I'm using for the assignment of dependencies.
RCUOB1_DS Assignment of dependencies in DIRECT INPUT (datasets)
5 Fields
ACTTYP Processing type for objects to be imported
Rule : Constant
Coding: RCUOB1_DS-ACTTYP = 'H'.
OBJ Data objects of a task list
Rule : Constant
Coding: RCUOB1_DS-OBJ = 'O'.
PLNAL Group counter
Rule : Constant
Coding: RCUOB1_DS-PLNAL = '01'.
PLNFL Sequence
Rule : Constant
Coding: RCUOB1_DS-PLNFL = '000000'.
VORNR Operation/Activity Number
Source: ROUTINGSD-OPERATION (operation)
Rule : Transfer (MOVE)
Coding: RCUOB1_DS-VORNR = ROUTINGSD-OPERATION.
VORKN Node number (batch input)
UVORN Operation/Activity Number
Rule : Constant
Coding: RCUOB1_DS-UVORN = ''.
UVOKN Node number (batch input)
PSNFH Item number of the production resource/tool (batch input)
PZLFH Counter for production resource/tool items (batch input)
KN_AL_FROM Character field length = 10
KN_AL_TO Character field length = 10
5 RCUOB2_DS API structure for dependency assignments (for datasets)
5 Fields
KNNAM Name of dependency
Source: ROUTINGSD-OBJDEP (Object Dependency)
Rule : Transfer (MOVE)
Coding: RCUOB2_DS-KNNAM = ROUTINGSD-OBJDEP.
XKNNAM Name of dependency
Source: ROUTINGSD-OBJDEP (Object Dependency)
Rule : Transfer (MOVE)
Coding: RCUOB2_DS-XKNNAM = ROUTINGSD-OBJDEP.
KNSRT Counter for sorting object assignments (Batch-Input)
LKENZ Deletion indicator
Regards,
Rich Heilman
Hi Rich - which note did you put in?
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rich!
To get a starting, I would like to know two other information:
Does your execution of the direct input stop by in FM CP_BD_EDIT_KNOWLEDGE?
When you take one of your import data and test FM CUKD_API_DEP_READ, is this successfull?
If ...edit_knowledge isn't called, something with assignments / customizing is wrong. In case of wrong customizing, also manual maintenance would run into problems, but it might also be a problem with specific masterdata of this route / wrong (not enough fields field) calling of the DI.
In case api_dep_read won't work - maybe some global data is missing, then sorry for this test, but also wrong import data might be identified this way.
But of course this is difficult to check 'offline'. I hope my comments are of any help...
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I got it. I knew it had to be something simple. Here I need to have a kind of couter(from and to)
<b>
KN_AL_FROM Character field length = 10
Coding: * Target field: RCUOB1_DS-KN_AL_FROM Character field length = 10
RCUOB1_DS-KN_AL_FROM = sy-tabix.
KN_AL_TO Character field length = 10
Coding: RCUOB1_DS-KN_AL_TO = sy-tabix. </b>
I set these counters to sy-tabix, and now all is well. Works very good now. I've tested with mulitple operations per routing and mulitple routings. No problems. Thanks for the replies anyway.
It was note 526351 .
Regards,
Rich Heilman
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.