‎2009 Apr 13 9:48 AM
Hi Experts
While executing the std BAPI_MATERIAL_GETLIST, What could be the reason?
I am not getting any records as output. It accepts only the number of records to be pulled as input. Is there any possibility/options for me to specify my own selection parameters to this BAPI?
Plz suggest.
Rgds
BD
‎2009 Apr 13 10:03 AM
Hi,
U need to give the maertial number range(s) int the table 'MATNRSELECTION'
and other selection criterion in the tables . Only then it will fetch results.
Hope it helps,
Rajat
‎2009 Apr 13 9:59 AM
To pass your own option you will have to copy this bapi and create a z bapi .
In that you will have to do modifications to input your parameters and modify the output accordingly.
Regards,
Lalit Mohan GUpta.
‎2009 Apr 13 10:03 AM
Hi,
U need to give the maertial number range(s) int the table 'MATNRSELECTION'
and other selection criterion in the tables . Only then it will fetch results.
Hope it helps,
Rajat
‎2009 Apr 13 10:13 AM
Hi Rajath/Venkat
How can I give the range values (Sign, Option, MATNR_LOW and MATNR_HIGH) in the MATNRSELECTION table?
Please tell me the steps to follow.
Rgds
BD
<text removed>
Edited by: Matt on Apr 13, 2009 1:00 PM - do not hurry people up
‎2009 Apr 13 10:45 AM
Its same as the select options.
eg Table MATNRSELECTION, I can give test entries as
Sign = 'I'.
OP = 'EQ', 'BT', 'NE' etc....
and then you define range in fields MATNR_LOW and MATNR_HIGH.
The entries lying within the range will be displayed.
Hope it helps,
RJ
‎2009 Apr 13 10:47 AM
Hi Rajat
I want to know HOW TO set up these parameter values (range)?
Which TCode and/or steps to follow for this? Or we need to pass these values in BAPI source code?
Plz reply.......
‎2009 Apr 13 11:30 AM
Not sure if I'm getting ur question correctly....
But you can use a BAPI just like a FM in your code.
You can test the output in transaction SE37.
Is this wht u r looking for???
-RJ
‎2009 Apr 13 11:33 AM
Hi Rajat
Nope. My question is:
I want to set the range MATNRSELECTION as follows:
Sign - I
Option - BT
Low - 1000
High - 1000000
How and where to go to set it like this?
Please reply.
‎2009 Apr 13 11:45 AM
Hi,
You can do so in SE37.
Give the BAPI Name and execute. A test frame is displayed.
Now click on the square icon just before the table name.
it will display another screen. Here you can set these values.
Hope this helps,
RJ
‎2009 Apr 13 11:53 AM
Hi Rajath
I could follow the steps told by you. Thx a lot. But, in this method, I need to set this each time I execute the BAPI.
Is there a way that I can set the values on a permanent basis?
Also
What are the Sign and Option stand for? What are the possible values for these two parameters?
Please suggest.
‎2009 Apr 13 12:02 PM
Please read the Rules of Engagement
Saying that your question is u.rgent, or asking for response ASAP is usually considered to be quite rude on internet forums.
Thank-you for your understanding and cooperation in this.
As for your question. In order to create the selections permanently, you write a program that calls the BAPI, with the relevant selections. SE37 test framework is only for testing - not for productive use!
matt
Edited by: Matt on Apr 13, 2009 1:03 PM
‎2009 Apr 13 12:11 PM
Hi Rajath
I could follow the steps told by you. Thx a lot. But, in this method, I need to set this each time I execute the BAPI.
Is there a way that I can set the values on a permanent basis - other than through separate program (as said by Matt)?
Also
What are the Sign and Option stand for? What are the possible values for these two parameters?
Please suggest.
‎2009 Apr 13 12:33 PM
Not, it is not possibe without writing some code. I suggest you do some reading about the bapi concept, as there seems to be a foundational misunderstanding about what it is.
matt
‎2009 Apr 14 6:51 AM
‎2009 Apr 14 6:57 AM
hi,
Sign...
you can have only two values in it...
'I' stands for 'Include'
'E' stands for 'Exclude'.
Option...
'EQ' = Equals,
'NE' = not equals,
'GT' = Greater than,
'GE' = Greater than or equals to
'LE' = less than or equal to
'LT' = less than
'BT' = Between
‎2009 Apr 13 10:07 AM
hi ,
U must be getting an error in the return parameter.But it might be residing in the work area of the return parameter. Either append the work area in an internal table or directly access the work area.....
regards,
Ajit
‎2009 Apr 13 10:07 AM