on 11-23-2011 12:04 PM
Hi Priyanka/Friends,
I am generating multiple IDOC's on the basis of detail records on source side. Like if there are 11 Records, output is coming as 2 IDOC's, with header records, and 1st ten Detail records in first IDOC, and header records and 11th detail record in 2nd IDOC.
I am stuck in below dev task, it is urgent. please advice.
In output IDOC header segment and records under header segment are coming for 1st IDOC,
as below:
For 1st IDOC:
<IDOC BEGIN="">
<E1BPACHE09 SEGMENT="">
<OBJ_TYPE/>
<BUS_ACT/>
<USERNAME/>
<HEADER_TXT>Payroll US ADP GlobalView</HEADER_TXT>
<COMP_CODE>1000</COMP_CODE>
<DOC_DATE>01102011</DOC_DATE>
<PSTNG_DATE>01152011</PSTNG_DATE>
<TRANS_DATE/>
<FISC_YEAR>2011</FISC_YEAR>
<FIS_PERIOD>01</FIS_PERIOD>
<DOC_TYPE/>
<REF_DOC_NO>239</REF_DOC_NO>
<AC_DOC_NO/>
<REASON_REV/>
<REF_DOC_NO_LONG/>
<NEG_POSTNG/>
<BILL_CATEGORY/>
<VATDATE/>
</E1BPACHE09>
For Second IDOC:
<IDOC BEGIN="">
<E1BPACHE09 SEGMENT=""/>
No item level fields are coming, and logic is not working for header Item level.
I want same header item records should appear in second IDOC as well.
Regards,
Naren
hi,
use a SplitByalue.
regards
Mickael.
P.S: please, do not use term like "urgent", especially when you are only in development phase...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naren,
On which field basis ur creating IDOC. Please let me know the condition so that we can help.
Till then use splitby value change function to create IDOCs.
Thanks,
Enivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use Split by value node function combination , you can achive it easily.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.