2009 Jun 11 7:37 AM
Hi,
How can I create article throug bapi BAPI_MATERIAL_MAINTAINDATA_RT.
What all inputs are required?
Is it neccesarry to give material number, can't it generate automatically?
Reagrds,
Divya
hi Divya,
You can mention the views in the bapi there is importing parameter
HEADDATA LIKE BAPIE1MATHEAD
in this u will find all views wat all views u want to use pass an X in that view..
revert for further issues..
Regards,
Gaurav
2009 Jun 15 8:39 AM
2009 Jun 18 10:50 AM
Hi,
I am able to create material but the BAPI dont have provision to create Purcasing view of article/material...
So do we have any function module to create purcasing view of material?
Or any other BAPI to create article
Pls reply someoe
Regards,
Divya
2010 Jun 15 10:06 AM
Hi Divya,
Use following function module to generate new material number.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = NUMKR = 01
OBJECT = NUMKR_OBJ ('MATERIALNR')
IMPORTING
NUMBER = MATNR <<<<<<<<<<<<<= New Material number
RETURNCODE = RCODE_NUMBER_GET.
Regards
Dhirendra
2010 Jun 15 10:22 AM
hi Divya,
You can mention the views in the bapi there is importing parameter
HEADDATA LIKE BAPIE1MATHEAD
in this u will find all views wat all views u want to use pass an X in that view..
revert for further issues..
Regards,
Gaurav
2010 Jun 15 10:36 AM
Hi Divya,
In BAPI BAPI_MATERIAL_MAINTAINDATA_RT does not contain any field to select purchasing view.
For purchasin view:
After material creation you have to write BDC
or you have to use any FM or you can use IDOC INFREC to create purchase info record for that material
I used INFREC IDOC to create purchse view.
Regards,
Narendra Goyal
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |