Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi

Former Member
0 Likes
512

hi experts

while i am going to print bapi structure bapi_marc it gives error msg like "bapi_marc can't be converted to be a character type field plz clarify

regards

chiya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
490

hi

do some thing like this..

write:/ bapi_marc-field1,
bapi_marc-field2,
bapi_marc-field3,
bapi_marc-field4,
....

it will work...

vijay

5 REPLIES 5
Read only

Former Member
0 Likes
491

hi

do some thing like this..

write:/ bapi_marc-field1,
bapi_marc-field2,
bapi_marc-field3,
bapi_marc-field4,
....

it will work...

vijay

Read only

Former Member
0 Likes
490

Hi Chiya raj,

Am not facing this problem...

Did u go by this navigation...

structure->print->print->print preview or print

It just showed the print preview of structure bapi_marc...

Regards,

Raj

Read only

Former Member
0 Likes
490

write:/ bapi_marc-PLANT,

bapi_marc-DEL_FLAG,

bapi_marc-ABC_ID,

bapi_marc-CRIT_PART,

bapi_marc-PUR_GROUP,

bapi_marc-ISSUE_UNIT,

bapi_marc-ISSUE_UNIT_ISO,

bapi_marc-MRPPROFILE,

bapi_marc-MRP_TYPE,

bapi_marc-MRP_CTRLER,

bapi_marc-PLND_DELRY,

bapi_marc-GR_PR_TIME,

bapi_marc-PERIOD_IND,

bapi_marc-ASSY_SCRAP,

bapi_marc-LOTSIZEKEY,

bapi_marc-PROC_TYPE,

bapi_marc-SPPROCTYPE,

bapi_marc-REORDER_PT,

......

since there are some quantity fields you cannot use directly...

vijay

Read only

Former Member
0 Likes
490

Hi Chiya,

how are you printing the this structure.

Goto Se11 type the structure name in DATA Type say Display and then simply click on print button on the menu bar.

I just tried the same from my system it worked fine.

If still there's a problem, contact your basis administrator, there may be some issues in the SAP Printer settings.

Hope it helps...

Pls. reward appropriate points by clicking on the stars on the left side.

Lokesh

Read only

Former Member
0 Likes
490

Hi Chiya,

As i understand from ur Q, that u r trying to print data of BAPI structure BAPI_MARC. If this i am write, let me tell u, <b>one cannot print Structure/Internal table contents with just its name if it consists of Non Char fields like DEC/QUANTITY etc.,</b>

and u can observe that the structure has these type of fields. so write ur output by specifying <b>structure-fieldname</b>

Hope this clears ur doubt

Regards,

Lakshmi