cancel
Showing results for 
Search instead for 
Did you mean: 

UDF FOR POSTING DATE

Former Member
0 Kudos

Hi all,

i have a document of fileld(LFA1=LIFNR),IT SHOULD BE POSTED ACCORDING TO POSTING DATE (BKPF-BUDAT).i.e 22022008.

how to caheive this functionality.should we write UDF?

regards,

rao

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rao,

if you are looking for the following means

you have LIFNR value comming from source side and you want to get that number at receiver side by attaching the date as output.

If iam right

Use the Concat Standard function and mapp it

Regards

Seshagiri

Former Member
0 Kudos

Hi seshagiri,

the field lifnr has 7 line items ,these 7 line items should go in onedocument,and the posting date for this document is as per (BKPF-BUDAT).

Regards,

Rao

Former Member
0 Kudos

Hi rao,

According to me you don't need any UDF.

the field lifnr has 7 line items ,these 7 line items should go in onedocument

For this you have to use concat function.

posting date for this document is as per (BKPF-BUDAT).

For this you have to use IfWithOutElse function. By using Equals (Text category) and constant function.

Take care of CONTEXT. Put Context of all input parameters at upper node(same level).

and before map to Target field use SplitByValue function.

Regards,

Rohit

Reward points if useful.

Former Member
0 Kudos

Hi,

folow what rohit said,u will get it.

Edited by: so mu on Apr 29, 2008 1:12 PM

Former Member
0 Kudos

HI,

ALL THE LINE ITEMS SHOULD BE POSTED USING THE POSTING DATE.HOW TO ACHEIVE THIS.

regards,

rao

Former Member
0 Kudos

Hi,

1) Use Date(Input field) and one constant with value of date, as input to Equals(TEXT) function.

2) This output goes to IfWithOutElse function. 2nd input is your field which u want to map with target field.

2) Put context of Input field to root level or use RemoveContext after input field.

2) here your condition is checked.

3) Then concat it using UDF or by using concat function.

4) Put SplitByValue function then your target field.

May this solve your problem.

Regards,

Rohit.

Reward points if helpful.

Answers (1)

Answers (1)

former_member556603
Active Contributor
0 Kudos

Hello Rao,

Hope u r problem is solved go through this link,

Thanks,

Satya Kumar