Urgent- Mapping R/3 Field to BW
Hello,
I have following fields added to R/3 datasource. This extractor is used to get SD data from R/3. Can you please help me identify InfoObject name so that I can do the mapping in BW.
Name of Data source is: GDS_ZZIIV29_TRAN
DB view table is: ZZIIV29
Newly added R/3 Tables:
1)WADAT_IST - Actual Goods Movement Date
2)ZOORTHRSHD - Number of Days Prior to Shipment
3)ZQORDCHGDD - Day number when order quantity last changed
4) ZDRECHGDTE - Current Date
Will assing point for correct answer.
Thanks
Arjun
only 1 field seems to be standard field :
1) WADAT_IST - 0ACT_GI_DTE (info object)
rest of them are Custom fields in R/3:
2)ZOORTHRSHD - Number of Days Prior to Shipment
3)ZQORDCHGDD - Day number when order quantity last changed
4) ZDRECHGDTE - Current Date
Goto R/3 tables of these fields and see the data type and length and create a similar Z info objects in BW system
Similar Messages
-
Is it possible to map the cmp fields of the entity bean with out dictionary
Dear sirs,
I have created the EJB project module and WEB Module. Now i have to map the CMP fields of the entity bean to the underlying table. Is it possible to map the cmp fields of the entity bean with out java dictionary? If yes how can we do that.
I have got some error while mapping an EJB's CMP fields to the table through dictionary. I was actually intended to map 79 fields but it gives an error that more than 64 fields are not allowed while building the dictionary.
1. Can you tell me what could be the possible reason?
2. Is it possible to map the cmp fields of the entity bean with out java dictionary? If yes how can we do that.
Kindly helo me,
Sudheesh K SHi,
Sudheesh please check up if the below link helps,there are other ways of writing the persistent.xml for container managed entity bean.
http://help.sap.com/saphelp_nw04s/helpdata/en/9b/f695f0c84acf46a4e0b31f69d8a9b7/frameset.htm, probably in the studio you cannot browse through tables not in the java dictionary,but manually editing it may still solve the problem.
Also here is another link that specifies the databases supported by J2EE Engine.
http://help.sap.com/saphelp_nw04s/helpdata/en/66/a5283eeb47b40be10000000a114084/frameset.htm
The below link shows how to specify the database vendor and datasource
http://help.sap.com/saphelp_nw04s/helpdata/en/e1/67fc3ee241ba28e10000000a114084/frameset.htm
Hope you are able to solve the problem.
Do let us know if you come up with the solution.
Regards,
Harish
Message was edited by: HARISH SUBRAMANIAN -
Mapping ECC PO fields to R/3 PO fields
Hi Experts,
I was trying map ECC Po fields to R/3 fields which are not mapping in standard way automatically. Like Tracking No and Good Recipient name.
I am using the BADI BBP_ECS_PO_OUT_BADI to map these fields.
However i am able to map and see those fields in the back end.
The same thing i was trying to do for the Text fields. Suppose, mapping vendor text to item text .these fields are not able to transfer through this BADI.
for this i am using the BADI BBP_PO_INBOUND_BADI in R/3 to map these fields . I am able to map and see those text fields in R/3 also. But wonder now i am not able to see Tracking No and Good Recipient name fields in R/3 .
Any pointer to solve this issue, really a help for me.
Thanks in Advance.Hi Disha ,
Thank you so much for your reply ,
Actually i have implemted the BBP_ECS_PO_OUT_BADI this BADI only in SRM side .When i have implemeted i can see Tracking No and Goods recipient are mapping correctly in Back End . But the thing is only the text fields are not mapping the correctly. though code was correct .
So i have implemeted the BBP_PO_INBOUND_BADI BADI in the R/3 side , through this one i can able to map the text fiedls , where as this time Tracking No and Goods recipient are not mapping .Any pointers for this , will really help for me .
*See my code for BBP_ECS_PO_OUT_BADI*
*Vendor text at line item level of SRM PO should be passed to
*u2018Item Textu2019 at R/3 PO line item level.
LOOP AT it_item INTO WA_PO_ITEM.
Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = WA_PO_ITEM-guid
tDid = 'ITXT'.
IF SY-SUBRC EQ 0.
W_PO_ITEM_TEXT-PO_NUMBER = WA_PO_ITEM-BE_OBJECT_ID.
W_PO_ITEM_TEXT-PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
W_PO_ITEM_TEXT-TEXT_ID = 'F01'.
W_PO_ITEM_TEXT-TEXT_FORM = '*'.
W_PO_ITEM_TEXT-TEXT_LINE = WA_LONGTEXT-TDLINE.
APPEND W_PO_ITEM_TEXT TO CT_BAPI_POITEM_TEXT.
ENDIF.
*Internal Note at line item level of SRM PO should be passed to
*u2018Info record noteu2019 at line item level of R/3 PO
Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = WA_PO_ITEM-guid
tDid = 'NOTE'.
IF SY-SUBRC EQ 0.
W_PO_ITEM_TEXT-PO_NUMBER = WA_PO_ITEM-BE_OBJECT_ID.
W_PO_ITEM_TEXT-PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
W_PO_ITEM_TEXT-TEXT_ID = 'F06'.
W_PO_ITEM_TEXT-TEXT_FORM = '*'.
W_PO_ITEM_TEXT-TEXT_LINE = WA_LONGTEXT-TDLINE.
APPEND W_PO_ITEM_TEXT TO CT_BAPI_POITEM_TEXT.
ENDIF.
ENDLOOP.
*Vendor Text at PO header level should be passed onto R/3 PO header text field.
Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = IS_HEADER-GUID
tDid = 'HTXT'.
IF SY-SUBRC EQ 0.
WA_Header_text-PO_NUMBER = IS_HEADER-BE_OBJECT_ID.
WA_Header_text-PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
WA_Header_text-PO_ITEM+4(1) = '0'.
WA_Header_text-TEXT_ID = 'F02'.
WA_Header_text-TEXT_FORM = '*'.
WA_Header_text-TEXT_LINE = WA_LONGTEXT-TDLINE.
APPEND WA_Header_text TO CT_BAPI_POHEADER_TEXT.
ENDIF.
*Map the Tracking No
LOOP AT it_item INTO WA_PO_ITEM.
Read table CT_BAPI_POITEM into WA_BAPI_ITEMS with key PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
WA_BAPI_ITEMS-TRACKINGNO = WA_PO_ITEM-BE_TRACKING_NO.
MODIFY TABLE CT_BAPI_POITEM FROM WA_BAPI_ITEMS TRANSPORTING trackingno.
ENDLOOP.
*The user id of the Partner Function u2018Goods recipientu2019 is map to
*R/3 Goods Recipient field
LOOP AT it_item INTO WA_PO_ITEM.
Read table IT_PARTNER into wa_partner with key P_GUID = WA_PO_ITEM-guid
PARTNER_FCT = v_grfun.
IF SY-SUBRC EQ 0.
SELECT SINGLE CHUSR
FROM BUT000
INTO v_grname
WHERE PARTNER_GUID = WA_PARTNER-PARTNER_NO.
Read table CT_BAPI_POACCOUNT into WA_POACCOUNT with key PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
WA_POACCOUNT-GR_RCPT = V_GRNAME.
MODIFY TABLE CT_BAPI_POACCOUNT FROM WA_POACCOUNT TRANSPORTING GR_RCPT.
ENDIF.
ENDLOOP.
endmethod.
See my code BBP_PO_INBOUND_BADI
APPEND LINES OF bbp_potextheader TO bapi_potextheader.
APPEND LINES OF BBP_POTEXTITEM TO BAPI_POTEXTITEM.
Evem i tried to map these traking no and good recipient fields in the R/ 3 , I have this piece of code in the Back end , But couldnt work for me.
LOOP AT BBP_POITEM INTO WA_BBP_POITEM.
Read table BAPI_POITEM into WA_BAPI_POITEM with key PO_ITEM =
WA_BBP_POITEM-PO_ITEM.
WA_BBP_POITEM-TRACKINGNO = WA_BBP_POITEM-TRACKINGNO.
MODIFY table BAPI_POITEM FROM WA_BAPI_POITEM TRANSPORTING trackingno
Read table BBP_POACCOUNT into wa_BBP_POACCOUNT with key PO_ITEM =
WA_BBP_POITEM-PO_ITEM.
wa_BAPI_POACCOUNT-GR_RCPT = wa_BBP_POACCOUNT-GR_RCPT.
MODIFY table BAPI_POACCOUNT FROM wa_BBP_POACCOUNT TRANSPORTING
GR_RCPT.
ENDLOOP.
Loop at BAPI_POITEM into wa_BAPI_POITEM.
Read table BAPI_POITEMX into wa_BAPI_POITEMX with key PO_ITEM =
wa_BAPI_POITEM-PO_ITEM.
wa_BAPI_POITEMX-TRACKINGNO = 'X'.
MODIFY table BAPI_POITEMX FROM wa_BAPI_POITEMX TRANSPORTING TRACKINGNO
Read table BAPI_POACCOUNTX into wa_BAPI_POACCOUNTX with key PO_ITEM =
wa_BAPI_POITEM-PO_ITEM.
wa_BAPI_POACCOUNTX-GR_RCPT = 'X'.
MODIFY table BAPI_POACCOUNTX FROM wa_BAPI_POACCOUNTX TRANSPORTING
GR_RCPT.
Endloop. -
Need your assistance in mapping Structure and Field in DME Tree
Hello Friends - I need your help in "Mapping from structure field" in DME.
In the existing format tree, It is mapped Structure as "FPAYP" and Field name "BNAME" to populate Company Code name in the Payment file.
Now I am asked to change this to populate value either from OX02 or OX15.
When Company Code name was maintained, It was maintained in short and in the address tab, Full name is maintained.
Please let me know which Structue and Field I should assign to pull the value either from OX02 or OX15.
Thanks for your help.Thanks a lot Henri/Lakshmi.
I have maintained mapping procedure Sturecture/field - FPAYHX/AUST1 to get the CoCd name in the file. In AUST1, Length of the CoCd is more than 18, and as per Bank format, It should be 18 characters in length.
User is not happy that complete CoCd name is not populated in the file. He has come up with an alternative and shortened the CoCd name that needs to be populated in the file and suggested us to get the value into the payment file. We should not replace CoCd name with the name he suggested in OX02/OX15,FBZP.
My doubt is that if there is any filed I can use to maintain the name he suggested and assign it in mapping procedure.
Thanks -
How to map user-defined fields in XML communication on SRM site
Hi All!
We use the External sourcing scenario and we transfer requirements from ERP in SRM through XI (PurchaseRequestERPSourcingRequest_In)
We should transfer the user-defined fields, but we can not map it in SRM site.
We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
I see the XML message with ours z-fields in tr. SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
Someone can tell how to map user-defined field for SC?
Thanks in advance
Evgeny IlchenkoHello, Julia
We have found solution our problem
We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
But In our new interfaces were different XML namespaces
When we have correct an error we could use the next BADI
on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
on SRM site: /SAPSRM/BD_SOA_MAPPING
BR,
Evgeny -
How to map idoc segment field E1IDB02-FIIKONTO with BSEG-ESRNR.
Hi,
I have searched for lot of threads in the forum , and also i tried myself but i am not able to map this fields segment with my logic, so please anyone kindly contribute in mapping idoc segment field with the logic given below:
idoc type :PAYEXT outbound idoc.
message type: PEXR2002
This is my logic: i need to populate the ISR number(BSEG-ESRNR ) in idoc segment field( E1IDB02-FIIKONTO)
DATA : str1 TYPE string,
len1 TYPE i,
len2 TYPE i,
str2 TYPE string,
str3 TYPE string.
str1 = '01-1234-4'. ---> BSEG-ESRNR "ISR Subscriber Number
REPLACE FIRST OCCURRENCE OF '-' IN str1 WITH '_'.
REPLACE ALL OCCURRENCES OF '-' IN str1 WITH space.
CONDENSE str1.
len1 = STRLEN( str1 ).
IF len1 LT '9'.
len2 = '9' - len1.
CASE len2.
WHEN '1'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '00'.
WHEN '2'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000'.
WHEN '3'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0000'.
WHEN '4'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000000'.
WHEN OTHERS.
ENDCASE.
ELSEIF len1 EQ '9'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0'.
ELSEIF len1 GT '9'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH space.
CONDENSE str1.
ENDIF.
Thanks in Advance.Resolved.
-
How to Map Proces form field with Resource form field?
Hi,
How to Map Proces form field with Resource form field while creating Process form in Form designerAre you talking about Provisioning ?
then you do that in Data Flow under Process Defintion in OIM 10g
In OIM 11g you use Request Dataset. In that you can directly map fields to process form. -
Question w/ mapping header text fields from the ORDERS05 idoc - Need help!!
My mapping seems to be combining two header texts categories(IDs) and putting in into the XML target field. That's the first issue.
The 2nd issue is trying to figure out how to only use only a part of the tdline.
The idoc value is: <TDLINE>232828-0 06/25/2009 EDI Vendor Confirmed</TDLINE> .
I only want to use the first part: 232828-0 and ignore the rest(
06/25/2009 EDI Vendor Confirmed).
Would someone have 30 mins to help a newbie out.
I can send screen shots of the idoc coming into PI and the XML file going out as well as my mapping for the field.
Thanks,
Jeff
jschreiber@ballhort .comJeff,
I have sent a test email pl send me screenshots.
Issue 2: Did you try to use standard function for texts i.e "substring". Open the mapping in editing mode and all the way down you can see "Function" from where you can choose std functions.
-Sid -
hi,
please let me know journal fileds what functions i can use
Journal Line
Multiple journal lines per header:
Schema Element Data
/Journal/JournalLine/JournalLineCostCentre Bank account control Cost Centre
/Journal/JournalLine/JournalLineAccount Bank account control Account Code
/Journal/JournalLine/JournalLineMoneyTotal Transaction Line Amount
/Journal/JournalLine/JournalLineVolume NULL
/Journal/JournalLine/JournalLineDescription Payee Name
/Journal/JournalLine/JournalLineChequeBookReference NULL
/Journal/JournalLine/JournalLineMatchField Cheque Number
NB Contra accounting entries should be posted to:
Schema Element Data
/Journal/JournalLine/JournalLineCostCentre Bank account control Cost Centre
/Journal/JournalLine/JournalLineAccount Bank account control Account Code
/Journal/JournalLine/JournalLineMoneyTotal Transaction Line Amount * -1
/Journal/JournalLine/JournalLineDescription Payee Name
/Journal/JournalLine/JournalLineMatchField Cheque Number
/Journal/JournalPeriod Current General Ledger Period
/Journal/JournalYear Current General Ledger YearHi,
> Is it a right way to generate additional segment in IDoc?
You use duplicate subtree if you want to map different fields in one field.
If you have for example one field and this source field occurs more than once and should get mapped to a target field that can occur more than once you can just map the source field to the target field and duplicate subtree is not needed.
sourceField --> targetField
But if you have different source fields and you want to map them to one target field you will need duplicate subtreee.
sourceField1 --> targetField
sourceField2 --> targetField
For Segments it's the same.
Regards
Patrick -
HI all,
I am getting Two address fields from Source side (Sender name, city, country etc & Receiver name, city, country etc). But at the target side (IDOC) has only one Name, city and country fields. how to map these two name, city, country etc fields to Target name, city, country etc. IDoc doesn't vave Partner_Q to filter this. Please give your valuble suggestions.
Thanks in advance,
ManojHi,
> Is it a right way to generate additional segment in IDoc?
You use duplicate subtree if you want to map different fields in one field.
If you have for example one field and this source field occurs more than once and should get mapped to a target field that can occur more than once you can just map the source field to the target field and duplicate subtree is not needed.
sourceField --> targetField
But if you have different source fields and you want to map them to one target field you will need duplicate subtreee.
sourceField1 --> targetField
sourceField2 --> targetField
For Segments it's the same.
Regards
Patrick -
Mapping the CMP Fields with the Database Table using Websphere???
Hi,
How to Map the CMP Fields with the Database Table using Websphere
thru ejb.jar.xml???
Thanks,
JavaCrazyLoverHi,
How to Map the CMP Fields with the Database Table using Websphere
thru ejb.jar.xml???
Thanks,
JavaCrazyLover -
Value mapping with 1000 fields?
Hi
We are having 1000 fields and trying to map using value mapping,
How to map these 1000 fields automatically without entering manuvally using value mapping?
thanq
krishnaHI krishna,
I would prepare a csv with key values and upload them in "imported archive".
Now in message mapping create UDF and read the imported archiv:
try {
InputStream fstream = this.getClass().getClassLoader().getResourceAsStream(fileName);
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
// Read File Line By Line
while ((strLine = br.readLine()) != null) {
String ValueLeft = strLine.substring(0, strLine.indexOf(";"));
if (WertLinks.equals(key)) {
return (strLine.substring(strLine.indexOf(";")+1, strLine.length()));
}//if
}// while
// Close the input stream
in.close();
return "no Value found; check CSV : " + key;
} catch (Exception e) {// Catch exception if any
return "Error: " + e.getMessage();
The import-paremeters for UDF are:
- key
- fileName
Regards Mario
Edited by: Mario Müller on Apr 24, 2008 8:27 AM -
Best way to map CLOB database fields?
I ran into a problem mapping CLOB fields a couple of months ago and couldn't find an easy answer to the problem. I got sidetracked and now find myself back at the same point...
What is the best practice for mapping CLOB database fields in the mapping workbench? Do you map them as serialized (as a note I've got here) or can someone point me in the proper direction please? I've got everything else functioning properly, but I left my CLOB fields out of my mapping because they were giving me such trouble. Now, I need to get back to that specific area.
~ TiffaniHi Tiffani,
SerializedObjectMapping is generally used to map a multimedia object (for example image)to a BLOB field. For CLOB, I use simple direct-to-field mapping, and TopLink conversion manager will handle the read/write from the object String/Char[] to CLOB.
King -
Dear All,
I know that
KEI2 u2013 PA Transfer structure map to value field
KE4I u2013 sd condition type to value field
KE4R u2013 cost component to value field
May I know if there is any other which map to value field?
ThanksHI,
We also have MM conditions.
Kind regards
umapathi g -
Mapping Dock Version field in Shipment Create
Hi Guru's
i am facing problem in mapping dock version field in shipment create. Details are as fallows..............
Dock Version reference number is mapping to VTTK-TPBEZ(Shipment Description) from TIBCO. And the reqiure ment is there was a field VTTK-ZZVERSION (z field). I need to map VTTK-ZZVERSION field to (Basic type TPSSHT01)
Segment E1TPSHH-DESCRP which is typically linked to TPBEZ.
i have to make changes in the ZFM(Shipment Idoc Create). After executing the function module shipment will be created.
And when i run the Transacion VT03N in TAB IDENTIFICATION the "Shipment Description" field should be blank.
Thanks in advance..........Hello.
I have no solution to your problem, but I have noticed something which I very much need. I want to be able to extract entries from JAR file which I specified in JNLP application descriptor. The word is about COM libraries which I want to copy and register on every client. But I have no chance to open JAR file which is specified in the JNLP app-desc.
In your code, you do this:
InputStream bla = clazz.getResourceAsStream();
which is not different from delegating the call directly to class' ClassLoader, which is the thing I do. I refer to the JAR file without path, like this:
InputStream huh = this.getClass().getClassLoader().getResourceAsStream("some.jar");
Returns null pointer. As far as I know (I tested it before) Java Web Start does not put its cache paths in "java.class.path" and "java.library.path" system properties, so I cannot hope to know certain path from which I could download my JAR.
So, is there a way to access those JAR files, to copy them locally somewhere, to extract files from them, etc?
Dimitar
Maybe you are looking for
-
error occurred while installing updates. If problem persits, choose tools, download only and try installing manually
-
there's this thing ive Lost my phone (Nokia 5800 Xpressmusic) Last November 2 and i want to track it via PC if its possibLe . i dont know if its connected to GPS but its sync with Ovi and Ovi Store with my emaiL inLine with it , maybe its the Least i
-
I have been having a problem for a few months that I cannot get iTunes to stay closed. When I try and close iTunes, it immediately reopens. This means that I cannot shut down OSX since iTunes always reopens and cancels the restart. I have searched th
-
Three questions on Partitioning
11.2.0.3 on Solaris 10 Question 1. For RANGE partitioning or LIST partitioning or a composite of RANGE and LIST partitioning is it recommended to have global Indexes ? Question 2. For the below table we have created an index named IDX_NVH_CRTN_CLT_DT
-
Wie kann ich die Funktion "Toggle layer mask on/off as rubylith" in PS CC auf einem Mac mit deutscher Tastatur aufrufen bzw. den Shortcut festlegen. '\' funktioniert leider nicht.