Skip to Content
Author's profile photo Nandi Kishore

PO Creation Mobile Workflow Object

This blog shows PO creation in SAP from Mobile Workflow .

Table of Content:

i. BAPI creation

ii. MBO creation

iii. Mobile Workflow creation

iv. Execution

i. BAPI creation :

    Here structures YPOHD ( used for PO header info ) ,YPOITEM ( used for PO item info ) contains fields

   which are mandatory for creating PO from BAPI.

/wp-content/uploads/2012/11/s1_157102.jpg

/wp-content/uploads/2012/11/s2_157103.jpg

  Created an RFC enabled F.M internally calling BAPI ‘BAPI_PO_CREAT1’.

/wp-content/uploads/2012/11/s3_157104.jpg

/wp-content/uploads/2012/11/s4_157105.jpg

/wp-content/uploads/2012/11/s5_157106.jpg

ii. MBO creation :

   Mobile project ‘mypocr’ is created with MBO  ‘Mypocreate’ having datasource from backend SAP ,calling BAPI

   YBAPI_POCREATE.

/wp-content/uploads/2012/11/u1_157107.jpg

/wp-content/uploads/2012/11/u3_157108.jpg

/wp-content/uploads/2012/11/u5_157109.jpg

/wp-content/uploads/2012/11/u6_157110.jpg

   Execute BAPI with some deafult parameters.

/wp-content/uploads/2012/11/u7_157111.jpg

 

   Maintain mapping between Message attributes,removing other all mappings for Return table

/wp-content/uploads/2012/11/u8_157112.jpg

   MBO object will looks like below

/wp-content/uploads/2012/11/u9_157113.jpg

  Personalisation keys POHD(header info),POITEM( item info) are created which are of Transient type

/wp-content/uploads/2012/11/u11_157114.jpg

/wp-content/uploads/2012/11/u14_157115.jpg

    Personalization key mapping is maintained with load parameters of MBO.

/wp-content/uploads/2012/11/u15_157116.jpg

iii. Mobile Workflow creation:

 

   Mobile workflow ‘Pocreate’ is created having MBO placed in the form.

/wp-content/uploads/2012/11/u19_157117.jpg

/wp-content/uploads/2012/11/u20_157118.jpg

   Inserted a new screen ‘Item Info’ to maintain PO Item related entries

U20_1.jpg

   PO header related fields along with field keys are created in Start screen of the form

/wp-content/uploads/2012/11/u21_157120.jpg

   Menu item ‘Enter Item Info’ is created of type ‘OPEN’ navigating to screen ‘Item Info’ screen.

/wp-content/uploads/2012/11/u22_157121.jpg

    Item related fields along with keys are created in ‘Item Info’ screen.

/wp-content/uploads/2012/11/u23_157122.jpg

   Menu item ‘Create PO’ is maintained of type ‘Online Request’  for execution of MBO .

/wp-content/uploads/2012/11/u24_157123.jpg

/wp-content/uploads/2012/11/u25_157130.jpg

    Mapping is maintained between Personalization key fields with fields in Start,Item Info screen .

/wp-content/uploads/2012/11/u26_157131.jpg

  Mobile workflow looks like below

/wp-content/uploads/2012/11/u27_157132.jpg

iv. Execution:

  Execution in simulator

/wp-content/uploads/2012/11/u29_157133.jpg

/wp-content/uploads/2012/11/u30_157134.jpg

/wp-content/uploads/2012/11/u31_157135.jpg

/wp-content/uploads/2012/11/u32_157136.jpg

    PO display in SAP which is created above

/wp-content/uploads/2012/11/u33_157137.jpg

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Kishore,

      I tried the same method. But I couldn't able to map the personalization key for the Item details. Because of which the PO is not getting created.

      Please help me out.

      Author's profile photo Jitendra Kansal
      Jitendra Kansal
      Author's profile photo Former Member
      Former Member

      1:i have the same problem..? i couldn't able to map the personalization key for the Item details too.