2012 Jul 20 8:11 AM
DEAR ALL,
iam creating PO using BAPI_PO_CREATE1,
iam working on end to end implementation project, as i mentioned above iam getting error in return table as text ID language not found
when iam executing same BAPI using SE37 also iam getting same error.
what is the solution for this. i have searched threads but iam unable to resolve.
please helpme in this.
here iam attaching code.
pohead-DOC_TYPE = IT_TAB-bsart.
pohead-COMP_CODE = it_tab-BUKRS."'IN99'.
pohead-PURCH_ORG = it_tab-ekorg."'INPO'.
pohead-PUR_GROUP = it_tab-ekgrp." 'ESG'.
pohead-CREAT_DATE = SY-DATUM.
pohead-ITEM_INTVL = '00001'.
pohead-DOC_DATE = SY-DATUM.
pohead-vendor = IT_TAB-lifnr.
************************** POHEADERX************************************
poheadX-DOC_TYPE = 'X'.
poheadX-COMP_CODE = 'X'.
poheadX-PURCH_ORG = 'X'.
pohead-CREAT_DATE = 'X'.
poheadX-PUR_GROUP = 'X'.
poheadX-ITEM_INTVL = 'X'.
poheadX-DOC_DATE = 'X'.
poheadX-vendor = 'X'.
* *******************POITEM*************************************************
COUNT = COUNT + 1.
item-PO_ITEM = COUNT.
item-TRACKINGNO = IT_TAB-BEDNR.
item-PREQ_NAME = IT_TAB-AFNAM.
item-PREQ_NAME = IT_TAB-AFNAM.
item-SHORT_TEXT = IT_TAB-TXZ01.
item-MATERIAL = IT_TAB-matnr.
item-Plant = 'IN99'.
item-ACCTASSCAT = 'A'.
item-QUANTITY = IT_TAB-menge.
item-PO_UNIT = IT_TAB-MEINS.
ITEM-NET_PRICE = IT_TAB-PREIS.
ITEM-TAX_CODE = IT_TAB-MWSKZ.
item-FUND = IT_TAB-GEBER.
item-FUNC_AREA_LONG = IT_TAB-FKBER.
item-FUNDS_CTR = IT_TAB-FISTL.
item-MATL_GROUP = it_Tab-matkl.
V1 = IT_TAB-MENGE.
* **********************POITEMX***************************
itemx-PO_ITEM = COUNT.
itemx-PO_ITEMX = 'X'.
itemx-TRACKINGNO = 'X'.
itemX-PREQ_NAME = 'X'.
itemx-PO_ITEMX = 'X'.
itemx-SHORT_TEXT = 'X'.
itemx-MATERIAL = 'X'.
ITEMX-PLANT = 'X'.
itemX-STGE_LOC = 'X'.
itemx-QUANTITY = 'X'.
itemX-PO_UNIT = 'X'.
ITEMX-NET_PRICE = 'X'.
ITEMX-TAX_CODE = 'X'.
itemX-FUND = 'X'.
itemX-FUNC_AREA_LONG = 'X'.
itemX-FUNDS_CTR = 'X'.
itemx-MATL_GROUP = 'X'.
* ******************************* POSCHEDULE**************************
sch-PO_ITEM = COUNT.
sch-SCHED_LINE = '0001'.
sch-DEL_DATCAT_EXT = 'D'.
sch-DELIVERY_DATE = IT_TAB-LFDAT.
sch-QUANTITY = V1.
append sch.
clear sch.
*******************POSCHEDULEX***************************
schx-PO_ITEM = count.
schx-SCHED_LINE = '0001'.
schx-PO_ITEMX = 'X'.
schx-SCHED_LINEX = 'X'.
schx-DEL_DATCAT_EXT = 'X'.
schx-DELIVERY_DATE = 'X'.
schx-QUANTITY = 'X'.
append schx.
clear schx.
APPEND item.
APPEND itemX.
Thanks
Shiv
2012 Jul 20 10:18 AM
HI,
try to put a break point in FM SAVE_TEXT and try to see what code is trying to create that text.
regards
2012 Jul 20 7:41 PM
Check the data in your bapi parameters POTEXTHEADER and POTEXTITEM.
- Puneet
2012 Jul 26 8:16 AM
2012 Jul 31 7:58 PM
2012 Dec 05 7:39 AM
Hi Shiva,
It would be a great help if you let us know, how you managed to correct it ?
I also have some type of issue and I am not able to create PO for the Contract Agreement.
2013 Nov 07 1:28 AM
2014 Nov 28 11:35 AM
Hi All,
we are also got same Problem. we resolve this problem by passing the POHEAD- CURRENCY = 'USD'.
it is working fine.
Thank you,
Srikanth
2016 Feb 09 8:27 AM
does any one have solution for the error"" text * id * language * not found"" in BAPI_PO_CREATE1.
THANKING YOU IN ADVANCED.
2016 Mar 29 12:57 PM
Please make sure the Purchasing Document Type (BSART) you are using exists in the system, it seems to be an error message that does not have the correct translation instead of returning "Invalid Document Type"
2021 Nov 03 2:08 PM
We also had the problem. BSART was incorrect (O instead of 0 in one character). Once BSART is correct, error disappeared. the RETURN message is obviously missleading.
2024 Jan 29 9:54 AM
This is because Document type you are trying to pass is not available in the system. If add the Document type it will be resolved.
2022 Jul 18 8:40 AM
Hi everyone ,today, when testing inbound PORDCR103 IDOC via WE19 ,im also suffering this error,
the background is: this is an IDOC interface which is already go-alive, i have not change any input to BAPI_PO_CREATE1, but just add some new check logic; so suppose shall not be input issue;
so when during numbers of debug with WE19,there's a symptom:
if u don't exit WE19 between 2 sending, then the internal table in the inbound FM will not be cleared!!!
which will absolutely cause the BAPI_PO_CREATE1 executeing error; bloody hell....
so u just need to exit WE19 or '/N' between two IDOC sending to avoid this.