Skip to Content
author's profile photo Former Member
Former Member

how to select the data for the ci include fields in pnp LDB

my structure of p9380

.INCLUDE PS9380 STRU 0

CAREA CMP_AREA CHAR 2

CTYPE CMP_TYPE CHAR 4

CPLAN CMP_PLAN CHAR 4

CSTAT CMP_STATUS CHAR 1

CPROC CMP_PROC CHAR 2

CPIND P_CPIND CHAR 1

TRFAR P_SLTYP CHAR 2

TRFGB P_SLREG CHAR 2

TRFGR P_SLGRP CHAR 8

TRFST P_SLLVL CHAR 2

BSWGT CMP_BSWGT CHAR 4

BSSAL CMP_BSSAL CURR 15

BSCUR CMP_BSCUR CUKY 5

.INCLUDE CI_P9380 STRU 0

ZZBCMPR ZBCMPR DEC 5

ZZNBSAL ZNBSAL CURR 15

ZZNCMPR ZNCMPR DEC 5

infotypes : 0000,0001,0008,9380.

when i use p9380-zznbsal in the program .

its throwing an error 'The data object "P9380" does not have a component called "ZZNBSAL".'

its true since it will include only the ps9380 structure .

can any one provide me the solution how to use the field zznbsal in the program. i will be greatful to you.

thanks

senthil bala

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2005 at 02:48 PM

    Hi Senthil,

    Looking at the definition of your structure I can't see any reason for the error.

    Perhaps the easiest way to solve this is to define a variable of type p9380 and set a breakpoint in the program. Then look at the structure of this variable in the debugger which might give you a clue about your problem.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2005 at 02:52 PM

    Did you make sure to activate the infotype structure after you made the changes?

    I had to add fields to the CI_INCLUDE of an SAP infotype (as opposed to a custom infotype), and the ci_include itself does not have a data type. It's just blank.

    .include ci_p0565 0

    I noticed yours had data type stru. I don't know if that would matter, but it may be worth a shot.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.