cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with FM BBP_PD_PO_GETDETAIL in smartform-Need it help us

Former Member
0 Kudos

Hi All,

We are using the FM "BBP_PD_PO_GETDETAIL " in the Smartform BBP_PO .Once the PO approval completed then in the 'OUTPUT PREVIEW" the data is showing perfectly .

But once we change the PO ,and approval is over . then if we see "OUTPUT PREVIEW" then the smart form output is showing the changed version data . but when we try to send the mail to vendor with

the PO as attachment then the FM "BBP_PD_PO_GETDETAIL" Will fetch the old value of the

new Guid.ie if the version is 2 it is taking the Guid of the Version 2 and fetching the Total value of the

Version 1.We checked this in the Debugger.

If we re trigger the vendor email after some time ie after 10-15 mintes it is working fine .

so what will be problem.

It is working in the OUTPUT PREVIEW but not in Vendor eMail .for same Smart form(BBP_PO)

Please help us it is needed.

Thanks

-


AJ

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

At first sight, one could tell it´s DB commit issue, because if it´s working after 10 minutes...

Anyway it´s really strange, could you please paste the code section where you call the FM?

Have you already tried to "play" with parameters like I_READ_FROM_ARCHIVE ?

Regards,

Federico

former_member206968
Active Contributor
0 Kudos

Hi,

It could be commit issue as pointed earlier by Federico. Try putting a Commit statement before calling this FM and check how it works. The other workaround may be to use FM 'BBP_OUTPUT_PO_GETDETAIL_SMART' to get the PO information.

Regards,

Sanjeev