Creation of Compliance BOM using PSS
Hello
I am very much new to this module and have never worked before.
I would like to know how to create Compliance BOM from PSM using PSS.
Thanks & Regards
Satish
Dear Stash
no idea what you are looking for. I found only this link:
Essentials of SAP PLM 7.01, Engineering BOM and Product Structure Synchronization (PSS) (26APR11) - LeverX
But may be check:
Bill of Substance –Bill of material (BOSBOM)
BOM BOS Interface
C.B.
PS: please explain your terms. Is PSS like: "SAP Product Structure Synchronization" and PSM like "Funds Management Integration (PSM-FM)" (never heard about this module before)
Similar Messages
-
Creation of Variant BOM using Simple BOM
Hi
I am havign a production BOM, i wanted to create Variant BOM using Production BOM.
Pls let me know, whether we have any Function modules for the same.
Regards
MDcheck SAP std.program to create variant BOM .
<b>RCSBI030</b>
Regards
Prabhu -
Issues during creation and maintenance of BOM using FM's
I am facing problems while using FM's BAPI_MATERIAL_BOM_GROUP_CREATE , CSAP_MAT_BOM_CREATE .
Previously i was using CSAP_MAT_BOM_CREATE but it did not support creation of another alternative bom if there already exists one for the same material,plant,usage.
So i started using BAPI_MATERIAL_BOM_GROUP_CREATE. This bapi supports creation of alternative BOM's but i have a requirement that i need to create items with a specific item id.
The Bapi's interface has a item table which has a field item_id which i am filling up but internally this bapi converts it into a structure using FM 'MAP2I_BAPI1080_ITM_C_TO_ITM_CL.'
But this FM does not transfer the item_id from the bapi's structure into the internal structure field ident. The FM being called from this bapi for creating items - CS_CL_S_ITM_CREATE uses this ident field for updating item id in an item but this field is empty.Do you have any idea how this issue can be resolved ?
Also similar to BAPI_MATERIAL_BOM_GROUP_CREATE i was not able to find a BAPI for changing an existing BOM.Currently i am using CSAP_MAT_BOM_MAINTAIN.
Can anyone please help me out with these issues .To enable and protect the variant maintenance of a report, it needs an S_PROGRAM group on it (see report RSCSAUTH).
Via S_PROGRAM p_action = 'VARIANT' those users can then maintain the variants AND also submit the reports via report trees or transactions (including SA38 for example).
To make the variant user specific for maintaining it but not restricting the ability to use it, take a look in transaction VARCH at the "Protection" flag (this is user specific then, for the current user who sets the flag first).
Also see the SAP notes and discussions here about report RSVARENT - for globally unlocking the protection (to be used and protected itself with caution).
To lock them down beyond the reach of the user's normal authority, you can also create custom system variants in client 000.
Cheers,
Julius
Edited by: Julius Bussche on Jan 13, 2009 6:07 PM -
BAPI for creation of Equipment BOM
Which BAPI is used for creation of Equipment BOM?
Hi,
Check this Code, it works:
DATA ecsin TYPE csin.
DATA estkob TYPE stkob .
DATA estzub TYPE stzub .
DATA astlnr TYPE stzub-stlnr .
DATA t_stpob TYPE STANDARD TABLE OF stpob WITH HEADER LINE .
PARAMETERS: pa_equnr TYPE equnr DEFAULT '1500037'. "Your Equipment.
START-OF-SELECTION.
ecsin-equnr = pa_equnr.
ecsin-stlty = 'E' .
ecsin-stlan = '4' .
ecsin-werks = 'C002'. "Your Plant.
ecsin-datuv = '20130101'.
estkob-bmein = 'ST'.
estkob-bmeng = 1.
estkob-stktx = 'TEST'.
t_stpob-stlty = 'M' .
t_stpob-postp = 'L' .
t_stpob-idnrk = '000000000040002882'. "Your Component.
t_stpob-meins = 'ST' .
t_stpob-menge = 1 .
t_stpob-rvrel = 'X' .
APPEND t_stpob .
t_stpob-menge = 2.
t_stpob-idnrk = '000000000040002877'. "Your Component.
APPEND t_stpob.
CALL FUNCTION 'CSAI_BOM_CREATE'
EXPORTING
ecsin = ecsin
estkob = estkob
estzub = estzub
* FL_NO_CHANGE_DOC = ' '
* FL_COMMIT_AND_WAIT = ' '
* FL_NO_COMMIT_WORK = ' '
* FL_ALE = ' '
IMPORTING
* FL_WARNING =
astlnr = astlnr
TABLES
t_stpob = t_stpob
EXCEPTIONS
error = 1
OTHERS = 2.
IF astlnr IS INITIAL.
****ERROR.
ENDIF.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Sergio. -
How to Create Fixed Bom using BAPI
Hi all,
Iam using the BAPI "BAPI_BOM_UPLOAD_SAVE" for creation of Fixed BOM of Materials.
I don't know how that is used,I mean i don't know the inputs,
Pls can any one Provide me TEST DATA for this Bapi.
or a sample Program how fixed bom is created.and how can we know thet bom has been created.
for e.g if we create super bom ,the Bom links are stored in cs41,so we are able to know super bom has been created but how to check for fixed bom.is that the same for fixed also.
i have some inputs and with that inputs ,BOM is not being created and the BAPI return table type was E.Hi,
The FM BAPI_BOM_UPLOAD_SAVE is using CSAP_MAT_BOM_CREATE to create the BOM but it does not have any option to specify the alternative to be created.Look for some other FM if you need to create an alternative BOM.Check if the FM BAPI_MATERIAL_BOM_GROUP_CREATE can be used as an alternative
also check this FM.
CS_BI_BOM_CREATE_BATCH_INPUT1 - Create a new BOM or New Alt. BOM.
CS_BC_BOM_CHANGE_BATCH_INPUT - Maintain the BOM.
<b>Reward points</b>
Regards -
Creation of Altrenate BOM designators
Hi,
Can any one help me out in creation of alternate BOM designators.
Do we have any API for creation of alternate BOM designators or is it a direct base table insert into bom_alternate_designators.
Thanks in advance.Hi,
Generally we define an alternate name and it is can be used for all the BOM's and routings so we do need to have too many different alternates.
How many alternates do you have?
Karthik. -
Issue with creation of custom layouts using SAP Help Documentation
Hi Experts,
My requirement is to create a home custom page layout (using web dynpro) in Composite Environment. The default options available in CE are not useful for me. I set out to make a custom layout using the following this SAP Help Documentation: [ Creating a Web Dynpro Page Layout (SAP Library - Using the Portal as a Frontend)|https://cw.sdn.sap.com/cw/docs/DOC-102846]
I have followed the instructions and followed all the steps, yet I fail to see the application in CE. The custom page layout is not displayed neither in options and is not available any where.
Please let me know if anybody followed these steps and have got any success.
Thanks in advance
SrikantHi
Can somebody let me know if they have implemented a customised solution of creation of page layouts using Web Dynpro - as per the steps suggested by SAP.
Thanks in advance
Srikant -
Error while creating BOM using BAPI 'BAPI_BOM_UPLOAD_SAVE'
Hi All,
We are getting an error as 'Data is incomplete' while trying to create BoM using the bapi 'BAPI_BOM_UPLOAD_SAVE', if the item contains Item category as 'T'. But for other item category like 'L' or 'N', the bapi is sucessfull.
The values that we pass to fill the item category 'T' are operation, item_cat, bom_itm_no, COMPON_QTY, FIXED_QTY as 'X', UNMEAS as 'ST', ITEM_TEXT1 and ITEM_TEXT2.
Anyone who has faced same problem or has a solution to the problem, kindly provide a solution.
Regards,
VijayThe error you receive is because of different config for different Item Categories. Find out from the functional team what fields have they kept mandatory for the item category 'T'. You may not be passing one of those fields in the BAPI.
Try creating a BOM manually for item category 'T' and you may figure our which field you are missing. -
Error while creating BOM using BAPI (urgent)
Hi all,
Thanks for ur help. i am getting some error while creting a BOM using that BAPI
BAPI_MATERIAL_BOM_GROUP_CREATE.
errors are
1) Error/warning when checking the structure of the BOM group with ID =
2)Alternative does not exist for material assignment to material BAPIBOMFG1
is it mandatory to pass the bom group id to this bapi?
In bomgroup structure , i am not passing anything to BOM_GROUP field.
is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
regards
pabitra
report z_bom_create
line-size 132
line-count 65
no standard page heading.
*-- DATA DECLARATION--
include <icon> .
*---Tables
tables : s076, t100, marc .
*---Types
types : begin of t_upload, " Upload file data
col1(18),
col2(10),
col3(30),
col4(12),
col5(50),
end of t_upload,
begin of t_split,
location like stpu-ebort,
end of t_split.
data:begin of i_return occurs 10.
include structure bapiret2.
data:end of i_return.
types:begin of t_item."occurs 10.
include structure BAPI1080_ITM_C.
types:end of t_item.
types:begin of t_subitem." occurs 10.
include structure BAPI1080_SUI_C.
types:end of t_subitem.
types:begin of t_header." occurs 10.
include structure BAPI1080_MBM_C.
types:end of t_header.
types:begin of t_bomgroup." occurs 10.
include structure BAPI1080_BGR_C.
types:end of t_bomgroup.
types:begin of t_variant." occurs 10.
include structure BAPI1080_BOM_C.
types:end of t_variant.
*--- Tables
data: i_upload type standard table of t_upload, " to hold data
i_upload1 type standard table of t_upload,
i_split type standard table of t_split,
i_item type standard table of t_item,
i_subitem type standard table of t_subitem,
i_header type standard table of t_header,
i_bomgroup type standard table of t_bomgroup,
i_variant type standard table of t_variant.
data: wa_upload type t_upload, " to hold file data,
wa_upload1 type t_upload, " to hold plan data,
wa_split type t_split,
wa_item type t_item,
wa_subitem type t_subitem,
wa_header type t_header,
wa_bomgroup type t_bomgroup,
wa_variant type t_variant.
data:v_matnr like mara-matnr,
v_start like sy-index,
v_count(3) type c.
*--Constants
data: c_dot type c value '.',
c_x type c value 'X',
c_comma type c value ','.
-------Selection Screen Design -
*Selection screen for input of upload file address
selection-screen skip 2.
selection-screen begin of block blk1 with frame.
parameters : p_file like rlgrap-filename obligatory .
parameters : p_matnr like mara-matnr obligatory,
p_werks like marc-werks obligatory memory id wrk,
p_stlan like afko-stlan obligatory default '1' .
selection-screen end of block blk1.
---AT SELECTION SCREEN -
at selection-screen on value-request for p_file.
*--For popup to select file.
perform f_give_help.
at selection-screen on p_matnr.
perform f_check_matnr.
-----START OF SELECTION -
*--Data upload using WS_Upload.
perform f_get_data.
perform f_get_bom_data.
perform f_get_bom_data1.
perform f_call_bapi.
*& Form f_give_help
text
--> p1 text
<-- p2 text
FORM f_give_help.
call function 'WS_FILENAME_GET'
exporting
mask = ',.,..'
mode = 'O'
importing
filename = p_file
exceptions
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
others = 5.
if sy-subrc <> 0 and not sy-msgty is initial.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM. " f_give_help
*& Form f_check_matnr
text
--> p1 text
<-- p2 text
FORM f_check_matnr.
CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
EXPORTING
MATERIAL = p_matnr
PLANT = p_werks
BOMUSAGE = '1'
VALID_FROM_DATE =
VALID_TO_DATE =
TABLES
RETURN = i_return.
ENDFORM. " f_check_matnr
*& Form f_get_data
text
--> p1 text
<-- p2 text
FORM f_get_data.
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
tables
data_tab = i_upload
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
others = 10
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM. " f_get_data
*& Form f_get_bom_data
text
--> p1 text
<-- p2 text
FORM f_get_bom_data.
delete i_upload where col1 is initial.
delete i_upload where col1 cs 'ITEM'.
read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
if sy-subrc = 0.
v_matnr = wa_upload-col2.
if v_matnr <> p_matnr.
message e001(zl) with p_matnr.
endif.
else.
message e000(zl).
endif.
ENDFORM. " f_get_bom_data
*& Form f_get_bom_data1
text
--> p1 text
<-- p2 text
FORM f_get_bom_data1.
loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
v_start = sy-tabix + 1.
loop at i_upload into wa_upload1 from v_start .
if wa_upload1-col1 cs 'FINISHED GOOD'.
exit.
else.
perform f_split_upload_data.
endif.
endloop.
endloop.
ENDFORM. " f_get_bom_data1
*& Form f_split_upload_data
text
--> p1 text
<-- p2 text
FORM f_split_upload_data.
if not wa_upload1-col5 is initial.
if wa_upload1-col5 cs c_comma.
split wa_upload1-col5 at c_comma into table i_split.
loop at i_split into wa_split.
v_count = v_count + 1.
endloop.
if wa_upload1-col4 <> v_count.
wa_upload1-col4 = v_count.
endif.
clear wa_upload1-col5.
clear wa_split.
loop at i_split into wa_split.
wa_upload1-col5 = wa_split-location.
append wa_upload1 to i_upload1.
endloop.
else.
append wa_upload1 to i_upload1.
endif.
else.
append wa_upload1 to i_upload1.
endif.
ENDFORM. " f_split_upload_data
*& Form f_call_bapi
text
--> p1 text
<-- p2 text
FORM f_call_bapi.
clear wa_upload1.
wa_header-material = p_matnr.
wa_header-plant = p_werks.
wa_header-bom_usage = p_stlan.
append wa_header to i_header.
wa_bomgroup-bom_usage = p_stlan.
wa_bomgroup-created_in_plant = p_werks.
append wa_bomgroup to i_bomgroup.
wa_variant-alternative_bom = 1.
wa_variant-base_qty = 1.
wa_variant-valid_from_date = sy-datum.
append wa_variant to i_variant.
loop at i_upload1 into wa_upload1.
wa_item-item_no = wa_upload1-col1.
wa_item-item_cat = wa_upload1-col2.
wa_item-component = wa_upload1-col3.
wa_item-comp_qty = wa_upload1-col4.
append wa_item to i_item.
wa_subitem-subitem_qty = '1'.
wa_subitem-installation_point = wa_upload1-col5.
append wa_subitem to i_subitem.
endloop.
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
TESTRUN = ' '
ALL_ERROR = ' '
TABLES
BOMGROUP = i_bomgroup
VARIANTS = i_variant
ITEMS = i_item
SUBITEMS = i_subitem
MATERIALRELATIONS = i_header
ITEMASSIGNMENTS =
SUBITEMASSIGNMENTS =
TEXTS =
RETURN = i_return.
if i_return[] is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
*write: /'BOM created:', stpo-stlnr.
else.
*if not i_return[] is initial.
loop at i_return.
IF i_return-TYPE = 'E'.
errmsg-type = i_return-type.
errmsg-line = i_return-message.
append errmsg.
ULINE /1(108).
write:/ icon_led_RED as icon, i_return-MESSAGE.
ULINE /1(108).
ENDIF.
IF i_return-TYPE = 'W'.
errmsg-type = i_return-type.
errmsg-line = i_return-message.
append errmsg.
ULINE /1(108).
write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
ULINE /1(108).
ENDIF.
ENDLOOP.
*write: / i_return-id, i_return-number, i_return-message(80).
*endloop.
*write: /'Error'.
endif.
ENDFORM. " f_call_bapiHi shashi,
Thanks for ur help.i tried after passing the group but it is giving same error.
i am getting the error
"Error/warning when checking the structure of the BOM group with ID= test"
i am gettig the above error when i put bomgroup-bom_group_identification = 'TEST'.
whatever i am putting in this field, the same error is comming having different value.
if i put--- bomgroup-bom_group_identification = ' '. then i will get error
"Error/warning when checking the structure of the BOM group with ID=
if i omit that field, then also , i am getting same error.
plz suggest what r the fields i need to pass for BOMGROUP structure for that bapi?
regards
pabitra -
Creation of sale order using bapi in webdynpro using table control
only first row is getting updated when checked in va03, the line items are not getting replaced, only first row is committed..
Here is the code for table control i used...
http://www.scribd.com/doc/51879492/creation-of-sale-order-using-bapi-in-webdynpro-using-table-control
pls help me out with this..Duplicate Posting. Original is here: Sales order creation with bapi in webdynpro using table control
-
Unable to select Quantitative data during creation of MIC while using Clas
*Unable to select Quantitative data during creation of MIC while using Class characterstics*
Dear All,
I want to transfer MIC Result recording to Batch class.
For that, i am trying to create MIC & giving class characteristic name in QS21, and then under control data, I am unable to select, Quantitative. By default system is selecting Qualitative. But I want to create that MIC as Quantitative.
Is there any setting for this?
Please help...
Thanks in advance
Edited by: Sitarami Reddy Kummeta on Nov 30, 2009 6:44 PMHi
to have master inspection characteristic quantitative ,the class characteristic must be of format "NUM":
Regards
Sujit -
Creation of PDF Document using ADF Table data in new window
Hi Guys,
I have a requirement of creating a pdf document from adf table and it must open in a new window.I know creation of pdf document using itext pdf jar.But in my case how to write the table data to pdf and how to open it in new window.
Thanks,
Srinivas.In the TF do like this..
view activity A-------dialog:invokePdf------->view activity B (invokePdf)
Fragment A command button would be
<af:commandButton action="#{pageFlowScope.PdfBean.openPDF}"
text="Generate" id="cbpdf"
useWindow="true"
windowWidth="700" windowHeight="700"/>
in the action add a return like return "dialog:invokePdf";
Control flow outcome is "dialog:invokePdf". B would be just a empty fragment. -
Load Bill of Material (BOM) using DTW?
I had a question, I was wondering how do we load BOM using DTW?
Which template to use
Thanks in advanceHai------ Sorry for Confusion Ignore the earlier reply
For DTW work of BOM you need 2 no. of templates
1. Product trees which contain all the Parent item names
Eg of template
Record Key -
Item Code----
Tree Type
1 -
A001 -
iProduction tree
2 -
B001 -
iProduction tree
2. Product tree lines which contain all the child items with correspoinding parent item record key no and line no individual
Record Key -
Line No-- Item Code--
Parent Item Code -
Quantity
1-- 0 -X001 A001--
10
1 -
1 -
X002 -
A001 -
4
1 -
2 -
X003-- A001--
5
2 -
0 -
Y001-- B001--
7
2 -
1--Y002--
B001 -
4
2 -
2 -
Y003-- B001--
6
Like this prepare your template and upload
For any queries come back to here
Regds -
To display flatfile rec's under 1 Alternative BOM using BDc recording.
Hi,
I m trying to display flat file entire(i.e.. 4 rec's i m using) records vertically under one (Alternative BOM) for CS01-BOM using BDC recording method.
Now i m tried with the following code,i m getting as one (Alternative BOM) for one ff record,by replacing one by one.
But i want as vertically under one (Alternative BOM).
Can anyone help me to overcome this.
report ZBOM
no standard page heading line-size 255.
*include bdcrecx1.
DATA: BEGIN OF bdc OCCURS 0,
matnr(18),
werks(4),
stlan(1),
END OF BDC.
DATA: BEGIN OF BDC1 OCCURS 0,
idnrk(18),
MENGE(18),
MEINS(3),
postp(1),
posnr(4),
END OF bdc1.
DATA: BEGIN OF BDCDATA OCCURS 0,
matnr(18),
werks(4),
stlan(1),
idnrk(18),
MENGE(18),
MEINS(3),
postp(1),
posnr(4),
END OF BDCDATA.
data ibdcdata type standard table of bdcdata WITH header line.
*start-of-selection.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\Documents and Settings\dilipkumar.b\Desktop\soft.txt'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = ','
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = BDCDATA
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*perform open_group.
loop at bdcdata.
perform bdc_dynpro using 'SAPLCSDI' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RC29N-STLAN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RC29N-MATNR'
'SOFTDRINKS'.
perform bdc_field using 'RC29N-WERKS'
'WIND'.
perform bdc_field using 'RC29N-STLAN'
'1'.
perform bdc_field using 'RC29N-DATUV'
'16.09.2008'.
perform bdc_dynpro using 'SAPLCSDI' '0110'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RC29K-BMENG'
'1'.
perform bdc_field using 'RC29K-STLST'
'1'.
perform bdc_field using 'BDC_CURSOR'
'RC29K-EXSTL'.
perform bdc_dynpro using 'SAPLCSDI' '0111'.
perform bdc_field using 'BDC_CURSOR'
'RC29K-LABOR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSTP(01)'.
perform bdc_field using 'BDC_OKCODE'
'=FCBU'.
perform bdc_field using 'RC29P-IDNRK(001)'
BDCDATA-IDNRK.
perform bdc_field using 'RC29P-MENGE(001)'
BDCDATA-MENGE.
perform bdc_field using 'RC29P-MEINS(001)'
BDCDATA-MEINS.
perform bdc_field using 'RC29P-POSTP(001)'
BDCDATA-POSTP.
perform bdc_dynpro using 'SAPLCSDI' '0130'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR'.
perform bdc_field using 'RC29P-POSNR'
BDCDATA-POSNR. "'0010'.
perform bdc_field using 'RC29P-IDNRK'
BDCDATA-IDNRK. "'15'.
perform bdc_field using 'RC29P-MENGE'
BDCDATA-MENGE. "'1'.
perform bdc_field using 'RC29P-MEINS'
BDCDATA-MEINS. "'ml'.
perform bdc_dynpro using 'SAPLCSDI' '0131'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POTX1'.
perform bdc_field using 'RC29P-SANKA'
'X'.
*perform bdc_transaction using 'CS01'.
*perform close_group.
CALL TRANSACTION 'CS01' USING IBDCDATA MODE 'A' UPDATE 'S'.
REFRESH IBDCDATA.
clear ibdcdata.
endloop.
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR iBDCDATA.
iBDCDATA-PROGRAM = PROGRAM.
iBDCDATA-DYNPRO = DYNPRO.
iBDCDATA-DYNBEGIN = 'X'.
APPEND ibDCDATA .
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL NODATA.
CLEAR iBDCDATA.
iBDCDATA-FNAM = FNAM.
iBDCDATA-FVAL = FVAL.
APPEND iBDCDATA .
ENDIF.
ENDFORM.Hi Dilip,
Please change your code.
I request you to please go through BDC tutorials before even starting to write the program.
There are many online tutorials which can help you with.
Also, search in SDN.. there you will get more than thousand results.. with the search term BDC.
Take this suggestion seriously before nayone reports the moderators that u have been posting this thread daily without taking into consideration the previous replies.
Regards,
Vishwa. -
Problem while Creating BOM using LSMW Direct Input
Hi all ,
I am trying to create the BOM Using LSMW Direct Input Method .
I am getting problem at step 9 that is Read Data.
It is able to read the values from header and item files .
but it is not able to write , so the Written is 0 always .
I put the field names first in the flat file and correcponding values below it with tab delimited.
Please let me know where the Problem would be.... I am trying this from long time ..
Regards ,
Rajhi ,
Yes i am specify files i am attaching 2 files .
ones is header and the other is line item data .
my strucure is :
Hi ,
I am still getting problem while for writing the records after reading the data .....
my header structure :
STYPE
MATNR
WERKS
SELAL
STLAN
DATUV
ZTEXT
my item structure :
STYPE
MATNR
WERKS
SELAL
POSTP
MENGE
my header data :
STYPE MATNR WERKS SELAL STLAN DATUV ZTEXT
1 388 0110 20 1 06.01.2009 SAMPLE ZTEXT
my item data :
STYPE MATNR1 WERKS SELAL POSTP MENGE
1 388 0110 20 N 1234
1 382 0110 20 N 12345
Above text files are delimited by tabulator.
Please guide me . The files are reading but unable to write .....
Regards,
Raj
Maybe you are looking for
-
I downloaded the new software. Since then my podcasts are on double time which is very hard to listen to. Also, I can't find out where the timer is for the individula podcasts and I can't seem to go back and listen to things over. There are only seem
-
Windows 7 + IE 8 Application Display Bug/Problem
I'm hoping someone else can reproduce this issue, but I haven't been able to find out much about what might be going on. I'm running Windows 7 and Internet Explorer 8 by default. When I preview a flex application in IE (with or without compatability
-
Type error while calling function module with in FOX formula
Hi, I am getting following error while calling function module from FOX Formula: "Types of parameter DAY_IN () and variable J_CALDAY(D) are inconsistent" Following is the code: DATA I_CALDAY TYPE 0CALDAY. DATA N_CALDAY TYPE 0CALDA
-
Error - Unable to execute service and function
Hi all, I created a sample component with service handlers but it is giving errors Unable to execute service GET_PURGE_LIST and function getPurgeList. (System Error: The service method 'getPurgeList' is not defined.) Please let me know what change
-
Html from flash 9 WAY different than flash MX
Does flash 9 do something majorly different with ActiveX or something? After "publishing" a flash 9 slide show to html, it shows NO swf content in dreamweaver. Yet this show plays. Problem is, it wont align and now there is no alignment options, even