cancel
Showing results for 
Search instead for 
Did you mean: 

ME22N Delivery Date Mass change for STO/PO

hossain_rajib55
Participant
0 Kudos
285

Dear Experts!!!

As per my business requirement i need to change delivery date for mass STO/PO using excel file to upload .I recorded BDC for ME22N. Problem is when uploaded its give a text Can delivery date be met?

What is the best way to solve this issues.

hossain_rajib55_0-1730292496332.pnghossain_rajib55_1-1730292523171.png

 

View Entire Topic
raymond_giuseppi
Active Contributor
0 Kudos

You've already been lucky that the Batch-Input works on ME22n, which is an Enjoy transaction...

  • Have you considered using a BAPI like BAPI_PO_CHANGE
  • Have you check box Simulate background Mode during recording
  • The message (ME 040) can be error, warning or ignored. Check Customizing options - Define Attributes of System Messages /or/ SM30 on V_T160M
hossain_rajib55
Participant
0 Kudos

@raymond_giuseppi  Box Simulate background Mode is not tick during recording.

Can i resolve the issue using 'BAPI_PO_CHANGE' BAPI for mass PO/STO number of X items.Please share your valuable comment.

raymond_giuseppi
Active Contributor
0 Kudos
If the message is a Warning, BAPI should sole the problem, else apply step 3.
hossain_rajib55
Participant
0 Kudos

@raymond_giuseppiissue is its can not get the line item number.In screenshot 2 is my uploaded file.

 

Recorded:

hossain_rajib55_0-1732189294295.png

Uploaded file:

hossain_rajib55_1-1732189331867.png

When Uploaded its get 00001 , 00002.... as line item.

hossain_rajib55_2-1732189508758.png

Need your guidance.

 

raymond_giuseppi
Active Contributor

It won't be at all easy to simulate the article drop-down box (AFAIK no menu option for 'go to item')

  • My original 'You've already been lucky that the Batch-Input works on ME22n, which is an Enjoy transaction...' was too optimistic - 217437 - ME21N/ME51N: Batch input and CATT not possible still apply
  • I would personally use BAPI_PO_GETDETAIL1 followed by BAPI_PO_CHANGE and BAPI_TRANSACTION_COMMIT.
  • If you have a severe allergy to BAPIs, you could look at the convert_po_item method of the lcl_po_item_navigation_view class defined in the MEGUI function group to convert the item number into a drop-down list value to replicate its behavior (...)