2009 Feb 27 9:33 AM
Hi,
I tried BAPI and IDOC method to create a Characteristic by LSMW using the businessobject BUS1088.
But the problem is like the BAPI takes two fields Reference Table and Reference Field without which the document is not getting posted and Characteristic is not getting created.
BAPI :Object: BUS1088.
FM: BAPI_CHARACT_CREATE.
IDOC : Basic Type: CHRMAS01
Msg type :CHRMAS
But these values will not be provided for all Characteristics by the Functional.
Please help me how to solve this issue.
Thanks in Advance,
Priyanka.
Hi,
I tried BAPI and IDOC method to create a Characteristic by LSMW using the businessobject BUS1088.
But the problem is like the BAPI takes two fields Reference Table and Reference Field without which the document is not getting posted and Characteristic is not getting created.
BAPI :Object: BUS1088.
FM: BAPI_CHARACT_CREATE.
IDOC : Basic Type: CHRMAS01
Msg type :CHRMAS
But these values will not be provided for all Characteristics by the Functional.
Please help me how to solve this issue.
Thanks in Advance,
Priyanka.
2009 Feb 27 11:06 AM
Hi,
In BAPI 'BAPI_CHARACT_CREATE' the table CHARACTREFERENCES which contain the value reference table and reference field is not mandatory.
You can create characteristics without these enteries.
Makesure data is passed correctly in description table CHARACTDESCR which in turn is mandatory to be passed.
The error might be because of some other reasons. Please check the records which are resulting in error.
Regards,
Brajvir
2009 Feb 27 11:47 AM
Hi... Thanks for the reply.
What you said is right..but i am calling the BAPI through LSMW and there it is checking those fields with out which the IDOC is not getting posted.
I tried using teh BAPI in ABAP Program also but still it is giving the same values.
Please suggest me on this.
Thanks in Advance,
Priyanka.
2009 Mar 02 9:18 AM
Hi,
Try incorporating IF field NOT INITIAL condition. If no data is there in source file then dese fields should be kept as initial.
Hope this one solves your problem, as mine one is working fine.
Regards,
Brajvir